Help with Wt::Mail
Added by Sergey Perunov about 12 years ago
Hi all,
I'm reading the documentation to Wt::Mail, and I am trying to find how you would authenticate against the SMTP server; examples seemt o only connect to localhost.
Would I be able to connect to a gmail account for example? Is there a tutorial/example showing how to do that?
Replies (3)
RE: Help with Wt::Mail - Added by Koen Deforche about 12 years ago
Hey Sergey,
Indeed, Wt::Mail is mostly limited to connecting to a local SMTP server.
You can usually work around this limitation by installing a local SMTP server that relays further upstream.
See for example, using sendmail:
http://cri.ch/linux/docs/sk0009.html
Or using postfix:
http://ubuntulinux.co.in/blog/ubuntu/set-up-postfix-for-relaying-emails-via-gmail-smtp-server/
Note, you do not want to create an open mail relay, but simply one that relays mails from localhost.
Regards,
koen
RE: Help with Wt::Mail - Added by Sergey Perunov about 12 years ago
Thanks Koen, that looks simple enough.
Would this functionality be something that is eventually desirable (should I file a ticket somewhere)?
RE: Help with Wt::Mail - Added by Koen Deforche about 12 years ago
Hey Sergey,
Please do. It is something that we should do (although not for the next release).
Regards,
koen