There is a problem in the host:smtp.gmail .com..i used swiftmailer to send mail..
because, gmail supports TLS support..but, when i run the code, i get the error:
"Connection to the given MTA failed. The Connection Interface said: Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP?"
anybody know how to configure TLS in php5?
User Profile
Collapse
-
hi,
thanks for your reply..
also, i am sorry that i din noticed the guidlines before posting my forum.
won´t continue in the future..Leave a comment:
-
hi,
thanks for immediate reply..
my php code is:[code=php]
require('phpmai ler/class.phpmailer .php');
if(isset($_POST['Submit']))
{
$mail = new PHPMailer();
$mail->IsSMTP(); // telling the class to use SMTP
$mail->SMTPAuth = "true";
$mail->Host="smtp.gma il.com";
$mail->From = "sxs@gmail.com" ;
$mail->AddAddress("su gunat97@gmail.c om");...Leave a comment:
-
smtp error in phpmailer
hi
i have the error when using phpmailer to send mail..
"error in sending mail: SMTP Error: The following recipients failed: me@domain.com"
if anybody knows the solution..pleas e help me..
thanks in advance,
sx216.
No activity results to display
Show More
Leave a comment: