Level 88
This should put you in the right direction: https://medium.com/@info.subashthapa/environment-variables-for-sending-email-in-cpanel-laravel-6e83c89fac25
2 likes
I want to make email verification with [email protected] that i just created in Cpanel using laravel.
MAIL_DRIVER=smtp
MAIL_HOST=mail.*****.co.id
MAIL_PORT=465
MAIL_USERNAME=no-reply@******.co.id
MAIL_PASSWORD=*******
MAIL_ENCRYPTION=ssl
But i couldn't use 1 of them. this always shows the following error message :
Expected response code 250 but got code "550", with message "550-Your FROM address ( gmail.com , s*****@gmail.com ) must match your
550-authenticated email domain ( *****.co.id ). Treating this as a spoofed
I think this error forces me to use the original CPanel username. I'm not sure. Anyone can help me why i can't use the email accounts?
Please or to participate in this conversation.