Chủ Nhật, 2 tháng 3, 2014

gởi mail bằng smtp

1. tạo mail server
2.lấy thông tin mail server truyền vào form gởi
        $mail->CharSet = "UTF-8";
        $mail->Mailer = "smtp";
        $mail->Password = "123456.....";                  // password khi tạo mail
        $mail->Host = 'mail.tay.com.vn';                   //  khi download ra xuat hien POP3 Server
3. nếu không lấy thông tin ở folder module
+ lúc đó nó sẽ trở về file/class.phpmailer.php lấy thông tin ở đó
download : tại đây

Không có nhận xét nào:

Đăng nhận xét