Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: .NET
Expertise: Beginner
Mar 11, 2008

Using the "Friendly Name" When Sending Emails Through Code

To use friendly names instead of the plain email IDs, simply write the email ID in the following format:

mailobj.From  = "AliasName <emailid>"
For example:

msgMail.From = "sms <srinathms@devx.com>"; 
You can use it anywhere you write an email ID.

Srinath MS
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date