Hướng dẫn Cách cài SMTP gmail không cần dùng Plugin WordPress SMTP rất đơn giản, sau khi cấu hình SMTP trong gmail.
Hạn chế sử dụng Plugin trong WordPress để giúp trang web load nhanh nhất và được bảo mật nhé cả nhà.
Zubi Cloud sẽ hướng dẫn Cách cấu hình máy chủ SMTP Gmail như sau
Cấu hình máy chủ SMTP Gmail thực hiện qua 3 bước sau:
Bước 1: Tạo mật khẩu ứng dụng cho tài khoản Gmail
Đầu tiên, bạn cần truy cập vào link: https://myaccount.google.com/ sau đó đăng nhập tài khoản Gmail của bạn.
Vào mục Bảo Mật và bật xác minh 2 bước ( nếu trạng thái này đang tắt ).
Ngay sau đó, ta thực hiện lấy Mật khẩu ứng dụng.
Nhấn vào ô chọn ứng dụng.
Chọn tùy chọn “Khác ( Tên tùy chỉnh )“
Đặt tên bất kỳ, ví dụ: ở đây là Gửi Mail SMTP.
Cuối cùng chúng ta bấm nút “Tạo“. Mật khẩu ứng dụng sẽ được hiển thị, bạn chỉ cần lưu lại mật khẩu này để sử dụng cấu hình SMTP trên website.
Bước 2: Truy cập vào trình sửa giao diện và sửa file functions.php như sau
bạn chỉ cần đèn chền code sau vào file functions.php trong theme và thay thế tài khoản của bạn ở những vùng bôi đỏ, rồi lưu lại là xong.
Email là tải khoản email của bạn, Password đã tạo ở trên, FromName: đặt tên tùy ý bạn.
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->Username = 'biwebcloud@gmail.com'; $phpmailer->Password = 'rnkzvvcvl'; $phpmailer->SMTPSecure = 'TLS'; $phpmailer->From = 'sell.anbiweb@gmail.com'; $phpmailer->FromName = 'Zubi Cloud'; });
Đổi các dòng màu đỏ thành tài khoản của bạn là xong nhé.
[url=http://tadalafilstd.com/]tadalafil lowest price[/url]
[url=https://bmtadalafil.online/]tadalafil fast delivery[/url]
[url=https://predniso.online/]cost for prednisone 50mg[/url]
[url=http://isynthroid.com/]synthroid medicine[/url]
Truly, this is a handy web-site.
https://www.ta-praca.pl
[url=https://drugstorepp.online/]pharmacy mall[/url]
[url=https://metforemin.online/]metformin 1g[/url]
[url=http://olisinopril.com/]lisinopril 100 mg[/url]
[url=http://synthroidam.online/]cost of synthroid 200 mcg[/url]
[url=https://tadalafilstd.online/]cialis india[/url]
thebuzzerpodcast.com
Fang Jifan은 웃으며 “하지만 어떻게 모범을 보일 수 있습니까?”
[url=http://metoformin.online/]glucophage generic south africa[/url]
[url=http://bestmedsx.com/]all in one pharmacy[/url]
Wow, lovely site. Thnx …
https://krakow-atrakcje.pl
I’m now not sure where you are getting your information, however great topic.
I must spend some time finding out more or working out more.
Thanks for great info I was looking for this information for my mission.
tvlore.com
Fang Jifan은 계속해서 질문했습니다. “Fang Jifan, 내가 누구라고 생각하세요?”