Jump to content

Handling bounced emails


firstbishop

Recommended Posts

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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.