• Resolved sy007

    (@sy007)


    We are using the latest mailpoet v3 plugin and an external SMTP. The SMTP is working as this has been tested and we can see the account sends.

    When trying to send a test email in the mailpoet settings we are seeing a 404 error POST in the console from /wp-admin/admin-ajax.php

    When I change the sending method to ‘Your Web host/web server’ it sends. As soon as we change this to SMTP it doesn’t and returns the 404 error message.

    We have checked the SMTP with https://www.gmass.co/smtp-test and it sends using the SMTP hostname username port and password.

    I think it’s the admin-ajax.php error causing the issues – is it an authentication issue possibly?

    Any help or advice would be appreciated.

    • This topic was modified 1 year, 7 months ago by sy007.
Viewing 6 replies - 1 through 6 (of 6 total)
  • You may have to roll-back to 4.12.0 fix the problem before the sending problem is fixed with a new version.

    Thread Starter sy007

    (@sy007)

    Thank you @qdhd99

    Mailpoet is using Version 4.12.1?and Mailpoet premium is Version 4.12.0

    Are you saying roll back Mailpoet to 4.12.1 to 4.12.0?

    Thread Starter sy007

    (@sy007)

    I have rolled back to 4.12.0 and I am still seeding the same error.

    @sy007 – you may have a different issue and you may have to undo those changes you made.

    Rolling back to 4.12.0 (non-premium) solved the issue I had with sending (which only popped up after upgrading to 12.1 this morning). Wish MailPoet would had done much better testing, especially dealing with sending.

    Plugin Support Ojoma a11n

    (@geraltrivia)

    Hello there @sy007 ,

    Thank you for reaching out to us.

    The 404 error you are seeing in the console when trying to send a test email through MailPoet using SMTP may indicate a problem with the URL path of the admin-ajax.php file. Here are some possible solutions to try:

    1. Check your permalink settings: Make sure that your WordPress permalink settings are set to “Post name” or another option besides “Plain”. This can sometimes cause issues with the URL path.
    2. Check for plugin conflicts: Deactivate all plugins except for MailPoet and see if the issue persists. If it doesn’t, then reactivate each plugin one by one until you find the one causing the conflict.
    3. Check your .htaccess file: If your site is hosted on an Apache server, make sure that your .htaccess file is not blocking the admin-ajax.php file.
    4. Check your server logs: Check your server logs to see if there are any errors related to the admin-ajax.php file or the SMTP configuration.
    5. Check your MailPoet settings: Double-check that your SMTP hostname, username, port, and password are all entered correctly in the MailPoet settings.

    It’s also possible that there is an authentication issue with your SMTP server. Make sure that you have entered the correct login credentials and that your server allows SMTP connections from your site’s IP address. You may want to contact your SMTP provider for assistance with this.

    If none of these solutions works, kindly let us know.

    Have a great day.

    Plugin Author Bruna a11n

    (@bruberries)

    Hi @sy007,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Mailpoet SMTP admin-ajax 404’ is closed to new replies.