sajaycp
Wed 19 December 2007, 11:20 am GMT +0100
Hello, thank you for the simple mail script. But we have a problem with the mailer class:
I can use the class successfully in our Windows web server, but can't with a Linux server. When we use it in our client's Linux server, an error message is displayed saying "Error while sending you mail". I also test the PHP mail() with the first 3 parameters. It works successfully. I think the problem is on the '$this->headers' variable in the mailer class.
Any help would be greatly appreciated.
I can use the class successfully in our Windows web server, but can't with a Linux server. When we use it in our client's Linux server, an error message is displayed saying "Error while sending you mail". I also test the PHP mail() with the first 3 parameters. It works successfully. I think the problem is on the '$this->headers' variable in the mailer class.
Any help would be greatly appreciated.