How to do it...

  1. Create a new Class Library application using Visual Studio 2015 with .NET Framework 4.6.1, as shown in the following screenshot:
  1. 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> " ...

Get Azure Serverless Computing Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.