Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
code:laravel:email [2020/04/11 17:33] gerardorourkecode:laravel:email [2020/04/11 18:36] (current) gerardorourke
Line 6: Line 6:
 Example **env** config file settings for SMTP\\ Example **env** config file settings for SMTP\\
 Obviously set your own SMTP details (and make sure the From address exists - as your mail server can reject it if not) Obviously set your own SMTP details (and make sure the From address exists - as your mail server can reject it if not)
 +
 +The **APP_NAME** needs to be set correctly as we will use this as the From Name of the email address which used for password resets.
 +<code>
 +APP_NAME="Laravel Demo1 App"
 +</code>
  
 The **APP_URL** needs to be set correctly as it is the base URL for the password reset link. The **APP_URL** needs to be set correctly as it is the base URL for the password reset link.
Line 21: Line 26:
 MAIL_ENCRYPTION=tls MAIL_ENCRYPTION=tls
 [email protected] [email protected]
-MAIL_FROM_NAME="Laravel Demo1 App"+MAIL_FROM_NAME="${APP_NAME}"
 </code> </code>
  • code/laravel/email.1586622788.txt.gz
  • Last modified: 2020/04/11 17:33
  • by gerardorourke