1 2 3 4 5 6 7 8 9 10 11 12 13 |
add_action( 'phpmailer_init', function( $phpmailer ) { if ( !is_object( $phpmailer ) ) $phpmailer = (object) $phpmailer; $phpmailer->Mailer = 'smtp'; $phpmailer->Host = 'smtp.gmail.com'; $phpmailer->SMTPAuth = 1; $phpmailer->Port = 587; $phpmailer->Password = 'matkhauungdung'; $phpmailer->SMTPSecure = 'TLS'; $phpmailer->FromName = 'Cong ty ABC - abc.com'; }); |
Email @domain của bên nào thì chỉ việc đổi port tương ứng là được
Bài viết mới:
- [Yandex email – 3] Đăng nhập Email Domain miễn phí của Yandex
- Thực thi & hiển thị shortcode trong mô tả danh mục (archive description), tag ….
- Kiểm tra và giám sát dung lượng ổ cứng với WinDirStat
- Ẩn nút Proceed To Checkout trong qua trình thanh toán Woocommerce
- Những điều cần làm khi máy tính nhiễm ransomware