• Resolved Nexus1901

    (@nexus1901)


    Hello,

    In my contact form in evolve theme I receive error message in my e-mail account.

    When a user fills the field “e-mail” with his mail <[email protected]> and sends a message it seems everything Ok but I receive “A message that you sent was rejected by the local scanning code that checks incoming messages on this system. The following error was given:

    Sorry, you don’t have permission to send email from this server with a header that states the email is from <domain.com>.

    I contacted with my hosting support and they said I need to set a FROM email to the one with my own domain’s extension, but I can’t change the configuration of the “From” e-mail.

    Can anybody help me?

Viewing 1 replies (of 1 total)
  • Thread Starter Nexus1901

    (@nexus1901)

    I’ve just fixed this problem in contact with my hosting provider editing the contact.php file, changing a “From” header for a “Reply-to” header:

    $headers = ‘Reply-To: ‘ . $name . ‘ <‘ . $email . ‘>’ . “\r\n”;

    if ($evolve_sent_email_header) {
    $headers .= ‘From: ‘ . $emailFrom . ‘ <‘ . $email . ‘>’ . “\r\n”;
    } else {
    $headers .= ‘Reply-To: ‘ . $emailTo . ‘ <‘ . $email . ‘>’ . “\r\n”;

    Hope this solution can help somebody else.

Viewing 1 replies (of 1 total)
  • The topic ‘Contact form problem with e-mails’ is closed to new replies.