when using relay-hosting.secureserver.net to send email with code below, email recipient got warning from gmail the "Email From Address" is not verified and should not click on any link. How can I resolve/remove this warning message???
Host = "relay-hosting.secureserver.net",
EnableSsl = false,
UseDefaultCredentials = true,
DeliveryMethod = SmtpDeliveryMethod.Network,
using (var message = new MailMessage()
{
From = new MailAddress(mygmailAccount),
Subject = subject,
Body = body,
})
{
foreach (string to in tos)
message.To.Add(to);
smtp.Send(message);
}
Solved! Go to Solution.
I am an end user like you and going through some unanswered posts. I'm not sure if you got this resolved but if not, I would try sending it from an email address at the domain that the server is using vs your Gmail account - as using your gmail account could make the email look like spam since it didn't originate from Gmail
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community
I am an end user like you and going through some unanswered posts. I'm not sure if you got this resolved but if not, I would try sending it from an email address at the domain that the server is using vs your Gmail account - as using your gmail account could make the email look like spam since it didn't originate from Gmail
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community