7
どのように私はsmtp経由でGmailの会話の一部として電子メールを送信できますか? 同じ被写体を撮ることはできません...gmail smtpによる会話
もっと情報が必要な場合は教えてください... 事前に感謝!
MailMessage mail = new MailMessage();
SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
mail.From = new MailAddress("@googlemail.com");
mail.To.Add("@.com");
mail.Subject = "(Somee.com notification) New order confirmation";
mail.Body = "(Somee.com notification) New order confirmation";
SmtpServer.Port = 587;
SmtpServer.Credentials = new System.Net.NetworkCredential("", "");
SmtpServer.EnableSsl = true;
SmtpServer.Send(mail);
完全に明確です。それは ''は次のようになります。 '<[email protected]om>' –