Example #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, "");
 }
Example #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 = "eShop K5 <" + email + ">";

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