Deploying Gmail Apis Project Authentification probleme
when i use the app in local (on executing with visual studio) there is no probleme, but when i deploy my project the authentification doesn’t work.
the probleme is situated here :
when i use the app in local (on executing with visual studio) there is no probleme, but when i deploy my project the authentification doesn’t work.
the probleme is situated here :
var msg = new AE.Net.Mail.MailMessage { Subject = subject, Body = bodyhtml, From = new System.Net.Mail.MailAddress("myemail") }; foreach (string add in vendorEmailList.Split(',')) { if (string.IsNullOrEmpty(add)) continue; msg.To.Add(new System.Net.Mail.MailAddress(add)); } msg.ReplyTo.Add(msg.From); // Bounces without this!! msg.ContentType = "text/html"; ////attachment code foreach (string path in attachments) { var bytes = File.ReadAllBytes(path); string mimeType = MimeMapping.GetMimeMapping(path); AE.Net.Mail.Attachment attachment … Read more