feyd | Please use Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi!
I'm also trying to use "customer-smtp.one.com" and phpmailer!
My code is:
(.....)
Code: Select all
$mail->IsSMTP();
$mail->Host = 'customer-smtp.one.com';
$mail->Port = 2525;
$mail->SMTPAuth = true;
$mail->Username="djdrivers.net";
$mail->Password="xxxxxxx";
$mail->Mailer = "smtp";
$mail->AddAddress("xxxx@gmail.com");
(.....)
if(!$mail->Send()){
//DEBUG
echo "Mailer Error: " . $mail->ErrorInfo ."<br><br>";
//END DEBUG
}
And the error response (when I have te web page hosted at
http://www.one.com) that I get is:
Mailer Error: SMTP Error: Could not connect to SMTP host.
and when I have the web page at localhost, over windows XP with wamp5 server running (it's a combination of apache, php modules and mysql to run under windows) I get the following error:
Mailer Error: SMTP Error: The following recipients failed:
xxxx@gmail.com
I'm not able to make it work properly, nor in localhost (wamp5) or the page of
http://www.one.com (which is the smtp that I'm trying to use)
Can any one help me? please?
Thanks in advance
feyd | Please use Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]