D
Derek Smith
Anyone know what resp 500 means in smtp?
thank you!
CODE:
{snip}
def send_mail(from, to, subject, mesg)
mesgstr = <<ENDMESG
From: #{from}
To: #{to}
Subject: #{subject}
#{mesg}
ENDMESG
require 'net/smtp'
Net::SMTP.start("localhost") do |smtp|
smtp.send_message mesgstr, from, to, subject, mesg
end
end
{snip}
send_mail("localhost","(e-mail address removed)","mongrel","mongrel")
ERROR:
/usr/local/lib/ruby/1.8/net/smtp.rb:679:in `check_response': 550 5.1.1
<mongrel>: Recipient address rejected: User unknown in local recipient
table (Net::SMTPFatalError)
thank you!
CODE:
{snip}
def send_mail(from, to, subject, mesg)
mesgstr = <<ENDMESG
From: #{from}
To: #{to}
Subject: #{subject}
#{mesg}
ENDMESG
require 'net/smtp'
Net::SMTP.start("localhost") do |smtp|
smtp.send_message mesgstr, from, to, subject, mesg
end
end
{snip}
send_mail("localhost","(e-mail address removed)","mongrel","mongrel")
ERROR:
/usr/local/lib/ruby/1.8/net/smtp.rb:679:in `check_response': 550 5.1.1
<mongrel>: Recipient address rejected: User unknown in local recipient
table (Net::SMTPFatalError)