Web hosting Forums and discussions
Forums for Web hosting discussions: If you have any queries or questions related to web hosting services, place them here and get answered by our experts and customers. We invite you to even participate and provide solutions or answers that are known to any queries placed in this forums. We will get answer for all the queries and questions raised here.
Php mailer error after hosting
Please contact support
--------------------
hi i tried running my php mailer function from local host and everything s working fine, but when i host it to server its giving me an error
"2014-07-17 13:53:48 SMTP ERROR: Failed to connect to server: No connection could be made because the target machine actively refused it. (10061) SMTP connect() failed. Message could not be sent.Mailer Error: SMTP connect() failed."
im using class.phpmailer new version and setting r
$mail = new PHPMailer;
$mail->IsSMTP();
$mail->Host = 'mail.<domainname>.in';
$mail->SMTPAuth = true;
$mail->SMTPDebug = 1;
$mail->Username = 'info@<domainname>.in';
$mail->Password = 'mypassowrd';
$mail->setFrom('info@<domainname>.in', 'First Last');
--------------------
hi i tried running my php mailer function from local host and everything s working fine, but when i host it to server its giving me an error
"2014-07-17 13:53:48 SMTP ERROR: Failed to connect to server: No connection could be made because the target machine actively refused it. (10061) SMTP connect() failed. Message could not be sent.Mailer Error: SMTP connect() failed."
im using class.phpmailer new version and setting r
$mail = new PHPMailer;
$mail->IsSMTP();
$mail->Host = 'mail.<domainname>.in';
$mail->SMTPAuth = true;
$mail->SMTPDebug = 1;
$mail->Username = 'info@<domainname>.in';
$mail->Password = 'mypassowrd';
$mail->setFrom('info@<domainname>.in', 'First Last');
2 responses Add Yours