X
X
Worldwide (English) USD 0

Welcome

Sign in

Knowledge Base

HomepageKnowledge BaseWeb HostingScriptsComo configurar SMTP numa ap...

Como configurar SMTP numa aplicação Laravel

Para permitir que sua aplicação Laravel envie mensagens de email pelo SMTP  adicione as seguintes configurações no ficheiro .env :

==========%<=============
MAIL_MAILER=smtp
MAIL_HOST=mail.exemplo.com
MAIL_PORT=25
MAIL_USERNAME=teste@exemplo.com
MAIL_PASSWORD=xxxxxxxxxxxx
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=teste@exemplo.com
MAIL_FROM_NAME="${APP_NAME}"
==========%<=============

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(621 times viewed / 1 people found it helpful)
Copyright © 2025 All Rights Reserved
Top