• Hi I am not able to send out emails from contact forms on the site. When I go to the Post SMTP log it gives me the message “Relaying disallowed as [email protected]

    My diagnostic test reads as HostName: tltennisandfitness.com
    cURL Version: 7.62.0
    OpenSSL Version: OpenSSL/1.1.0j
    OS: Linux web62.q6.sat.pressable.net 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64
    PHP: Linux 7.0.33 en_US.UTF-8
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes, zlib_encode=Yes
    WordPress: 5.0.3 en_US UTF-8
    WordPress Theme: Olsen
    WordPress Plugins: Akismet Anti-Spam, AMP, Duplicate Page, Duplicate Post, Jetpack by WordPress.com, MaxButtons, Timetable and Event Schedule, Ninja Tables, Post SMTP, Post Types Order, Simple Share Buttons Adder, Widget CSS Classes, WPForms Lite
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email
    WordPress phpmailer_init Action(s): pressable_enableSMTP, pressable_add_mail_tracking_header
    Postman: 1.9.6
    Postman Sender Domain (Envelope|Message): tltennisandfitness.com | tltennisandfitness.com
    Postman Prevent Message Sender Override (Email|Name): No | No
    Postman Active Transport: SMTP (smtps:plain://smtp.zoho.com:465)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 21 | 53

    Any suggestions?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    You configured your account on zoho as
    tltennisandfitness.com

    But you try to send email as
    [email protected]

    You can’t do that, the server identify you trying to be someone you are not.

    You need to set the from field in your forms as an email that exist on zoho and belong to tltennisandfitness.com

    If you still want to send “as” this gmail address, try this guide:
    https://support.google.com/mail/answer/22370

    Thread Starter janewp1971

    (@janewp1971)

    Hi – thanks for getting back to me but Im still confused. When using WP Forms, I tried putting the “From Name” set to “[email protected]”, which is the email set up with zoho. I then logged out of wordpress, filled out the form online and logged back in to wordpress. The mail log still said status “Relaying disallowed as [email protected].

    So then I tried just using a contact form from the site, vs using WP Forms, and when I do that, in the log it says “Sent to: [email protected]” (it lists the name twice) and then status is “Replaying disallowed as [email protected]

    I’m so confused.

    Hi

    Try to put this code inside your theme functions.php

    
    add_filter('wp_mail_from', 'change_contact_from_address', 999);
    function change_contact_from_address() {
         return '[email protected]';
    }
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t send any emails through wordpress’ is closed to new replies.