Connection Error During Handshake With Smtp.gmail.com
Mercury Mail Transport System (group) (Entire Site) Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki Pegasus Mail & Mercury » Mercury Mail Transport System » Mercury Community Support » Re: FF error, need help FF error, need help Last post 05-12-2009, 23:44 by Wolfie. 8 replies. Sort Posts: Oldest to newest Newest to oldest Previous Next 05-11-2009, 14:45 Wolfie Joined on 05-11-2009 Points 110 FF error, need help Hi all, I have install the Mercury Mail Transport System and now I am trying to send a mail thru PHP script. I need it to write my master.But let's talk about the problem, now I am just trying to configure Mercury to send mail thru My ISP. I have entered correct Smart Host name in Mercury C SMTP client config but I get this message:Error FF service queue jobAnd after I am looking into my log file i have :E 20090511 143407 1680 Error connecting to mail.toya.net.pl.Can enybody help please ? :) Post Points: 20 Report abuse 05-11-2009, 14:57 Wolfie Joined on 05-11-2009 Points 110 Re: FF error, need help I got also this error in log fileE 20090511 145328 16fc Error connecting to mail.toya.net.pl Moreover I am getting some weird log file which is immposible to open directly , the name of this file is 09-05-11.loݨ and inside is :E 20090511 164043 960 Error connecting to mail.toya.net.pl.So I have two log files....., one is normal and second with weird ending, maybe the second file apears when I have push "poll now" button in Mercury SMTP client but I have no idea if it could cause this....I am green in servers so please be esy-going :) --------------------------------------------------------------------------------------------------------------I have turned on session login and I was trying to send mail thru gmail.In Mercury C I got :Error FF servicing queue jobConnection error during handshake with smtp.gmail.comAnd in the session log I have16:57:49.001: --- Mon May 11 16:57:49 2009 ---16:57:49.017: Connect to 'smtp.gmail.com', timeout 30.16:58:21.028: 8: Socket read timeout16:58:21.028: --- Connection closed normally at Mon May 11 16:58:21 2009. ---16:58:21.028: Eny ideas ?BTW, I have repaired the error with the wierd logfile name but I still have problem with connection..... Post Points: 20 Report abuse 05-11-2009, 17:08 Thomas R. Stephenson Joined on 03-23-2007 San Jose, CA Points 66,900 Re: FF error, need help Error FF service queue jobAnd after I am looking
2 Replies - 8595 Views - Last Post: 03 June 2009 - 09:22 PM Rate Topic: #1 peihwa330 D.I.C Head Reputation: 1 Posts: 62 Joined: 15-March 07 sending mail using gmail server Posted 02 June 2009 - 08:58 PM hi, i'm trying to have a mail function using gmail server but i keep getting the error : SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host. this is the code i got http://pmail.praktit.se/forums/thread/17032.aspx $mail->IsSMTP(); $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = "ssl"; // use ssl $mail->Host = "ssl://smtp.gmail.com"; // GMAIL's SMTP server $mail->Port = 465; // SMTP port used by GMAIL server $mail->Username = "[emailprotected]"; // GMAIL username $mail->Password = "mypassword"; // GMAIL password $mail->AddReplyTo("[emailprotected]","FirstName LastName"); // Reply email address $mail->From = "[emailprotected]"; $mail->FromName = "myname"; // Name to appear once the email is sent http://www.dreamincode.net/forums/topic/108259-sending-mail-using-gmail-server/ $mail->Subject = "testing 123"; // Email's subject //$mail->Body = "Hello World,
This is the HTML BODY
"; //HTML Body $mail->AltBody = "This is a test email"; // optional, comment out and test $mail->WordWrap = 50; // set word wrap $mail->MsgHTML($body); // [optional] Send body email as HTML $mail->AddAddress("[emailprotected]"); // email address of recipient //$mail->AddAttachment("files/files.zip"); // [optional] attachment $mail->IsHTML(true); // [optional] send as HTML if(!$mail->Send()) echo "Mailer Error: " . $mail->ErrorInfo; else echo "Message sent!"; } ?> ** Edit ** Is This A Good Question/Topic? 0 Back to top MultiQuote Quote + Reply Replies To: sending mail using gmail server #2 CTphpnwb D.I.C Lover Reputation: 3501 Posts: 12,506 Joined: 08-August 08 Re: sending mail using gmail server Posted 03 June 2009 - 05:28 AM From: http://www.community...e...3&cid=AF0CE $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = "ssl"; // sets the prefix to the servier $mail->Host = "smtp.gmail.com"; // sets GMAIL as the SMTP server Was This Post Helpful? 0 Back to top MultiQuote Quote + Reply #3 peihwa330 D.I.C Head Reputation: 1 Posts: 62 Joined: 15-March 07 Re: sending mail using gmail server P
van GoogleInloggenVerborgen veldenZoeken naar groepen of berichten