Monday, September 24, 2012

[Rails] Re: Email with out SMTP Settings is it possible

KUL KING <kulking370@gmail.com> wrote:

>So I was right that we have to use SMTP to send email. Whether it is from
>localhost or gmail. Am I right?

SMTP = Simple Mail Transfer Protocol. That's the language you use to
talk to another computer to send mail. Usually, you talk to a server
whose job is to take mail from you and send it on to its destination.
If it can't contact the destination machine the first time it tries,
it will wait a while and try again. It won't give up until a few
iterations of this.

You can bypass that and have your program directly contact the
destination machine. In that case, you have to parse the address to
get the domain name, look up the MX record in the DNS for that domain
(not the normal A record), then establish contact with the remote
machine, etc. Using an SMTP relay server is much simpler.

--
Tim Slattery
Slattery_T@bls.gov

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate