in reply to Sending e-mail problem

Another solution would be to use Mail::Mailer. It doesn't get much easier than that.

davidj

Replies are listed 'Best First'.
Re^2: Sending e-mail problem
by Crackers2 (Parson) on Jun 24, 2004 at 15:11 UTC
    It seems to have the same problem as Net::SMTPthis problem though: there's no useful return codes. There's no way to distinguish between:
    • - server timeout
    • - bad/rejected sender
    • - bad/unknown target
    • - target user over quota
    • - temporary server error
    • - ...
    not to mention the fact that all of the recipient-related errors can occur for each RCPT TO: line in your request, so unless you get error codes for each of those you don't know which of your recipients will get the mail and which ones won't.
Re^2: Sending e-mail problem
by hsinclai (Deacon) on Jun 24, 2004 at 15:18 UTC
    Also note Mail::SendEasy, handles MIME and auth too.. very easy if not easier :) written by one of the saints..