We've changed from gmail to office 365, but the issue: Client does not have permissions to send as this sender
550 when sending email.
Do we have any configuration in office 365 mail service to enable sending email from website/application?
This is my .env
configuration:
MAIL_DRIVER=smtp
MAIL_HOST=smtp.office365.com
MAIL_PORT=587
MAIL_USERNAME=mail_username
MAIL_PASSWORD=mail_password
MAIL_ENCRYPTION=tls