diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/Custom/EmailUtility.cs b/400-SOURCECODE/AIAHTML5.ADMIN.API/Custom/EmailUtility.cs
index 9eb258e..a27c983 100644
--- a/400-SOURCECODE/AIAHTML5.ADMIN.API/Custom/EmailUtility.cs
+++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/Custom/EmailUtility.cs
@@ -30,15 +30,19 @@ namespace AIAHTML5.ADMIN.API.Custom
public void SendMail(MailMessage mm)
{
+ System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; //Added By Vijay RM#204962
SmtpClient smtp = new SmtpClient();
smtp.Host = ConfigurationManager.AppSettings["SMTPAddress"];
smtp.EnableSsl = Convert.ToBoolean(ConfigurationManager.AppSettings["EnableSSL"]);
- System.Net.NetworkCredential NetworkCred = new System.Net.NetworkCredential(ConfigurationManager.AppSettings["SMTPUsername"], ConfigurationManager.AppSettings["SenderPassword"]);
+ #region Change emailAuthUser By Vijay RM#204962
+ //System.Net.NetworkCredential NetworkCred = new System.Net.NetworkCredential(ConfigurationManager.AppSettings["SMTPUsername"], ConfigurationManager.AppSettings["SenderPassword"]);
+ System.Net.NetworkCredential NetworkCred = new System.Net.NetworkCredential(ConfigurationManager.AppSettings["emailAuthUser"], ConfigurationManager.AppSettings["SenderPassword"]);
+ #endregion
smtp.Credentials = NetworkCred;
smtp.Port = Convert.ToInt32(ConfigurationManager.AppSettings["SMTPPort"]);
string ccAddress = ConfigurationManager.AppSettings["NotifyCopyAddress"];
- string[] emailArr = ccAddress.Split(',');
- if (mm.From.ToString().Equals("pfizerhelp@ebix.com"))
+ string[] emailArr = ccAddress.Split(',');
+ if (mm.From.ToString().Equals("adamsupport@ebix.com")) //Change Email Id "pfizerhelp@ebix.com" to adamsupport@ebix.com By By Vijay RM#204962
{
ccAddress = emailArr[0];
if (!ccAddress.Equals(""))
diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/Web.config b/400-SOURCECODE/AIAHTML5.ADMIN.API/Web.config
index 5222333..97eca9b 100644
--- a/400-SOURCECODE/AIAHTML5.ADMIN.API/Web.config
+++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/Web.config
@@ -4,25 +4,32 @@
http://go.microsoft.com/fwlink/?LinkId=301879
-->
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file