|
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:
- Tạo Bottom menu cho website ở chế độ mobile
- 4 cách tăng kích thước upload size trên WordPress
- Tính năng Swift Pair và cách bật nó trên Windows 10
- Hide product zero price / Hide products without price in WooCommerce
- Tạo nút Read More / Read Less (Xem thêm / Ẩn nội dung) cho nội dung quá dài trong wordpress





