Skip Menu |

This queue is for tickets about the MIME-Lite CPAN distribution.

Report information
The Basics
Id: 13632
Status: new
Priority: 0/
Queue: MIME-Lite

People
Owner: Nobody in particular
Requestors: yair.lenga [...] citigroup.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.117
Fixed in: (no value)



Subject: Handling rejected email address by SMTP server
I'm using MIME::Lite to send an email address through a mail gateway to a list of users who have provided their Email addressses on a web site. The web site perform minimum verification on the email address. In some cases, the SMTP gateway refused to accept certain email addresses (restricted domains, etc). In this case, the "send" method will abort the whole message - without sending the messages even to the valid user. It will be very helpfull if there will be an setting that can be used "IngoreBadEmail => 1" - indicating that will pass the argument '{SkipBad => 1}' to the 'recipient' method of Net::SMTP. A better solution will also include returning the list of rejected recipients as a property, i.e. in $msg->rejected_email.