Okay
  Public Ticket #2779991
Bug in WP-Mail
Closed

Comments

  •  5
    Patrick McCormick started the conversation

    The domain norvado.com uses a remote email server. WordPress is configured with the PostSMTP plugin to route all email through that remote server.

    Amelia is set to use WP-Mail.  After successfully sending emails for the last week, I began to see undelivered emails in the PostSMTP log showing that Amelia notifications are failing because the local mail server cannot relay for the domain norvado.com.  This means that, after functioning correctly, Amelia is now ignoring the settings in Post SMTP and is attempting to send email through the local server and ignoring the MX record for the domain, which also points to the remote server.


    This began to happen 4 hours ago and was working correctly prior to that time. No settings were changed.

  •  2,572
    Aleksandar replied

    Hello Patrick

    Since you're using WP Mail, that's actually WordPress's PHP method for sending the emails, and it's not related to Amelia.

    From your screenshot, I can see that not only Amelia's emails have this error, but also emails entitled "New submission from Contact Us", "Billing Code Request" and "New submission from Request a Billing Code". This is most likely caused by the server.

    Can you check with support of that remote email server? I reached out to our developers, and they say it's not related to Amelia.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  5
    Patrick McCormick replied

    The email log shows that email is being rejected by the local server at IP  67.20.61.27   This means that the website is sending the emails to the local server and overriding the email settings in the plugin Post SMTP, which is configured to use a remote email server (norvado-com.mail.protection.outlook.com).

    DNS includes an MX record of norvado-com.mail.protection.outlook.com.  That remote server is configured to receive and relay all emails from this server.  It requires no username and password but I cannot setup Amelia to use that server because Amelia does not allow me to set up SMTP email without an email server username and password. Why?

  •  5
    Patrick McCormick replied

    The default email account on the web server is filled with copies of the same error message:

    /bin/sh: https://norvado.com/wp-admin/admin-ajax.php?action=wpamelia_api: No such file or directory

  •  5
    Patrick McCormick replied

    It appears the error message was coming from a CRON job set up in cPanel.  I've removed that CRON job.  Does Amelia need any CRON job?

  •  5
    Patrick McCormick replied

    Please see the attached files.  I'm using WP Mail SMTP plugin and have it configured to send all email through SMTP server norvado-com.mail.protection.outlook.com.  When Amelia sends appointment notifications, its generating the error shown in the attached images, indicating that the email is being sent to the local email server rather than the specified server.

  •  2,572
    Aleksandar replied

    Hi again Patrick

    I apologize for the late response. Our developer says that, if you're using WP Mail in Amelia, no username and password is required. In Amelia's Notification settings, you only need to select WP Mail, and enter the email you'd like the emails to appear they've been sent from (it could be [email protected], and it would work).

    I checked again with another developer, and he, too, said that WP Mail is using WordPress's method for emails, and there's nothing in Amelia that'd prevent it from working, especially since it's been working before.

    Have you been able to resolve this over the weekend? If there's any access you can provide us where we would check the settings, we'd love to take a look, but it doesn't seem to be related to Amelia.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables