Hi,

  In mail "Problem with sending a mail"
    Dirk Einecke <dirk.einecke / gmx.de> wrote:

> I've this code:

> Net::SMTP.start(server = 'pop3.we-devedge.de', port = 25) { 
> |smtp|smtp.sendmail(msg, 'dirk / we-devedge.de', 'dirk.einecke / gmx.de') }

> But I get a error 500

You must send correct HELO domain (default is "localhost.localdomain").
Give 3rd argument of Net::SMTP.start:

  Net::SMTP.start('pop3.we-devedge.de', 25, 'pop3.we-devedge.de') {|smtp|
    smtp.sendmail(msg, 'dirk / we-devedge.de', 'dirk.einecke / gmx.de')
  }


Regards,
Minero Aoki