Topic: attach_mailer_class error on Linux server (Read 491 times)
Google dot what?
Posts: 2
16 credits Members referred : 0
« on: Dec 19, 2007, 12:20:22 PM »
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.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6274
38470 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Dec 19, 2007, 12:29:48 PM »
Hi never used the class on a windows server
since the class is working woth the php mail() function it must be something with the headers (you're right)
Google dot what?
Posts: 2
16 credits Members referred : 0
« Reply #2 on: Dec 19, 2007, 01:21:16 PM »
Ours is an Windows server with Apache support. We can run the mailer class on this server. But the problem is on our clients Linux server. Just see the URL http://jatourism.com/attach_mailer_example.php
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6274
38470 credits Members referred : 374
Ours is an Windows server with Apache support. We can run the mailer class on this server. But the problem is on our clients Linux server. Just see the URL http://jatourism.com/attach_mailer_example.php
you need to show up some server error (log files or error reporting) the script works fine on all linux machines I tested