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
Get "ERR" on submision
June 25, 2007
7:30 pm
Ken
Guest

First – GREAT product.  Lot's of flexibility.  Really like it.

The problem is that on submit, I get a green "ERR" message at the top of the form.

 Background:

Browser: IE7
URL: http://www.lentzfamily.com/?page_id=6
cForms version: 5
Other Plugins:  http://noprerequisite.com/archives/category/techno…..irty-smtp/
Actual error: ERR

This is on a windows server that doesn't do a lot of php hosting.  I had a lot of trouble even getting the mail to work.  I finally got it working by using the plugin noted above which bypasses the servers builtin phpMailer and athenticates through an external SMTP.  I had originally tried the external SMTP route with the ShiftThis SMTP plugin but couldn't get it to work.  This one did and I can verigy that it is properly sending all comments and forgotten password type emails.

Will cForms work with an external SMTP?  Do I need to define that somewhere or will it pick up on whatever the rest of WordPress is using?

 Thanks! 

June 25, 2007
7:56 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Thanks for detailed info!

cforms utilizes the core PHP mail() command. Now if you have/had troubles with it then this is the source of the problem, ie. the ERR msg.

You can try to replace all @mail( … occurences in cforms.php with wp_mail( …, essentially just replace the "@" with "wp_" and see if it uses the plugin's mail feature. 

June 26, 2007
5:00 am
Carl
Guest

Hi,

I am getting the same error on a Fedora Core 4 server running Plesk 8.1.1 – I believe Plesk uses qmail as its mail sending program.

I got the same "Err" msg and just tried changing all the @mail() sections to wp_mail() and now I don't get an Err msg, however no email is sent, and the confirmation message does not show up -- the "Thank you for sending me a message"  (or whatever)

The tracker is showing all messages sent however I receive nothing in my inbox… any help on how I can make this work? It's really a neat plugin and I especially love the minimalist theme as it looks perfect with my wp theme.

If you want to check out and try to send me a msg http://www.carlhage.net/contact-me/ 

June 26, 2007
7:20 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Do you have access to the mail servers log files? It'd be helpful to understand why it doesn't relay the emails.  There are a number of possible reasons, but it's impossible to remotely gues…

  • your plugin wp_mail  command expects different parameters/format
  • FROM: address (wordpress@) is not accepted by mail server
  • admin email settings not configured properly
  • general mail server issues (security settings etc.)

From the front-end it all looks fine.

July 2, 2007
10:56 am
BebopBlues
Guest

I have the same problem. I couldn't get the builtin email server to work in wordpress, I installed that external SMTP server that Ken posted and now my emails work, but cforms does not. I get the same ERR error. I tried replacing @mail with wp_mail, but as Carl says, it doesn't show the ERR, it just clears the form after submitting. I checked my mail server logs, which is on the same server as Wordpress, and there's nothing there, meaning it doesn't show any activities. I checked all the cforms settings and they all seem correct.

I love this plugin and really hope I can get it to work. Oliver, if you need any additional info to solve this problem, just let me know.

July 2, 2007
5:45 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

BebopBlues, who is hosting your domain? I'm baffled that the core PHP mail() call is producing errors, since it essentially builds on the local sendmail() mail server/client.

Is this a Windows server environment?

The question is, why doesn't wp_mail() work when it in fact accepts the same inpu/parameters as mail(), so in theory it should work just fine.

I sent you an email… 

July 2, 2007
6:47 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

PS: For the sake of it, I installed the "Quick & Dirty SMTP" plugin and it did work to an extend. Emails were send right away (after changing @mail to wp_mail) but text only!

The above SMTP mail plugin by default sets the HTML to false which kills the HTML part, and it also expects the mail body to come without any structural (MIME) elements in the email body itself.

Long story short it generally works with SMTP mail plugins, but cforms is really designed to work with the core PHP mail() command (which really ought to work in every environment) – check with you provider as to why they don't support a local sendmail() / mail() feature. 

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
22 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: 3763

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5359

Posts: 18742

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

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

Administrators: Oliver (6400), Nicky (3)