Support » Plugins » [Plugin: Contact Form 7] Email failing to send with certain From settings.

  • jimmah


    If I set the “From” field to [your-name] <[your-email]> as in the example form given after installation, all messages fail to send.

    If I change that to just the [your-email], it works fine.

    I’m running WordPress 2.7 on Windows Server 2003, using IIS’s SMTP server.

    I’ve worked around the problem for now by just using the email address in the from field, but it would be nice to be able to use the name in there too 🙂


Viewing 5 replies - 1 through 5 (of 5 total)
  • Okoth1


    I like the idea of this plugin and how it works, but I have the same problem. When you receive the e-mail after someone has sent it from the website, you don’t know who it is and what’s his e-mail address is.

    These things could be written in the body of the e-mail but I don’t know how to do that. Must be something simpel for a programmer though…

    There is a bug in php running on windows.

    The problem is the format in the header tags. The solution is to set the sender in the php.ini just before running the mail() function.

    ini_set(‘sendmail_from’, ‘’);

    past it in line 252 in the wp-contact-form-7.php file (version 1.9.2)

    The mail will still send with the information specified in the plugin settings.

    Hope this will help. It did for me.

    thank you thank you thank you thank you – THANK YOU! I have been looking EVERYWHERE to figure out why my contact form wouldn’t send and removing those “< >” from around [your-email] did the trick! I LOVE YOU!

    I was having the same problem on a WP install served on my Mac with Apache, so it’s not limited to just Windows. This fix worked for me as well…..seems like something easy the developer should take care of though!

    The PhenixbluE

    I dont know if I am posting this question in the right topic. I have installed contact form 7 but never is taht working. I am not getting the emails to the email address that I specified. I would be really grateful to you.

    Any help is really appreciated.


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Contact Form 7] Email failing to send with certain From settings.’ is closed to new replies.