How can I use a ‘friendly name’ in the To and From properties

Platform: ASP.NET| Category: Mail

Format the email address this way:

VB.NET

mail.From = 'Name <name@syncfusion.com>'
mail.To = 'Name <name@syncfusion.com>'

C#

mail.From = 'Name <name@syncfusion.com>';
mail.To = 'Name <name@syncfusion.com>';

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.