From: pharrington Date: 2009-12-16T13:20:20+09:00 Subject: Re: smtp check response 500 On Dec 15, 11:18 pm, pharrington wrote: > On Dec 15, 10:24 pm, Derek Smith wrote: > > > > > > > Anyone know what resp 500 means in smtp? > > > thank you! > > > CODE: > > > {snip} > > > def send_mail(from, to, subject, mesg) > > > mesgstr = < >     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","derekbellnersm...@yahoo.com","mongrel","mongrel") > > > ERROR: > > > /usr/local/lib/ruby/1.8/net/smtp.rb:679:in `check_response': 550 5.1.1 > > : Recipient address rejected: User unknown in local recipient > > table (Net::SMTPFatalError) > > -- > > Posted viahttp://www.ruby-forum.com/. > > I hate to be rude, but why are you asking this (and on a Ruby mailing > list none-the-less)? This isn't a ruby question, and "Recipient > address rejected: User unknown in local recipient table" is a pretty > cut and dry answer. Make sure the mail server on your machine is > properly setup for relaying, and if until to sort that out after > checking that documentation/researching, ask the community for your > mail server. *if unable to sort that out*