When I create a MailMessage object I want the From to be "firstname.lastname@example.org" and the display name should be my original name can I do it in rebex Mailmessage object????
Yes, it is possible, just use the MailAddress class like this:
MailMessage mail = new MailMessage();
mail.From = new MailAddress("email@example.com", "Chuck Norris");
Welcome to Q&A forum for C# and VB.NET developers working with following .NET components:
If you need immediate assistance, please contact us directly.