Jump to content

Check is email piped to a script is an error message


Spogliani

Recommended Posts

Hello, everybody.

 

I'm trying to write my own mailing list script that receive an email and sends it to a list of addresses exactly as it received it.

 

I was able to do so but I thought that a problem might occur: if in the list of email addresses there is at leas one that does not exists when the scripts sends the mails it will get a Delivery failed reply, which will be an email for it and will be sent to the addresses list again (including the address that originally generated the error).

 

So I thought there was a way to identify error messages and ignore them but I haven't found any way to do that, can someone help me?

 

thanks  :confused:

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.