20 August 2006
This post may be outdated due to it was written on 2006. The links may be broken. The code may be not working anymore. Leave comments if needed.
I use GMail in my daily life. and the GMail SMTP is using TSL

The Email::Send seems not to support TSL. and Catalyst::Plugin::Email is using Email::Send.


I haven't noticed until today that Ricardo SIGNES has applied this patch as Email::Send 2.180.
So I removed the link in fayland.googlecode.

so I create a patch to Email::Send::SMTP. http://fayland.googlecode.com/svn/trunk/MISC/patches/EMail_Send_SMTP.patch
but the module Net::SMTP::TLS breaks some function of Net::SMTP (like don't return a true value of ->mail, ->to only support one scalar and no param, etc.)
I sent the patch to the author of Email::Send, but I'm not sure whether he will accept it because of the Net::SMTP::TLS.

the yml config of Catalyst::Plugin::Email should something like
- smtp.gmail.com
- tls
- 1
- Hello
- 'www.fayland.org'
- Port
- 587
- User
- '[email protected]'
- Password
- yourpassword
header => [
From => '[email protected]',
To => '[email protected]',
Subject => 'Test Foorum Email'
body => 'OK',

Have fun!

blog comments powered by Disqus