Sublime directory Surf the web anonymous Pagerank Monitor


attach_mailer_class error on Linux server

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.

olaf
Wed 19 December 2007, 11:29 am GMT +0100
Hi never used the class on a windows server :D

since the class is working woth the php mail() function it must be something with the headers (you're right)

try to get more errors and post them here

sajaycp
Wed 19 December 2007, 12:21 pm GMT +0100
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

olaf
Wed 19 December 2007, 12:40 pm GMT +0100
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

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional