Jump to content


Photo

Handling bounced emails


  • Please log in to reply
No replies to this topic

#1 firstbishop

firstbishop
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 04 May 2006 - 08:11 AM

Hi

We have a PHP site that allows users to send email to large groups of users registered with our company. Usually these emails include attachments. The script that sends the emails picks up any invalid email addresses before sending mail, but once the mail has been sent, there are often literally hundreds of emails that are returned to the sender due to the recipient's server being unavailable for some reason or another.

This means that each time a batch of mails is sent out, the sender can expect a large number of bounced emails (each containing the original attachment) in their inbox.

Is there a way we can

1. Just note the addresses of those emails that fail (maybe store them in a database and generate a report later for the sender) rather than for each mail to be returned to the sender. OR
2. Get the mail script to keep trying the server for a while before eventually giving up. OR
3. If all else fails, at least ensure that the attachment is not included in the message that bounces back?

I'd really appreciate any pointers.

Thanks
Mike




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users