I have written a code (using c#) in which I am getting mail from a group [email protected].
Thats ok but the new requirement is that mail should come from [email protected] but it shuld appear as TESTERS. I am unable to display the name as TESTERS when the group is [email protected]
How can I accomplish this task.
Thanks
Loading
Amit ChoudharyPosted Feb 19, 2010, 9:45 AM
KritiPosted Feb 19, 2010, 7:05 AM
System.Net.Mail.MailMessage msg = new System.Net.Mail.MailMessage(new MailAddress(from_,displayName_), new MailAddress(to));
Ww have to add a displayName.