"Ah, so this is happening on another server. " Both - mine and others.
"Does that server send emails OK other than by your script?" Others - not known - the reason they use the generator (mostly) is because they dont know how to write the code themselves. But their webserver is running PHP and they have no reason to believe that it will not work. They say there is no error but I know that display errors is probably off. "Are you using the mail() function or Manuel Lemos's classes and do you check the return value in your script to show whether it was delivered OK." mail() function - I am going to look at Manuels classes today. on the signup page to use the generator (where I sometimes have non-receipt of confirmation mail by user probs) - yes I check the return value on the generated scripts used on other peoples servers - no - I will change that for the next version of the generator re testing "From your server or theirs?" Using my server "Check the logs of the server configured in php.ini to send the email (assuming you are using the emails services of the computer on which the php script is run)." Dont think they will have access to these logs (most of them - me too - are running on providers servers not their own) "Have you got "Return-Path" configured in all cases. The bounce messsage you posted would have been sent to you via this header." my signup page - no - I have configured reply-to instead which I thought was sufficient - I will change that generated scripts - no - I will change that for the next version I need to change a few things I can see that. At least now I will have more chance of finding out why and when I get complaints about non-receipt of emails I am better informed and in a better position to answer. Thank you very much for your help Chris. Debbie ----- Original Message ----- From: "Chris Hewitt" <[EMAIL PROTECTED]> To: "Debbie Dyer" <[EMAIL PROTECTED]> Sent: Tuesday, October 01, 2002 10:56 AM Subject: Re: [PHP] Re: mail headers & filtering > Debbie Dyer wrote: > > >Hi Chris > > > >They are having the problem receiving the mail sent by the script not > >sending. > >They go to my site and generate a form mailer using their email ad > >They upload it to their webserver > >Then they email me saying that they are testing the mailer out on their site > >and it seems to work but they never receive the email that it sends > > > Ah, so this is happening on another server. Does that server send emails > OK other than by your script? Are you using the mail() function or > Manuel Lemos's classes and do you check the return value in your script > to show whether it was delivered OK. I suspect you don't. > > > > >Always when I test the scripts (with my email ad) there is nothing wrong > >with it and I receive the mail > > > From your server or theirs? > > >So I don't know what to tell them apart from it must be filtering, nor do I > > > Check the logs of the server configured in php.ini to send the email > (assuming you are using the emails services of the computer on which the > php script is run). If a linux box then its usually in the file > /var/log/maillog. There will be information in there as to whether the > email was sent without error. The sending will be to the recipient's > mail host or dns MX record. The logs will indicate whether it got there > without error or not. Whether the user can pick up mail from their mail > host is another matter and not reported. At a minimun, the domain the > email is originating from should be in both forward and reverse dns. > > > > >know how to attempt to fix the problem. Maybe this problem of 'lost mail' is > >more noticeable to me because a few hundred a week use this generator so we > >are talking about running these scripts on a lot of different websites using > >a lot of different mailservers/mailboxes. > > > Yes, quite possibly. smtp does not (I don't think) guarantee delivery > but you should get either a MAILER_DAEMON bounce message to the address > you configure in the "Return-Path" header or a line in the smtp server > log to say why it has not been sent without error. Have you got > "Return-Path" configured in all cases. The bounce messsage you posted > would have been sent to you via this header. > > > > >>From now on when I get these complaints I will ask them for the name of the > >mailserver that sends the mail - maybe then I can get back to you for some > >tests. > > > Yes, good idea. Check it is in both forward and reverse dns. > > Regards > > Chris > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php