Hekmatyar
1 month ago
264
7
Laravel

Sending mails without smtp - Laravel 7

Posted 1 month ago by Hekmatyar

Hi, im doing this for first time, can someone explaine to me how can i do it? for now mails are saving in database but i want to sendmails to email without settings smtp (user,password etc)

config/mail.php -> https://pastebin.com/eZtN0F0E controller -> https://pastebin.com/YMaVxbXb mail/contact -> https://pastebin.com/DavbhsdL mailblade -> https://pastebin.com/QuTXm1UP

env: MAIL_MAILER=sendmail MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null

Please sign in or create an account to participate in this conversation.