Hi I am having an issue with sending a mail while website is hosted on windows server. It works when I host it local on my pc. Does anybody know how I can fix this?
I get the following error when I try to send an email at the website that is hosted on the windows server:
"Maximum execution time of 30 seconds exceeded"
MAIL_DRIVER=smtp MAIL_HOST=smtp.office365.com MAIL_PORT=587 MAIL_USERNAME=mail MAIL_PASSWORD=password MAIL_ENCRYPTION=tls
Update: I am trying to send just one mail from a Microsoft exchange account.