cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
no emails
February 5, 2008
2:20 am
Ian Miliss
Guest

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 wordpress@adaptivereuse.net.

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 info@adaptivereuse.net and it doesn't work as "from" address either.

February 5, 2008
7:28 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

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.phpmailer.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.

February 5, 2008
11:48 am
Ian Miliss
Guest

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.

 

February 5, 2008
7:51 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

I just tried and got the "success message" – did you get the email?

Also, you are positive that you do receive mails from WP (using the wpPHPmailer plugin)?

If so, replicating these config settings to cforms SMTP settings should do the trick.

February 7, 2008
1:48 am
Ian Miliss
Guest

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.

February 7, 2008
7:52 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

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.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
24 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3739

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5339

Posts: 18706

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)