Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| code:laravel:email [2020/04/11 17:31] – created gerardorourke | code:laravel:email [2020/04/11 18:36] (current) – gerardorourke | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This is required to be setup for email verification and/or password reset emails. | This is required to be setup for email verification and/or password reset emails. | ||
| + | |||
| 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. | ||
| + | < | ||
| + | APP_NAME=" | ||
| + | </ | ||
| + | |||
| + | The **APP_URL** needs to be set correctly as it is the base URL for the password reset link. | ||
| + | < | ||
| + | APP_URL=http:// | ||
| + | </ | ||
| + | |||
| + | **SMTP** configuration | ||
| < | < | ||
| MAIL_MAILER=smtp | MAIL_MAILER=smtp | ||
| Line 14: | Line 26: | ||
| MAIL_ENCRYPTION=tls | MAIL_ENCRYPTION=tls | ||
| [email protected] | [email protected] | ||
| - | MAIL_FROM_NAME=" | + | MAIL_FROM_NAME=" |
| </ | </ | ||