Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #389048

    Dear Kriesi Team,

    I’m facing an issue with the contact form: its not sending any messages at all.
    I’ve tryed different kind of mail address and they all dont receive any messages.

    I’ve also tryed Contact Form 7 and it works perfect. The mails do get send, and I receive them directly.

    Do you maybe know how I can solve this issue?

    FYI: I’m using Enfold as theme.

    Thanks in advance.

    Special K

    #389439

    Hey Special K!

    I sent you a test email. Double check your email address for typos and check your spam folder also.

    If the emails are not being received then this is usually a problem with your server so contact your hosting provider and let them know about this.

    If they have an SMTP server then you can use this plugin, https://wordpress.org/plugins/wp-mail-smtp/, to switch WordPress from using PHP mail to SMTP mail.

    Regards,
    Elliott

    #389458

    Elliott,

    Thanks for your quick respond. I’m using hotmail as email, so I’m not sure if this is a PHP or SMTP.
    Tonight I will try your plugin and see if it works.

    Thanks again!

    Special K

    #389759

    Hi!

    If that doesn’t work try adding this to theme / child theme functions.php:

    function change_cf_from() {
    	return "wordpress@YOURWEBSITEHERE.com";
    }
    add_filter('avf_form_from', 'change_cf_from', 10);

    Cheers!
    Josue

    #390340

    Hi josue,

    Where exactly do I need to put that code? Could you maybe mention the page or something. I’m not that kind of an expert in WordPress thats why I’m asking.

    Thanks in advance.

    Special K

    #390346

    Hi,

    Go to Appearance > Editor > Theme Functions (functions.php) and paste the code at the end.

    Regards,
    Josue

    #390426

    Hi Josue,

    The website is now down because of a fatal error:

    Fatal error: Cannot redeclare change_cf_from() (previously declared in /home/c100099/domains/bandplus.nl/public_html/wordpress/wp-content/themes/enfold/functions.php:516) in /home/c100099/domains/bandplus.nl/public_html/wordpress/wp-content/themes/enfold/functions-enfold.php on line 1276

    This is a customer site and I cant leave it like this. Could you please support me on how to solve it?

    Many thanks!

    Special K

    #390434

    Hi Josue,

    Good news, the site is now online…that was very scary. I have fixed it via FTP.

    I dont like changing things in functions.php, it gives a lot of stress.

    I’ve added it as follow:

    function change_cf_from() {
    return ” (Email address hidden if logged out) “;
    }
    add_filter(‘avf_form_from’, ‘change_cf_from’, 10);

    I’ve also tryed the plugin WP MAIL SMTP, it keeps giving me error after adding settings and send a test mail.

    I really dont know what I’m doing wrong. Or what the issue is.

    If you could support me, I would be very grateful.

    Thanks in advance.

    Special K

    #390439

    Hi Josue,

    The plugin is working now and the contact form on the site is now also sending messages.

    So the issue has been solved. I had to select TLS encryption and after that it all worked out.

    I’m sorry for stressing out here.

    Thank you a lot for your support!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘contact form not sending message’ is closed to new replies.