• Resolved Phil Emery

    (@noise)


    I set up a Gmail SMTP which works great, but the “From” email still says “bert@domain.com” even though I’ve changed the from and reply fields in the set-up page to be “info@domain.com”.

    When I do a test from the email tester plugin, the from says “bert@domain.com”

    How do I change the from email?

Viewing 1 replies (of 1 total)
  • Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hi @noise ,

    What you’re seeing is actually expected behavior when using the Gmail API.

    When you authenticate Post SMTP with Gmail API using bert@gmail.com, Google’s API checks the From address against the list of “Send mail as” aliases configured for that Gmail account. If info@domain.com isn’t registered as an authorized alias, Google overrides the sender back to bert@gmail.com, even though Post SMTP is sending the correct headers. This is a restriction enforced by Google, not by Post SMTP.

    To fix this:

    1. Go to Gmail > Settings > See all settings > Accounts.
    2. Under “Send mail as”, click Add another email address.
    3. Enter info@domain.com.
    4. Gmail will send a verification email to that address.
    5. Verify it so it becomes an authorized Send mail as alias.
    6. In Post SMTP > Settings > Message tab, set the From Email to info@domain.com and save your changes.

    Once the alias is verified, Google will allow Post SMTP to send using that address.

    Alternatively, if info@domain.com is also your site’s primary email address, you can grant permission with it to send.

    Let us know if that resolves the issue.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.