Q: Mail are not sent, why?
A1: Check if all parameters are correct and check if the smtp works in another program like an email client
A2: If you are using SSL/TLS you need a PHP with openSSL support, see requirements
Q: How can I check if I have openSSL support installed on my server?
Create inside your web server a php file with inside this:
<?php phpinfo(); ?>
then visit with your browser that page and check “Registered Stream Socket Transports” and see if you have “tls” and “ssl” protocols.
Q: Why I got duplicates of mails? It’s clearly a Cimy Swift SMTP issue!
A: If the sender and the destination addresses are the same probably you are receiving one mail for the sender and one mail for the destination and you are thinking it’s a duplicate, but it’s not true and it’s not “clearly a Cimy Swift SMTP issue”.
For example GMail always does like that.
Q: When feature XYZ will be added?
A: I don’t know, remember that this is a 100% free project so answer is “When I have time and/or when someone help me with a donation”.
Q: Can I help with a donation?
A: Sure, visit the donation page or contact me via e-mail.
Q1: I have found a bug what can I do?
Q2: Something does not work as expected, why?
A: The first thing is to download the latest version of the plug-in and see if you still have the same issue.
If yes please write me an email or write a comment but give as more details as you can, like:
- Plug-in version
- WordPress version
- MYSQL version
- PHP version
- exact error that is returned (if any)
after describe what you did, what you expected and what instead the plug-in did ![]()
Then the MOST important thing is: DO NOT DISAPPEAR!
A lot of times I cannot reproduce the problem and I need more details, so if you don’t check my answer then 80% of the times bug (if any) will NOT BE FIXED!




123 Responses
« Previous 1 2 3 Next »
I get this error:
Fatal error: Uncaught exception ‘Swift_ConnectionException’ with message ‘The SMTP connection failed to start [tls://smtp.gmail.com:465]: fsockopen returned Error Number 110 and Error String ‘Connection timed out” in /home/iraqoilr/public_html/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift/Connection/SMTP.php:309 Stack trace:
#0 /home/iraqoilr/public_html/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift.php(216): Swift_Connection_SMTP->start()
#1 /home/iraqoilr/public_html/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift.php(101): Swift->connect()
#2 /home/iraqoilr/public_html/wp-content/plugins/Cimy_Swift_SMTP/swift_engine.php(69): Swift->__construct(Object(Swift_Connection_SMTP))
#3 /home/iraqoilr/public_html/wp-content/plugins/Cimy_Swift_SMTP/cimy_swift_smtp.php(184): wp_mail(‘vmas@upi.com’, ‘Cimy Swift SMTP…’, ‘This is a test …’)
#4 /home/iraqoilr/public_html/wp-includes/plugin.php(311): st_smtp_options_page(”)
#5 /home/iraqoilr/public_html/wp-admin/admin.php(55): do_action(‘st_smtp_option in /home/iraqoilr/public_html/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift/Connection/SMTP.php on line 309
I should have everything I need:
http://www.iraqoilreport.com/php_info.php
victar:
which version of the plugin are you using? Are you sure your connection actually works?
Connection timed out seems that gmail smtp server is not responding or there are some other prolems
I was struggling to get this plugin to work for hours… I couldn’t get php to set tls and ssl in the Registered Stream Socket Transports. This is what happened to me and may be able to solve some of your problems…
I’m running WordPress on Apache2 and PHP5.
First put the following code in a php file:
Should only be a few lines down where it lists your RSSTs. Mine originally said only tcp & udp, but this plugin requires tls and ssl to run. If you don’t have PHP recognizing these then you won’t be able to use these secure connections or send email.
I then read that you had to uncomment the php.ini file extension–> extension=php_openssl.dll
But here is where I was getting tripped up. I was editing the wrong php.ini file. Go back to your phpinfo() and look for: Loaded Configuration File. (Should be above the RSSTs.) You need to edit this one! I was mistakenly editing the one in my php folder, and not my apache/bin folder.
After editing the correct php.ini file, and restarting Apache, this plugin worked like a charm. Hope this helps out!
Angelo:
all correct, but are all related to your particular php installation, are you using Ubuntu for example?
So all these informations are not included in the readme file because everyone should know how to deal with their own servers
Hi,
I am also using Register Plus to fill in the form and send an authentication mail to the registrant. I am getting this error on using the form to register. Any idea why?
There was a problem communicating with SMTP: There was a problem reading line 1 of an SMTP response. The response so far was:
[]. It appears the connection has died without saying goodbye to us! Too many emails in one go perhaps? (fsockopen: #0)
Fatal error: Uncaught exception ‘Swift_ConnectionException’ with message ‘There was a problem reading line 1 of an SMTP response. The response so far was:[]. It appears the connection has died without saying goodbye to us! Too many emails in one go perhaps? (fsockopen: #0) ‘ in /home/fhlinux144/s/shri.co.uk/user/htdocs/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift/Connection/SMTP.php:250 Stack trace: #0 /home/fhlinux144/s/shri.co.uk/user/htdocs/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift.php(306): Swift_Connection_SMTP->read() #1 /home/fhlinux144/s/shri.co.uk/user/htdocs/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift.php(231): Swift->command(‘QUIT’) #2 /home/fhlinux144/s/shri.co.uk/user/htdocs/wp-content/plugins/Cimy_Swift_SMTP/swift_engine.php(247): Swift->disconnect() #3 /home/fhlinux144/s/shri.co.uk/user/htdocs/wp-content/plugins/register-plus/register-plus.php(1805): wp_mail() #4 /home/fhlinux144/s/shri.co.uk/user/htdocs/wp-login.php(243): wp_new_user_notification(‘info@shri.co.uk in /home/fhlinux144/s/shri.co.uk/user/htdocs/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift/Connection/SMTP.php on line 250
While testing the plugin, it sent the mails without a problem…Is there a conflict with Register Plus? Any help is greatly appreciated.
Hi,
An update. I tested the Plugin once more after I got this error and get the same error again. Is it the plugin or is the server that is going wrong?
My apologies. I’m running WordPress on Windows XP and XAMPP 1.6.7.
I’m kind of learning how WordPress works as I go along, but it seemed like people were having the same problems that I was having, so hopefully my example on Windows will assist others with what they should look for on different systems.
On another note, I have a separate php script (it doesn’t interact with WP at all) on my domain… how do I call the wp_mail function? I tried doing: include(‘…/cimy_swift_smtp.php’); but it’s not working (I wasn’t counting on it since it’s just a crude method…)
This is the error:
Fatal error: Call to undefined function get_option() in C:\….
Any insight? Thanks again Marco!
ashish:
as the FAQ says I need more information:
php? openssl enabled?
wordpress?
plugin?
webserver?
smtp server?
Please read the FAQ before posting, they are so short!
Angelo:
you cannot use my plugin without WP because all plugins aren’t standalone, they uses WP functions as well.
Cimy Swift SMTP is a bit of an exception and maybe with few modifications you can adapt and let it be standalone, but don’t ask me, I will not do for free
has anyone been able to use this with gmail? I constantly get an error
wp 2.6.1
php 4.3?
cimy 1.2.0
Fatal error:
Uncaught Error of type [swift_connectionexception] with message [The SMTP connection failed to start [tls://smtp.gmail.com:465]: fsockopen returned Error Number 110 and Error String ‘Connection timed out’]
@0 require_once() in /home/revivalb/public_html/wp-admin/options-general.php on line 2
@1 do_action() in /home/revivalb/public_html/wp-admin/admin.php on line 55
@2 call_user_func_array() in /home/revivalb/public_html/wp-includes/plugin.php on line 311
@3 st_smtp_options_page() in on line
@4 wp_mail() in /home/revivalb/public_html/wp-content/plugins/Cimy_Swift_SMTP/cimy_swift_smtp.php on line 184
in /home/revivalb/public_html/wp-content/plugins/Cimy_Swift_SMTP/Swift/php4/lib/Swift/Errors.php on line 99
How can I use this plugin to work with dd-formmailer plugin for wordpress to send email.
Carl Thomas:
timeout means there are some server problems generally, strange here works perfectly with gmail and WP 2.6.1 but I have PHP 5.2.4
Vivek:
did you try? What error did you get?
Hello guys… i dont what to do with this.. any suggestions.. ???
Message failed to send to editor@pak1stanfirst.com from The Editor Message failed to send to editor@pak1stanfirst.com from The Editor Message failed to send to editor@pak1stanfirst.com from The Editor
Warning: Cannot modify header information – headers already sent by (output started at /home2/pak1stan/public_html/wp-content/plugins/swift-smtp/st_swift.php:115) in /home2/pak1stan/public_html/wp-includes/pluggable.php on line 770
Ali:
as always provide more info! Plugin version? WP? PHP?
Sorry,
PHP is 5.2.6
WP is 2.6.1
Plug in 1.0 Send email via SMTP (Compatible with GMAIL) By Marcus Vanstone.
When i test the plug in its working fine… and it did send me one or two new emails but my contact form and subscribe 2 emails new user registration every thing is down.. no emails for any of the above..
Thanks for you time and help
Ali:
This plugin is named “Cimy Swift SMTP”, latest ver is 1.2.0 and is based on the plugin you are talking about that instead is named
“Swift This”, but has many bugfixes over it.
So please if you want to ask support download our plugin if you stick with the other one go to their homepage.
My name is Marco Cimmino not Marcus Vanstone!!!
Hi,
Ashish here again. The last time I wrote, the problem resolved itself – dont know how.
Now I am using it for another site and while testing, get the following error:
Fatal error: Uncaught exception ‘Swift_ConnectionException’ with message ‘The SMTP connection failed to start [tls://smtp.googlemail.com:465]: fsockopen returned Error Number 110 and Error String ‘Connection timed out” in /home/sapling/public_html/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift/Connection/SMTP.php:309 Stack trace: #0 /home/sapling/public_html/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift.php(216): Swift_Connection_SMTP->start() #1 /home/sapling/public_html/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift.php(101): Swift->connect() #2 /home/sapling/public_html/wp-content/plugins/Cimy_Swift_SMTP/swift_engine.php(69): Swift->__construct(Object(Swift_Connection_SMTP)) #3 /home/sapling/public_html/wp-content/plugins/Cimy_Swift_SMTP/cimy_swift_smtp.php(184): wp_mail(‘asganu@yahoo.co…’, ‘Cimy Swift SMTP…’, ‘This is a test …’) #4 /home/sapling/public_html/wp-includes/plugin.php(311): st_smtp_options_page(”) #5 /home/sapling/public_html/wp-admin/admin.php(55): do_action(‘st_smtp_op in /home/sapling/public_html/wp-content/plugins/Cimy_Swift_SMTP/Swift/php5/lib/Swift/Connection/SMTP.php on line 309
I am using WP 2.6.2, with the plugin version 1.2. smtp server is gmail, with port 465 and TLS.
Thanks
Ashish
hi,
An update. I tried sending the mail through a non-gmail SMTP server, and was successful.
Regards,
Ashish
ashish:
I think you’re using the wrong gmail server: smtp.gmail.com is the good one.
let me know
Hi Marco,
I tried the smtp.gmail.com server before this. That too didn’t work But the problem is resolved now.
Here is what was happening: I have pointed my MX records to google apps, but somehow due to some server configuration, the program tried to deliver the mail internally. Once I changed both – the smtp server to a non-sapling.in address, and similarly the address for delivery, the test worked fine…its a funny funny world.
Thanks Marco.
Ashish
Ciao, sto provando il tuo plugin (avevo in precedenza installato ShiftThis.net | Swift SMTP) su WordPress MU. Con entrambi mi arriva la mail di prova, ma con nessuno dei due, quando provo a registrare un nuovo utente, ricevo l’email di attivazione. Mi puoi dare qualche consiglio? Grazie
Scusa ora funziona…è hotmail che non è molto rapido
Grazie per il plugin!
I’m using WordPress 2.7 and PHP 5, and whenever I would try to edit the information from the dashboard I would get a “page does not exist” error. I fixed this by editing the code so the form’s action was
<form method=”post” action=”?page=swift_smtp”>
rather than
<form method=”post” action=”&updated=true”>
This worked fine, but is it a problem that it didn’t work correctly the way it was written originally?
thedude:
do you use IIS by Microsoft?
Hi Marco!
Thanks for the plugin! It works with my WP 2.7, Php 5.2.5 and “Contact Form 7 (v1.9.1) By Takayuki Miyoshi”. (latest versions)
Marco, since upgrading to WP 2.7 I don’t see any cimy smtp email options in the post edit page… I upgraded to 1.2.3 and still no email options in the write dialog.
I wrote two new posts and neither went out through the email, and edited one of them and still no email (no option to email). What am I doing wrong?
Dngrsone:
Cimy Swift SMTP add a new menu under Options, not under Post/Page
Marco, you say Options; the only ‘options’ I see is ‘Screen Options’ and it is not there. Or are you talking about the subpage under ‘Settings’?
I recall being able to, from the edit post page, select whether or not I wanted to email the post. This was before I upgraded to 2.7.
Dngrsone:
maybe is settings I don’t recall, just where all blogs’ options are.
Marco, My Settings have not changed, I did a test from the Settings menu and the test email works, but a posted page does not get sent out.
As a matter of fact, where’s the mailing list at? Maybe that’s why things aren’t being mailed out, there’s no mailing list?
Okay, my problem is solved… I was using Post Notification plugin with your plugin, and the Post Notification plugin was turned off– nothing wanting to mail stuff out so Cimy Swift wasn’t dong anything.
Sorry for bothering you, and thank you for your help!
Hello, Im using WP 2.7.1 and PHP 4.3.4
This is strange. The test send works. I get a test email to myself in my AOL mailbox. im using my aol because Ive had way too many problems sending using my hosted gmail.
but if I test send using ANY other email
I get the message
Message failed to send to jgrove@grovegfx.com from Object
or any other email.
This is the closest Ive gotten to sending email from WP in the past 2 days. I know im close. any help would be greatly appreciated
jonnyboy1969:
I need _exact_ error copy pasted, not a summary of it to understand
Hi Marco,
Thanks for the great plugin. I’m using WP 2.7.1, the latest version of Cimy Swift SMTP (1.2.3?), and PHP 5, on a windows hosting server, running IIS 7.
I recently changed my email server from godaddy’s default server over to gmail. After changing all my mx records, and updating the cname’s, Cimy is still not working. Here’s the error code I’m getting when I test it.
Fatal error: Uncaught exception ‘Swift_ConnectionException’ with message ‘The SMTP connection failed to start [tls://smtp.gmail.com:465]: fsockopen returned Error Number 10060 and Error String ‘A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ” in D:\Hosting\3499209\html\wp-content\plugins\cimy-swift-smtp\Swift\php5\lib\Swift\Connection\SMTP.php:309 Stack trace: #0 D:\Hosting\3499209\html\wp-content\plugins\cimy-swift-smtp\Swift\php5\lib\Swift.php(216): Swift_Connection_SMTP->start() #1 D:\Hosting\3499209\html\wp-content\plugins\cimy-swift-smtp\Swift\php5\lib\Swift.php(101): Swift->connect() #2 D:\Hosting\3499209\html\wp-content\plugins\cimy-swift-smtp\swift_engine.php(69): Swift->__construct(Object(Swift_Connection_SMTP)) #3 D:\Hosting\3499209\html\wp-content\plugins\cimy-swift-smtp\cimy_swift_smtp.php(203): wp_mail(‘jbloch@becketfu…’, ‘Cimy Swift SMTP…’, ‘This is a test …’) #4 [i in D:\Hosting\3499209\html\wp-content\plugins\cimy-swift-smtp\Swift\php5\lib\Swift\Connection\SMTP.php on line 309
Thanks for any help you can give.
WmRom:
are you sure you have ssl support enabled? Checked username and password?
I just checked, and both SSL and TLS support is enabled. I triple-checked the username and password, and they’re both fine.
WmRom:
I never tested the plug-in on IIS and neither I’m interested doing it, so I’m sorry I have no other ideas.
I was having the same frustrating trouble with GMail Apps, so I went around the problem. My web host let me setup webmail using an identical email address as in my GMail Apps, then used the web host’s SMTP settings and BOOM, it works perfect. When you reply to the message, it goes to GMail.
I have multiple WP installs on my domain for different uses (subdomains), and it has worked great each time using different addresses! Hope that helps.
I successfully tested the plugin with WP 2.7, Php 5, IIS and Gmail. I have an error if I try to use smtp.live.com, what I obtain is a
Fatal error: Uncaught exception ‘Swift_BadResponseException’ with message ‘Expected response code(s) [250] but got response [530 5.7.0 Must issue a STARTTLS command first]‘
Cosa può essere?
Vengomatto:
I have no idea, but soon I will release a new version with the new Swift Mailer 4.0 hope it will fix many problems here.
Hi Marco,
when I activate the plugin, I get the following error:
Fatal error: Call to undefined function admin_url() in…wp-content/plugins/Cimy_Swift_SMTP/cimy_swift_smtp.php on line 104
I’m on wp 2.2.3
Greetings
Rita
Rita:
you are right, seems I broke compatibility with v1.2.3 with old WordPress, I guess you have to revert to Cimy Swift SMTP 1.2.2 or update your WordPress installation.
Marco, thank you very much for your fast help, I use 1.2.2 now and it works!
Many Greetings
Rita
Hi Marco,
I made a website for a friend and used your plugin. Everything has been working fine for 10 months, but as of last week there are suddenly problems with mailing: whenever a form is used you get a blank screen after clicking the submit button and no email is sent.
Error log says:
[Wed Jul 29 04:22:39 2009] [error] [client 86.92.176.139] PHP Fatal error: Uncaught exception ‘Swift_ConnectionException’ with message ‘The SMTP connection failed to start [mail.happyfamilylife.nl:25]: fsockopen returned Error Number 111 and Error String ‘Connection refused” in /home/margrdar/public_html/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift/Connection/SMTP.php:309\nStack trace:\n#0 /home/margrdar/public_html/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift.php(216): Swift_Connection_SMTP->start()\n#1 /home/margrdar/public_html/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift.php(101): Swift->connect()\n#2 /home/margrdar/public_html/wp-content/plugins/cimy-swift-smtp/swift_engine.php(69): Swift->__construct(Object(Swift_Connection_SMTP))\n#3 /home/margrdar/public_html/wp-content/plugins/idealshop/merchants/factuur.php(173): wp_mail()\n#4 /home/margrdar/public_html/wp-includes/plugin.php(339): factuur_merchant(‘patriciarits@gm…’, ‘Informatie over…’, ‘Beste Patricia,…’)\n#5 /home/margrdar/public_html/wp-settings.php(493): do_action(”)\n#6 /home/margrdar in /home/margrdar/public_html/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift/Connection/SMTP.php on line 309, referer: http://www.happyfamilylife.com/producten/winkelwagen/
The same problem with lost password and registration.
The settings for Cimy Swift SMTP are basic: regular email, port 25, no SSL/TSL, always overwrite option unchecked (checking it made no difference).
I’m using:
WP 2.7.1
Cimy 1.2.3
Linux OS
Apache 2.0.63
PHP 5.2.5
I’ve currently de-activated your plugin. I’m hoping that with the above info you may be able to tell me how I can get your plugin to function again.
Thanks very much!
Patricia
Patricia:
Sounds as though your host is blocking connections. This could be via firewall rules or I’ve also had reports that PhpSuExec can cause issues creating sockets and processes. I’d ask your host if they can shed any light on why you’re seeing this.
Tried using localhost?
Great plugin! Though, maybe, heavy enough.
Dear ,
I got a message when i’m sign-up or send test mail using Cimy_Swift_SMTP v1.2.3. But mail send successfully. pls help me How to avoid this warning messages from my site.
Warning: stream_set_timeout() has been disabled for security reasons in /home/vol9/xtreemhost.com/xth_3929088/htdocs/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift/Connection/SMTP.php on line 246
Warning: getmypid() has been disabled for security reasons in /home/vol9/xtreemhost.com/xth_3929088/htdocs/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift/Message.php on line 169
Warning: stream_set_timeout() has been disabled for security reasons in /home/vol9/xtreemhost.com/xth_3929088/htdocs/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift/Connection/SMTP.php on line 246
TEST EMAIL SENT – Connection Verified.
If you don’t receive the e-mail check also the spam folder.
Noushad:
interesting, I will check, thanks.
Hi Marco,
The same problem get in when user activate his mail..But Account Activated. Please check and retrieve immediately
Warning: stream_set_timeout() has been disabled for security reasons in ../htdocs/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift/Connection/SMTP.php on line 246
Warning: getmypid() has been disabled for security reasons in ../htdocs/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift/Message.php on line 169
Warning: stream_set_timeout() has been disabled for security reasons in ../htdocs/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift/Connection/SMTP.php on line 246
Warning: stream_set_timeout() has been disabled for security reasons in ../htdocs/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift/Connection/SMTP.php on line 246
Warning: getmypid() has been disabled for security reasons in ../htdocs/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift/Message.php on line 169
Warning: stream_set_timeout() has been disabled for security reasons in ../htdocs/wp-content/plugins/cimy-swift-smtp/Swift/php5/lib/Swift/Connection/SMTP.php on line 246
Your account is now active!
Your account is now activated. Login or go back to the homepage.
Noushad:
I think I need to implement a new version of the plug-in using the new version of Swift Mailer 4.0.x
Also I need to suppress all errors messages and write them in a log for example, to not spam registrations.
wp: 2.8.4 php: 5
plugin installed, test connection is successful. Now, how can i check for new mails? which php file to use? thank you.
« Previous 1 2 3 Next »
Leave a Comment