- Create a new Class Library application using Visual Studio 2015 with .NET Framework 4.6.1, as shown in the following screenshot:
- Create a new class named EMailFormatter and paste the following code in the new class file:
namespace Utilities { public static class EMailFormatter { public static string FrameBodyContent(string firstname, string lastname, string email, string profilePicUrl) { string strBody = "Thank you <b>" + firstname + " " + lastname + "</b> for your registration.<br><br>" + "Below are the details that you have provided us<br> <br>" + "<b>First name:</b> " + firstname + "<br>" + "<b>Last name:</b> " ...