Agent Name in E-Mail FROM-Header

Hello Zammad Community,

I have a strange Issue with my Zammad Installation. I’m using Zammad 6.5.2. It’s a fresh Install on Debian 13. Zammad is connected to Microsoft 365 (Exchange Online) via Graph (Microsoft 365 Graph E-Mail) the Notifications are send via SMTP Relay which is also connected to Exchange Online via Graph.

Overall Zammad works perfectly. But it would be nice to have the Agent Name in the From Header of an answer E-Mail so the Employee knows who he is talking with.

The Sender Format is on Default (Agent + Format Seperator + System Address Display Name)

The Problem is that Zammad keeps only my System Name in the From Header. No matter what I configure. I don’t get it. Is there some config i have missed?

Thank you in Advance.

I think in this constellation Microsoft overrides the From-Display-Name and forces the display name of the mailbox / service identity. Im not sure, but i think you have to give your support mailbox “Send As” rights for the agents.

Hello Bloom,

thank you for your Reply. Unfortunately I already gave the Send As Rights to the Agents. In the Ticket it looks like that Zammad configures the FROM Header how I like to.

But in Outlook on the Recipient-side it looks like that:

Is there a possible way in Zammad to log the Mail and see if the FROM Header goes to Exchange Online like I want to - so that Exchange Online ignores this and forces the Display Name of the Mailbox?

Thank you :slight_smile:

Check the raw eml Zammad generated for the article. If the from is coreect therw, it is being overwritten by exchange and enforced. That wouldn‘t be the first time. Microsoft loves to do such kind of things.

1 Like

Thank you - the eml looks correct

So its on the Exchange Online Side - I will try to find something that fixes it.

Just a side note… if your Outlook has received mail from that address with the incorrect displayname before, then it can even be Outlook. It stores the first occurence in it‘s addressbook. Too long ago for me, but I believe it‘s the shadow one.

I think this is about the same situation:

Oh good call. Do you have a bug report for that already?

It’s no bug on our side, it’s fine in the generated mail :slight_smile: I think Microsoft is overwriting it.

1 Like

Have you tried sending an e-mail to an address outside of your company? E.g. to your private e-mail address? Because in my experience it’s neither Zammad, nor the Exchange server that overwrite the Display Name. It’s just that Outlook prefers to show the Display Name from your (global) address book instead.