cforms II User Forum

Registration is currently disabled.


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
Error when pressing submit
June 28, 2007
3:53 am

Hello, can you help me with this ?

On submit, a green "ERR" message appears at the top of the form

I´m testing with

Browser: IE6
cForms version: 5
Other Plugins: NO
Wordpress: 2.0.2



June 28, 2007
6:58 am
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

If you see this error, the form and thus plugin usually works fine to the point of sending the email.

  1. please double check your Form Admin / Email Options settings thoroughly for correct email address(es)
  2. Try alternative admin email addresses
  3. Do you receive any emails from W (e.g. passwords, comments notifications)?
  4. Check your PHP servers mail() function
  5. Can you check your mail servers log files?

The issue has very likely to do with either a local mail server problem, a malformed email address or a general issue with the PHP function mail(); – if the latter is the case and your blog is using wp_mail(); you may want to try and replace all instances of @mail with wp_mail in cforms.php (search &replace).
You may want to check with your hosting provider first.



June 29, 2007
3:52 am

Hi Oliver…

I´ve tried those things but i couldn´t solve it.


  1. Everything is ok
  2. i changed the address but it´s the same
  3. I receive mails from WP without any problem
  4. I changed @mail for wp_mail but and now i don´t get any message, but the mail is still missing. If i disable ajax i get the same message "Error…."
  5. I can´t check the log

Any other idea ?



 I get this message

Warning: mail() [function.mail]: SMTP server response: 550 Sender address must be specified.

June 29, 2007
6:59 am
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

When and where do you get this warning message? After you changed to wp_mail?

You could try one more thing, and that is: search the hardcoded FROM: address, just look for "From:" and replace whatever comes after that with an email you're positive that your mail server knows and accepts:

Look for all:

$headers = "From: \\"".get_option('blo [....]  ">" . $eol; 

And change to,e g.:

$headers = "From: <>" . $eol;

I can also offer to take a quick look at your form configuration, just use the BACKUP button on the main admin page and reply to my email (just send you one).

June 30, 2007
7:02 pm

Excellent !!!! That´s the solution for this problem !

Here is what i did :

1) Keep the mail function (It wasn´t  necessary to change @mail for wp_mail )

2) Change $headers = "From: \\"".get_option('blo [....]  ">" . $eol; 


$headers = "From: <>" . $eol;


That solved the problem !!!!!

Thanks Oliver

June 30, 2007
7:16 pm
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005


In hindsight, I think I should've left the FROM: config field in the admin interface for better flexibility  – despite the risk that I may actually get even more support requests for mal-configured ones ;-)

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: 3757

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5355

Posts: 18732

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

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

Administrators: Oliver (6400), Nicky (3)