I wonna send email through gmail smtp, but users should see my corporative "From"
SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587);
smtp.EnableSsl = true;
smtp.Credentials = new NetworkCredential("[email protected]", "pass", "mail.dynback.com");
I am getting SmtpException: "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required"
I heard its all possible and called "Relay", but I am not sure, do i need to put somehow google credentials?