dfried
12-03-2003, 08:12 PM
I am running Vbulletin on a shared server. I don't have acess to the e-mail logs and my e-mail functions are not working. I have contacted my server tech people and they suguest using a differnt Php mail function than the one in Vbulletin.
When I run the test with this one from the server it works, when I run the test with the standard script it goes no where. I can not see the logs so I am stuck.
So How do we integrate the Mail::factory method into the vbmail function in
functions.php?
In vBulletin wrapper for PHP's 'mail()' function in the file functions.php,
the function vbmail uses
mail($toemail, $subject, $message, trim($headers));
our provider indicates we should code to
create the mail object using the Mail::factory method, like this:
$params['host'] = 'mail.wel-metcamps.com';
$mail_object =& Mail::factory('smtp', $params);
thanks
David
When I run the test with this one from the server it works, when I run the test with the standard script it goes no where. I can not see the logs so I am stuck.
So How do we integrate the Mail::factory method into the vbmail function in
functions.php?
In vBulletin wrapper for PHP's 'mail()' function in the file functions.php,
the function vbmail uses
mail($toemail, $subject, $message, trim($headers));
our provider indicates we should code to
create the mail object using the Mail::factory method, like this:
$params['host'] = 'mail.wel-metcamps.com';
$mail_object =& Mail::factory('smtp', $params);
thanks
David