-
Description:I tried sending mail from local server, it works fine via smtp or ses.
It seems this problem is not due to the port not being opened to connect. because it is connected successfully. Below is a log that logs the successful mail delivery process on local dev.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In short, the system just doesn't have a destination for the mail to send and therefore stops working. Mail::to(env('MAIL_SENT_CONTACT_US'))
->send(new ContactUsMail($name, $email, $tel, $organization, $message)); It seems that if we use config:cache , the env cannot be read. |
Beta Was this translation helpful? Give feedback.
In short, the system just doesn't have a destination for the mail to send and therefore stops working.
It seems that if we use config:cache , the env cannot be read.
now it's working normally