Please replace the ??? with your data!
- Your URL: http://adaptivereuse.net
- The browser used: firefox 20011
- cforms version: cformsIIv7.3
- Your Wordpress version: 2.3.2
- wpPHPMailer installed
It's the usual again, it's obviously a great plugin and installation went perfectly and easily but no emails get through. Have double checked all addresses. Currently "from" field is firstname.lastname@example.org.
Other admin emails like comment notification emails get through OK but only if wpPHPMailer smtp is used, sendmail phpmail produces nothing. This was always the case.
Probably irrelevant but switching cforms external SMTP on results in instant fatal error Line 21 redeclaration problem and PHPmailer has to be uninstalled temporarily so I can get back in.
I've checked all other threads for solution, reset addresses and tried variations on from address, but all user option email settings and wpPHPmailer use email@example.com and it doesn't work as "from" address either.
March 6, 2005
It sounds very like a conflict between the default, WP's own phpMailer implementation and cforms.
Since you mentioned that the core PHP mail() feature has been disabled (by your provider I guess) you have no other choice but use cforms SMTP feature.
The big question is how to make the two work together nicely. Here is what I would, provided you do not need SSL authentication/encryption:
Comment out these lines in cforms.php:
require_once(dirname(__FILE__) . '/phpmailer/class.smtp.php');
If your WP install has been properly setup to already include (hence the redeclaration errors) phpMailer then it should work fine right away.
Of course cforms SMTP feature needs to be enabled and configured properly.
Thanks for your reply. I'm sure you are right about the problem. Ticking the box doesn't trigger fatal error any more but now it just goes through the motions but still no email nor even a "message sent" acknowledgment on the page.
I've tried all posible variations eg with smtp box ticked, without, port 25, 487 etc, with and without passwords, deactivated wpPHPMailer plugin but still no result.
March 6, 2005
OK, this has all got slightly weirder. Mostly it's all my fault but still perplexing.
I suddenly realised that due to various rearrangements of email addresses a year ago I had started forwarding all my emails through another one of my sites. I went and checked and all the cform emails were sitting there and had not been forwarded to my real address. However, all comment notification emails etc were being forwarded to my real address. I even uncommented the code that you had suggested I change and everything still worked fine except the emails still don't get to their final destination. I then tried changing the admin addresss in cform to my final address but those emails disappear entirely. The only explanation that I can see is either
a: something makes the other site refuse to send them on ie header part missing or something. The other site doesn't use wpPHPmailer and is on same server as adaptivereuse.
or b: my email won't receive them, its kmail with spam assassin but I have whitelisted both sites and I have sent test emails through them and thay have arrived. In other words only the emails generated by cform don't get through.
Any ideas? The logical solution is to drop the forwarding and send to my real address but those emails just seem disappear without trace.
Thanks for your help so far, it's been invaluable.
March 6, 2005
What would certainly help is a peek into your web/mail providers log files to see what happened to those emails (relayed and/or delivered or not).
Also, for testing, you could turn on auto confirmation and try with completely different user addresses (gmail etc.) to see if you get the auto conf at least.
Also tripple check your FROM address, oftentimes a reason for mail servers to not accept an email.
I'll send you an email offline.
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3730
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)