WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form
[resolved] Email doesnt send. Possible bug? (3 posts)

  1. goldkenn
    Member
    Posted 1 year ago #

    Hi,
    Is this a bug?
    I've installed the plugin, like it but it doesnt seem to send mails. I added some echo lines into the code and realised that every time the form tries to send the email, the session variable cntctfrm_send_mail checks true at line 914 and the function returns true without even reaching the mail body construction code.

    I confirmed the above by checking with my server mail logs - no mails were sent.

    Help please? Thanks!

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

  2. goldkenn
    Member
    Posted 1 year ago #

    Update: The plugin works now, but after I added the line

    $_SESSION['cntctfrm_send_mail'] = false;

    after line 751. I don't like this, but it solves the problem temporarily. Maybe the authors can look into this?

  3. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello goldkenn,

    We check it, and if the user has already went to the form and it was already sent, then we add $_SESSION['cntctfrm_send_mail'], so that it will be impossible to resend the same form.
    When you go to the page again, the data is cleared.
    Please update the plugin to the latest version.

    Kind regards,
    Support

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.