Fsockopen Returned Error Number 111 And Error String Connection Refused
Contents |
number 111 to send mailAgile Board ExportXMLWordPrintableBetter Excel (All fields)Workflow Report (Excel)Worklog Report (Excel) Details Type: Bug Status: Closed Resolution: Canceled Affects Version/s: None Fix Version/s: None Security Level: All-users Labels: None Description My online shop does not send mails, I do not know since when. The error is: Error: failed to connect to server: connection refused (111) Please check your configuration The SMTP connection failed to start [ssl://smtp.calabozo.es:465]: fsockopen returned Error Number
Errno 111 Connection Refused
111 and Error String ' Connection refused' Configuration SMTP is good, use port 587 instead of 25. Do not use SSL. I don't
Gmail Smtp
know since when fails. I have the module "Bankwire with discount" (bought in addons.prestashop.com) installed and configured. Why it uses port 465, if I have it set to 587? With port 25 also gives error. Can anyone help me? Activity Ascending order - Click to sort in descending order All Similar Issues Comments History Activity Transitions Hide Permalink Pedro added a comment - 19/Dec/11 8:09 PM Does anyone know anything about this error? Show Pedro added a comment - 19/Dec/11 8:09 PM Does anyone know anything about this error? Hide Permalink Pedro added a comment - 03/Jan/12 5:42 PM After many tests, the problem is that Swift Mail does not allow characters such as # or @ in the e-mail account password. I've deleted the characters # and @ password, and it works. Thank you very much for your help. If do you not need already, take off the accounts and passwords of mail, the shop, and ftp access that I created for you. ¡Solved! Show Pedro added a comment - 03/Jan/12 5:42 PM After many tests, the problem is that Swift Mail does not allow characters such as # or @ in the e-mail account password. I've deleted the characters # and @ password, and it works. Thank you very much for your help. If do you not need already, take off the accounts and passwords of mail, the shop, and ftp access that I created for you. ¡Solved! Hide Permalink Damien Metzger added a comment - 21/Dec/12 2:55 PM Hello, We released PrestaShop 1.4.8 and 1.4.9 since this issue has been submitted. The bug has probably been fixed either in one of those versions or in the next major version: 1.5.3. If you still reproduce the issue in the 1.4.9, please submit it again, we will gladly check it out. Regards, Show Damien Metzger added a comment - 21/Dec/12 2:55 PM Hello, We released PrestaShop 1.4.8 and 1.4.9 since this issue has been submitted. The bug has probably been fixed either in one of those versions o
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Swift Mailer Error up vote 2 down vote favorite 1 Im using the following code to send a http://forge.prestashop.com/browse/PSCFI-4453 message: try { require_once "lib/Swift.php"; require_once "lib/Swift/Connection/SMTP.php"; $smtp =& new Swift_Connection_SMTP("mail.somedomain.net", 587); $smtp->setUsername("username"); $smtp->setpassword("password"); $swift =& new Swift($smtp); //Create the sender from the details we've been given $sender =& new Swift_Address($email, $name); $message =& new Swift_Message("message title"); $message->attach(new Swift_Message_Part("Hello")); //Try sending the email $sent = $swift->send($message, "$myEmail", $sender); //Disconnect from SMTP, we're done $swift->disconnect(); if($sent) { print 'sent'; } else { print 'not sent'; } } catch (Exception $e) { echo"$e"; } The http://stackoverflow.com/questions/2595153/swift-mailer-error issue is that it is working fine on my local server (which my xampp server) but not working when the file is uploaded on the real server. It throwing this error: 'The SMTP connection failed to start [mail.somedomain.net:587]: fsockopen returned Error Number 110 and Error String 'Connection timed out'' Please what should I do to correct this error. Thanks for reading php swiftmailer share|improve this question asked Apr 7 '10 at 19:07 Selom 24961119 Is your host name correct? –Abs Apr 7 '10 at 20:15 Thanks, my hostname is correct as everything works fine while the script is still on my computer (local apache server). Any suggestion please? –Selom Apr 7 '10 at 21:48 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote Make sure that the smtp server domain is valid. Trying pinging it to confirm a response. You may also try trace route to see if any of the switches are returning slow responses. share|improve this answer answered Apr 7 '10 at 20:12 Brant 1,164717 Thanks for answering, the domain is valid and it works when the script file is still on my local apache server. I also tried to ping the server domain using ping mail.somedomain.com, il works perfectly. Please i
index All times are UTC - 5 hours Information The requested topic does not exist. Board index All times are UTC - 5 hours Powered by phpBB Forum Software © phpBB Group
since Oct 2012 · 5 posts Group memberships: Members Show profile · Link to this post Subject: Sending email error, need help! Hi everyone, I'm trying to get my swiftmailer set up correctly and when it tries sending emails, it's throwing this error. ++ Log level changed to 4 ++ Forcing ESMTP mode. HELO is EHLO. ++ Forcing ESMTP mode. HELO is EHLO. ++ Trying to connect... ++ Trying to connect to SMTP server at 'mail.COMPANYcom:25 << 220 [MAIL.SERVER.COM] Microsoft ESMTP MAIL Service, Version: 6.0.3790.4675 ready at Thu, 18 Oct 2012 16:55:34 -0400 >> EHLO [192.168.220.239] << 250-[MAIL.SERVER].com Hello [192.168.220.239] 250-TURN 250-SIZE 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING 250-VRFY 250-X-EXPS GSSAPI NTLM LOGIN 250-X-EXPS=LOGIN 250-AUTH GSSAPI *** 250-AUTH=LOGIN 250-X-LINK2STATE 250-XEXCH50 250 OK ++ SMTP extension 'TURN' reported with attributes []. ++ SMTP extension 'SIZE' reported with attributes []. ++ SMTP extension 'ETRN' reported with attributes []. ++ SMTP extension 'PIPELINING' reported with attributes []. ++ SMTP extension 'DSN' reported with attributes []. ++ SMTP extension 'ENHANCEDSTATUSCODES' reported with attributes []. ++ SMTP extension '8bitmime' reported with attributes []. ++ SMTP extension 'BINARYMIME' reported with attributes []. ++ SMTP extension 'CHUNKING' reported with attributes []. ++ SMTP extension 'VRFY' reported with attributes []. ++ SMTP extension 'X-EXPS' reported with attributes [GSSAPI, NTLM, LOGIN]. ++ SMTP extension 'X-EXPS' reported with attributes [LOGIN]. ++ SMTP extension 'AUTH' reported with attributes [GSSAPI, NTLM, LOGIN]. ++ SMTP extension 'AUTH' reported with attributes [LOGIN]. ++ SMTP extension 'X-LINK2STATE' reported with attributes []. ++ SMTP extension 'XEXCH50' reported with attributes []. ++ SMTP extension 'OK' reported with attributes []. ++ Trying to authenticate with username 'MAILALERTS@DOMAIN.com'. ++ No authenticators loaded; looking for defaults. ++ Authentication mechanism 'CRAM-MD5' attached. ++ Authentication mechanism 'LOGIN' attached. ++ Authentication mechanism 'PLAIN' attached. ++ Trying 'LOGIN' authentication... >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> cmFkaWFuc2UuYWxlcnRzQHJhZGlhbnNlLmNvbQ== << 334 UGFzc3dvcmQ6 >> YWRtaW4xMjM= << 235 2.7.0 Authentication successful. ++ Success! Authentication accepted. andi (Administrator) 2012-10-19, 13:45 #2 User title: splitbrain Member since May 2006 · 2993 posts · Location: Berlin Germany Group memberships: Administrators, Members Show profile · Link to this post I just released a new version of the p