So for outgoing emails from a particular email address, where the 'From' property contains no 'friendly' name (ie just the sender's email address), I'd like to intercept it to add a friendly name.
Is this possible with O365/Exchange?
Reason being: I have an SMTP Relay Server (local only) that relays automated emails sent from various devices/software on the LAN, out through a single O365 account (using various aliases). Some of the devices/software do not give the option to add a friendly 'from' property, for example:
Presently the 'from' property looks like this:
... so it's not immediately clear to the recipient where the email is from.
I have tried adding a mail flow rule, such that if the "from header includes.." invoices.outbound@cltd.co.uk, it should set the message header 'From' to the value 'Invoices - Contoso Ltd. <invoices.outbound@cltd.co.uk>', but that results in and unhelpful error: "You can't set header 'From' with value 'Invoices - Contoso Ltd. <invoices.outbound@cltd.co.uk>'". I have tried various formats of 'from' values with the same result.
Thanks in advance for any help.
Is this possible with O365/Exchange?
Reason being: I have an SMTP Relay Server (local only) that relays automated emails sent from various devices/software on the LAN, out through a single O365 account (using various aliases). Some of the devices/software do not give the option to add a friendly 'from' property, for example:
Code:
'Invoices - Contoso Ltd. <invoices.outbound@cltd.co.uk>'
Code:
'invoices.outbound@cltd.co.uk <invoices.outbound@cltd.co.uk>'
I have tried adding a mail flow rule, such that if the "from header includes.." invoices.outbound@cltd.co.uk, it should set the message header 'From' to the value 'Invoices - Contoso Ltd. <invoices.outbound@cltd.co.uk>', but that results in and unhelpful error: "You can't set header 'From' with value 'Invoices - Contoso Ltd. <invoices.outbound@cltd.co.uk>'". I have tried various formats of 'from' values with the same result.
Thanks in advance for any help.
Last edited: