In my mail account in OUTLOOK (loacal) , my email is declared
sender : pierre@pl-arts.com and a name as alias
“Arpille Pierre LARDE Gandi”
That name is what is seeen by the reader in the “from” field.
followed by the equivalent Email.
Is there a possibility with CFMAIL to do the same ?
See attached examples :
Thanks for answer.
Pierre.
Linux debian 10
apache 2.4
Java : 1.0.15 (Eclipse Adoptium) 64bit
Lucee 5.4.1.8
Java : 11.0.4 (AdoptOpenJDK) 64bit
Try Sender Name <sender@example.com>
But, sender@example.com (or sender@pl-arts.com ) must be a valid Email address at my host ?
How receiver can see : Arpille Pierre LARDE Gandi as the sender (from) ?
Thanks, Pierre.
Hi Pierre, try what @Zackster told you That is a valid email address and should just work.
dawesi
July 5, 2025, 11:00am
5
To be literal put from="Your Alias <pierre@pl-arts.com>"
and it will come up as ‘Your Alias’
yup, plus if you have special characters, you need to quote the name
<cfmail from='"spitzer, zac" <zac@example.com>' ...>
2 Likes