Hello,
I have been trying to use the mail controller to receive emails. When
attempting to execute the following command,
echo "Hello" | mail -s "subject" -S smtp=smtp://127.0.0.1:9000
send@localhost
I am presented with the following error,
Supervisor boss_mail_sup had child mail_controller started with
boss_mail_controller:start_link([{driver,boss_mail_driver_smtp}]) at
<0.145.0> exit with reason
{error,retries_exceeded,{network_failure,"My-computer",{error,econnrefused}}}
in context child_terminated
I have the following lines in my boss.config file.
{smtp_server_enable, true},
{smtp_server_address, {127, 0, 0, 1}},
{smtp_server_domain, "localhost"},
{smtp_server_port, 9000},
{smtp_server_protocol, tcp},
And I have the following function in the incoming mail controller
send(From, Msg) ->
log:log(Msg).
I'm a little stuck and would appreciate any help you could give me.
Thank you for your time,
Manuel Cherep.
--
You received this message because you are subscribed to the Google Groups
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit
https://groups.google.com/d/msgid/chicagoboss/67d21f58-201b-406f-998b-d95c2211af57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.