示例#1
0
 // Gửi mail đơn giản
 public static void Send(string from, string to, string subject, string body)
 {
     GoogleMailer.Send(from, to, "", "", subject, body, "");
 }
示例#2
0
        static string password = "******";            //vui lòng sửa password của bạn

        // Gửi mail từ hệ thống
        public static void Send(string to, string subject, string body)
        {
            string from = "Administration System <" + email + ">";

            GoogleMailer.Send(from, to, "", "", subject, body, "");
        }