[erlang-questions] How to send email by using smtp.gmail.com?

CGS <>
Thu Nov 3 10:46:36 CET 2011


COMMAND = "openssl s_client -starttls smtp -crlf -connect 
smtp.gmail.com:587",
os:cmd(COMMAND).

CGS



On 11/03/2011 07:42 AM, flowerstars wrote:
> Hi guys,
>
> I am doing a project concerning sending emails by smtp.gmail.com. The
> command of connecting smtp server is like:
> "openssl s_client -starttls smtp -crlf -connect smtp.gmail.com:587". My
> question is how can I execute this command in Erlang? Or is there any other
> way to implement this function (sending email through smtp.gmail.com).
>
> Any help is appreciated. :)
>
> --
> View this message in context: http://erlang.2086793.n4.nabble.com/How-to-send-email-by-using-smtp-gmail-com-tp3984442p3984442.html
> Sent from the Erlang Questions mailing list archive at Nabble.com.
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list