Check out example codes for "c# mailmessage set sender name". It will help you in understanding the concepts better.

Code Example 1

MailMessage mail = new MailMessage();
mail.From = new MailAddress("[email protected]", "Bob Jones" );

Learn ReactJs, React Native from akashmittal.com