MyCommonIncludable

BlogPost

Setting SMTP Gmail pada XAMPP

Edit php.ini (xampp\php\php.ini)
Sesuaikan account dan password Gmail [gmail_username]@gmail.com dan [your_gmail_password]
SMTP = smtp.gmail.com
smtp_port = 587
sendmail_from = [gmail_username]@gmail.com
Note: this gmail account will be used to send the email
sendmail_path = "\"E:\xampp\sendmail\sendmail.exe\" -t"

Tambah account Gmail dalam sendmail.ini (xampp\sendmail\sendmail.ini)
account Gmail
tls on
tls_certcheck off
host smtp.gmail.com
from [gmail_username]@gmail.com
auth on
user [gmail_username]@gmail.com
password [your_gmail_password]

port 587
Ganti default account sendmail.ini menjadi Gmail
account default : Gmail

Comments