Support » Plugin: Contact Form 7 » Edit Contact Form 7 mail () function

  • I use your plugin Contact Form 7 on all my websites and it works properly, but today I have faced with the problem with my hosting provider.

    1) php mail () function on hosting works well
    2) hosting provider has blocked smtp ports and I can’t setup mail sending via SMTP.
    3) in WP php mail function works well (I have checked via WP MAIL SMTP)

    Trouble – CF7 not works with php mail ().
    I have also checked all issues from this page – link

    Of course my forms setuped properly (like in my other websites).

    The tips that has my hoster recommended me:
    – General – Settings – Email address must be webmaster@domain.com and this email must be in sender field in forms (done)
    – turn off all smtp plugins (done)
    – edit /wp-includes/pluggable.php (also done)
    search:

    // Set to use PHP's mail()
    
    $phpmailer->IsMail();

    replace

    // Set to use PHP's mail()
    
    $phpmailer->IsSendmail();

    How I can edit CF7 mail functions to be able receive mails from my website vi php mail() ?
    Thanks in advance)

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    – edit /wp-includes/pluggable.php (also done)

    Revert this change back to the original and try deactivating all other plugins and switching to the default theme (twentyseventeen).

    Thread Starter Phoenix

    (@azerphoenix)

    I have just reverted /wp-includes/pluggable.php and it still not working.
    Also I have turned off all other plugins & switched theme to default. And it still not working. I receive 504 gateway timed out only… Not other errors

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit Contact Form 7 mail () function’ is closed to new replies.