• Resolved dblinks

    (@dblinks)


    Post-smtp (your plugin) has sent over 30K emails for my client on this project over the last year.

    Lately, she asked for a solution to send updates to users from her dashboard on things like “new post” and “post updated”. She has a paid Sendgrid acct which can handle a lot of mail and I configured it to work for the transactional emails for her member site and woocommerce.

    I’m testing a “Notifications” Plugin in the repo. I like it for the authors no nonsense coding, but things are breaking in conjunction with post-smtp plugin. https://www.ads-software.com/plugins/notification/

    For some reason at the beginning it seemed to work fine after initial tweaking. Then we kept trying other types of notifications and I get the following in the post-smtp log in the dashboard. https://imgur.com/a/nlMGjnE – These are not in any php error log so its really difficult to track.

    1st status – Header keys cannot contain non-ASCII characters and empty spaces.

    2nd status – The provided authorization grant is invalid, expired, or revoked

    The notifications plugin has a few options when mail won’t send but not sure what they are trying (if anything) to add to the header. The setting that made it work on the first go round was to let it send when the cron fires instead of immediately. That’s about it.

    The 2nd status is really problematic. I tested turning off and on “Don’t let other plugins modify this” and “Stealth” mode. I cannot say for sure but it destroyed the Sendgrid API key in the process and I had to re-create since I could not even send a test afterward. PHPmailer does not work in this setup. All other email types send fine.

    I will copy the Notification Plugin author on this thread.

    If you think this is something I can fix with headers in the post-smtp plugin here I’d love to find your comments.

    Regards, Awesome plugin you have.
    Stu

    • This topic was modified 3 years, 6 months ago by dblinks.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Escalating to the developer for you, @yehudah. ??

    Kind Regards,
    Tim

    Thread Starter dblinks

    (@dblinks)

    Thanks Tim! @tneville

    Thread Starter dblinks

    (@dblinks)

    The other plugin author is looking into this. His plugin has a checkbox to “Allow to configure email headers” That was conflicting with Post-SMTP plugin. I turned it off and there is no more error.

    Marked Resolved

    thanks
    stu

    Thanks for the update @dblinks! ??

    Kind Regards,
    Tim

    Thread Starter dblinks

    (@dblinks)

    Actually it’s a bit deeperUpdate: While using the Sendgrid API we can send from any [email protected] using the Post-SMTP plugin from mydomain.com. It appears the Notification plugin only honors the admin email. I ran a set of tests on another domain of mine and in fact when I changed the admin email to the desired (from) email we set up in Post-SMTP it started sending notifications as expected. This is important information for your plugin users who may use the Notification Plugin from @kubitomakita

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Header Keys & Sendgrid API’ is closed to new replies.