When I create a MailMessage object I want the From to be "email@example.com" 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("firstname.lastname@example.org", "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.