WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Contact Form 7] Email failing to send with certain From settings. (6 posts)

  1. jimmah
    Member
    Posted 5 years ago #

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

    Cheers,
    James

  2. Okoth1
    Member
    Posted 5 years ago #

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

  3. yoshi_bros
    Member
    Posted 5 years ago #

    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', 'mail@mail.se');

    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.

  4. lindseytoth
    Member
    Posted 5 years ago #

    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!

  5. jmsearcy
    Member
    Posted 5 years ago #

    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!

    -Joe
    The PhenixbluE

  6. rollingstar35
    Member
    Posted 5 years ago #

    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.

    site: http://02ccf0d.netsolhost.com

Topic Closed

This topic has been closed to new replies.

About this Topic