• Resolved devontriley

    (@devontriley)


    Hi,

    When sending a test email I’m getting a 500 Ajax Error. I’ve installed Query Monitor and below is the error that I’m getting.

    Fatal error: Uncaught Error: Call to a member function getEmail() on null
    in /home/devontriley/public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanMessage.php on line 168

    This is the line in question:

    $filteredEmail = apply_filters( ‘wp_mail_from’, $this->getFromAddress()->getEmail() );

    So it seems $this->getFromAddress() is null. Why is this the case?

    I’d appreciate any help you can provide!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @devontriley,

    I hope you are doing well.

    Please provide us the diagnostic test report so we can look into it and get back to you.

    Thanks and regards,
    Support Team – WPExperts

    Thread Starter devontriley

    (@devontriley)

    Hi @smakazmi15,

    Thanks so much for reaching out!

    Here are the results from running the Diagnostic Test:

    Mailer: postsmtp
    HostName:?vinfen.org
    cURL Version: 7.68.0
    OpenSSL Version: OpenSSL/1.1.1f
    OS: Linux?208-117-82-118.cprapid.com?5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
    PHP: Linux 8.0.28 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
    WordPress: Multisite 6.1.3 en_US UTF-8
    WordPress Theme: Vinfen Child Theme
    WordPress Plugins: FacetWP, Office 365 for Post SMTP Extension, TranslatePress – Developer
    WordPress wp_mail Owner: /home/devontriley/public_html/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
    WordPress wp_mail Filter(s): TRP_Translation_Render->wp_mail_filter, wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
    WordPress phpmailer_init Action(s): fix_phpmailer_messageid
    Postman: 2.5.6
    Postman Prevent Message Sender Override (Email|Name): No | No
    Postman Active Transport: Office365 API (https://smtp.office365.com:443)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 23 | 0

    I also ran the Connectivity Test and these were the results:

    https://pasteboard.co/5ItmEhN9Y3hg.png

    Hi @devontriley ,

    I hope you are doing well.

    Are you using any other email log plugins besides Post SMTP?
    Do you have your email address entered or left blank in the message tab of the Post SMTP settings?

    Thanks and regards,
    Support Team – WPExperts

    Thread Starter devontriley

    (@devontriley)

    Hi @smakazmi15,

    Your message made me realize I may not have completed the settings in the primary Post SMTP plugin (I thought I just needed to configure the settings in the Office 365 addon). I used the setup wizard and filled in all the fields and it’s working now.

    Thanks for your help!

    Hi @devontriley,

    I hope you are doing well.

    We are happy to hear that your issue has been resolved. Thank you for updating us.

    Thanks and regards,
    Support Team – WPExperts

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Test Email Ajax Error Office365 Addon’ is closed to new replies.