Skip to content

Commit 2cd05fc

Browse files
authored
Update TASK_REMINDERS.md
1 parent 905c67c commit 2cd05fc

File tree

1 file changed

+31
-11
lines changed

1 file changed

+31
-11
lines changed

TASK_REMINDERS.md

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,54 @@ For the application to send emails, it needs to know your email service details.
2121

2222
**Update the following email settings in your .env file:**
2323
* `MAIL_MAILER`: The type of email service you're using (e.g., smtp, sendmail).
24-
`MAIL_MAILER=smtp`
24+
```
25+
MAIL_MAILER=smtp
26+
```
2527
2628
* `MAIL_HOST`: The server address of your email provider (e.g., smtp.gmail.com).
27-
`MAIL_HOST=smtp.gmail.com`
29+
```
30+
MAIL_HOST=smtp.gmail.com
31+
```
2832
2933
* `MAIL_PORT`: The port number for your email server (e.g., 2525, 587, 465).
30-
`MAIL_PORT=587`
34+
```
35+
MAIL_PORT=587
36+
```
3137
3238
* `MAIL_USERNAME`: Your username for the email account that will send the emails.
33-
`MAIL_USERNAME=your_email_username`
39+
```
40+
MAIL_USERNAME=your_email_username
41+
```
3442
3543
* `MAIL_PASSWORD`: The password for that email account.
36-
`MAIL_PASSWORD="your_email_password"`
44+
```
45+
MAIL_PASSWORD="your_email_password"
46+
```
3747
3848
* `MAIL_ENCRYPTION`: The encryption method (e.g., tls, ssl, or null if none).
39-
`MAIL_ENCRYPTION=tls`
49+
```
50+
MAIL_ENCRYPTION=tls
51+
```
4052
4153
* `MAIL_FROM_ADDRESS`: The email address that will appear as the sender.
42-
`MAIL_FROM_ADDRESS="noreply@mydomain.com"`
54+
```
55+
MAIL_FROM_ADDRESS="noreply@mydomain.com"
56+
```
4357
4458
* `MAIL_FROM_NAME`: The name that will appear as the sender. It's good to use your application's name.
45-
`MAIL_FROM_NAME="${APP_NAME}"`
59+
```
60+
MAIL_FROM_NAME="${APP_NAME}"
61+
```
4662
4763
* `MAIL_TO`: The primary email address where the task reminder emails should be sent.
48-
`MAIL_TO="your_main_email@example.com"`
64+
```
65+
MAIL_TO="your_main_email@example.com"
66+
```
4967
5068
* `MAIL_BCC` (Optional): If you want to send a blind carbon copy of the email to another address, set it here. If not specified, it defaults to the `MAIL_TO` address.
51-
`MAIL_BCC="another_email@example.com"`
69+
```
70+
MAIL_BCC="another_email@example.com"
71+
```
5272
5373
**Important:** Replace the example values with your actual email service details. If you're using a service like Gmail, you might need to enable "Less secure app access" or generate an "App Password". Check your email provider's documentation for details on SMTP configuration.
5474
@@ -77,4 +97,4 @@ The application knows *when* to send the email, but your server needs to be told
7797
## **That's It!**
7898
7999
Once you've configured your email settings in the .env file and set up the cron job on your server, the application will automatically send you an email with tasks due in the next 30 days every Monday at 6h00.
80-
If you don't receive emails, double-check your email settings in the .env file and ensure the cron job is correctly set up and your server has the necessary permissions to execute it.
100+
If you don't receive emails, double-check your email settings in the .env file and ensure the cron job is correctly set up and your server has the necessary permissions to execute it.

0 commit comments

Comments
 (0)