public string GetMailBody(LoginInfo oLoginInfo)
{
string url = Global.DomainName + "api/LoginInfos/ConfirmMail?username=" + oLoginInfo.Username;
return string.Format(@"<div style='text-align:center;'>
<h1>Welcome to our Web Site</h1>
<h3>Click below button for verify your Email Id</h3>
<form method='post' action='{0}' style='display: inline;'>
<button type = 'submit' style=' display: block;
text-align: center;
font-weight: bold;
background-color: #008CBA;
font-size: 16px;
border-radius: 10px;
color:#ffffff;
cursor:pointer;
width:100%;
padding:10px;'>
Confirm Mail
</button>
</form>
</div>", url, oLoginInfo.Username);
}
0 Comments