'Send email with Laravel using bluehost
I want to send email from Laravel application and everything have done successfully on mailtrap but when I enter my mail and all mail configuration on .env file there is no error but the mail hasn't sent (Bluehost)
MAIL_DRIVER=smtp
MAIL_HOST=mail.domain.com
MAIL_PORT=465
[email protected]
MAIL_PASSWORD=my pass
MAIL_ENCRYPTION=SSL
please any help
Solution 1:[1]
I tried this and its worked for me
MAIL_MAILER=smtp
MAIL_HOST=mail.domain.com
MAIL_PORT=26
MAIL_USERNAME='[email protected]'
MAIL_PASSWORD= email account password
MAIL_ENCRYPTION=
Solution 2:[2]
mail.domain.com and @domain.com are just examples, you need to replace these with the details of your own email service.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | yahya haddad |
| Solution 2 | Joundill |
