Spogliani Posted October 11, 2009 Share Posted October 11, 2009 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 Link to comment https://forums.phpfreaks.com/topic/177314-check-is-email-piped-to-a-script-is-an-error-message/ Share on other sites More sharing options...
peter_anderson Posted October 11, 2009 Share Posted October 11, 2009 You could always require that the email subject has a certain term at the start of the subject? Link to comment https://forums.phpfreaks.com/topic/177314-check-is-email-piped-to-a-script-is-an-error-message/#findComment-934936 Share on other sites More sharing options...
Spogliani Posted October 11, 2009 Author Share Posted October 11, 2009 I've thought about that but it doesn't look like a good solution to me. It forces the users to change the subject even when replying (If you just hit the reply button the subject is Re:old subject) But thanks anyway Link to comment https://forums.phpfreaks.com/topic/177314-check-is-email-piped-to-a-script-is-an-error-message/#findComment-935044 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.