I've had good success with Mail::Sendmail .. just fill in the SMTP information the same as you do for a mail client, and it just works.
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
| [reply] |
For sending email I can recommend Mail::Sender. But you need a smtp-server to send it. It doesn't matter, whether this smtp-server is on your server or on an other server.
Mail::Sender also provides auth-methods.
To validate an email-address you should use Mail::RFC822::Address or any suitable module. | [reply] |
| [reply] |
Could you please explain how checking for 'valid email address characters' (I take it you refer to RFC822) can prevent your box to become a spam relay?
Even if you do check, your box could be used as a spam relay, but at least you know the email addresses are 'valid' accoring to the RFC822. Preventing the user to specify the recipient of the email at all seems a better approach to me.
--
b10m
All code is usually tested, but rarely trusted.
| [reply] |