Hi,
I m creating a mail object and setting the FROM address to it as follows:
MailMessage objMail = new MailMessage();
objMail.From = new MailAddress("TestFrom@gmail.com");
When I look at the mail in OutLook, display name is not set for FROM address. It always shows the complete email ID. But for TO and CC addresses, display names are showing up correctly. (My Outlook has all display names configured, since it is showing up display name for TO addresses)
objMail.To.Add(new MailAddress("TestMail@gmail.com"));
Is there something different between FROM and TO addresses I m missing.
Please Help !! Urgent !!