Sto cercando di inviare la posta dal server MS Exchange, ma sto ottenendo errore comeAUTH non disponibile (Net :: SMTPAuthenticationError) in Ruby 1.9.2
`check_auth_response ': 503 # 5.3.3 AUTH non disponibile (Net :: SMTPAuthenticationError)
Il codice che ho usato per inviare la posta è
require 'net/smtp'
require 'mail'
smtp = Net::SMTP.new('mycompanydomain',25)
smtp.start('mycompanydomain', '[email protected]', 'pwd',:plain) do |smtp|
# code to send mail
end
Nota: funziona con account Gmail, ma non per conto dell'azienda. Qualsiasi aiuto sarebbe utile.