WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
No emails sent (6 posts)

  1. pkiula
    Member
    Posted 2 years ago #

    Is the author listening?

    There seem to be hundreds of messages here, with the problem that the contact form is not sending email.

    Yes, comments etc emailing is working.

    I am on a very typical WHM/Cpanel type setup. In the WHM --> Tweak Settings, it's specified that emails from "nobody" will not be allowed to be sent. This should not matter as I am specifying a "FROM" in the form settings.

    Not sure how this dumb plugin on sending mail, but nothing is being sent.

    Looking at the Exim log, it seems it says this:

    2012-03-01 02:45:45 1S30ht-0005xg-S0 <= nobody@host.domain.com U=nobody P=local S=815 id=e802c260bdf6d4e875834bfc2e807076mysite.com T="[your-subject]" for adminmysite.com
    2012-03-01 02:45:45 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1S30ht-0005xg-S0
    2012-03-01 02:45:45 1S30ht-0005xg-S0 ** admin mysite.com R=checkspam2: Mail sent by user nobody being discarded due to sender restrictions in WHM->Tweak Settings

    Even if I allow "nobody" user, which is insecure, it sends me emails that look like this:

    From: [your-name] <[your-email]>
    Subject: [your-subject]

    Message Body:
    [your-message]

    What drivel is this? Aren't those square brackets supposed to be replaced by the appropriate values? Why is it sending me this email literally?

    Questions:

    1. How do I send email even with the option setup to "disallow email from nobody user"?

    2. How do I make sure the plugin is replacing the square brackets as it is supposed to?

    Thanks.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    There seem to be hundreds of messages here, with the problem that the contact form is not sending email.

    And there are even more sites using the plugin without any problems. I'm one of those users and I've installed this plugin on dozens of sites.

    What drivel is this? Aren't those square brackets supposed to be replaced by the appropriate values?

    I suggest you start reading up on WordPress shortcodes.

  3. pkiula
    Member
    Posted 2 years ago #

    I suggest you start reading up on WordPress shortcodes.

    Thanks for the help.

    Anything particular I should read up on? The plugin suggests that it will automatically send the mails with those shortcodes filled out when the form is submitted.

    Here's what I am doing:
    http://i.imgur.com/1JhFB.png

    The FAQ mentions that this is all I need to do. Or am I missing something? Do I need to create separate page with these shortcodes?

    Appreciate pointers.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Start by reading the plugin's documentation: http://contactform7.com/docs/

  5. pkiula
    Member
    Posted 2 years ago #

    Based on the link here:

    http://contactform7.com/tag-syntax/

    My screenshot is absolutely correct.

    Anything specific you have to suggest?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    No - that should work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic