• Resolved lysianemtp

    (@lysianemtp)


    Hello,

    I’m having an issue with the sender name when sending emails through Post SMTP using the Gmail API.
    All emails are being delivered successfully, but Gmail always shows the sender as “Lysiane” instead of my desired name “My Travel Planner”.

    Here’s the full context and what I’ve already checked: ✅ Current setup

    • Website: https://www.mytravelplanner.io
    • Mailer type: Gmail API
    • Post SMTP is configured correctly (emails send successfully)
    • Sender Name in Post SMTP → Message tab: My Travel Planner
    • “Prevent plugins and themes from changing this” is checked
    • Directorist plugin (which triggers automated emails) also set to “My Travel Planner” as sender
    • Gmail account used: [email protected]

    🔍 What happens

    • All outgoing emails arrive correctly.
    • But the sender name always appears as “Lysiane” (the personal name of the Gmail account owner) instead of “My Travel Planner.”
    • Previously, when I was using my host’s SMTP server (helicoptere.o2switch.net), the sender name appeared correctly as My Travel Planner.
    • This issue only started after switching to Gmail API authentication.

    🧩 What I’ve tried

    1. Confirmed “From Name” = My Travel Planner in all plugins (WordPress General Settings, Post SMTP, and Directorist).
    2. Checked Gmail settings → “Send mail as” already set to My Travel Planner.
    3. Deleted OAuth access and reconnected Gmail API.
    4. Reinstalled Post SMTP.

    Emails are still sent fine, but Gmail keeps replacing the display name with “Lysiane.” ❓ What I need help with

    Is there any way to force Post SMTP / Gmail API to use the custom “From Name” instead of the Gmail account’s personal name?
    Or can this be overridden through Post SMTP configuration or a filter?

    Thanks a lot for your help!
    — Lysiane
    (https://www.mytravelplanner.io)

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

    (@aqibkhan9)

    Hello @lysianemtp,

    We hope this message finds you well.

    Thank you for reaching out to our Support team. We’re truly sorry to hear that you’ve encountered this issue.

    We attempted to reproduce the issue on our end but were unable to replicate it. Please ensure that the Prevent plugin & theme is enabled for both From Name and From Email.

    If the issue persists, we recommend performing a conflict test and sharing the name of any plugin or theme that may be causing the conflict. This will allow us to assist you more effectively.

    Warm regards,
    Support Team – WP Experts

    Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hello @lysianemtp ,

    We hope you are doing well.

    We are marking this thread as resolved due to inactivity. If you encounter any further issues, please feel free to open a new thread.

    Have a great day!

    Thanks and regards,
    Support Team – WP Experts

    Thread Starter lysianemtp

    (@lysianemtp)

    HI,

    I am sorry I was on vacation.

    I already made a conflict test…

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Wrong sender name when using Gmail API’ is closed to new replies.