• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[Solved] Laravel Mengirim Email Menggunakan Mailgun

Kepala Suku

Web & Mobile Developer
Staff member
#1
Konfigurasi .env untuk dapat mengirim email adalah sebagai berikut:
Apache config:
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailgun.org
MAIL_PORT=587
MAIL_USERNAME=USERNAME_POSTMASTER
MAIL_PASSWORD=PASSWORD_POSTMASTER
MAIL_FROM_NAME="Nama Pengirim"
MAILGUN_DOMAIN=contoh@nusagates.com
MAIL_FROM_ADDRESS=contoh@nusagates.com
MAILGUN_SCREET=API_KEY_MAAILGUN