File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 123
123
# https://anymail.readthedocs.io/en/stable/installation/#anymail-settings-reference
124
124
# https://anymail.readthedocs.io/en/stable/esps/sendgrid/
125
125
EMAIL_BACKEND = "anymail.backends.sendgrid.EmailBackend"
126
+ # ANYMAIL = {
127
+ # "SENDGRID_API_KEY": env("SENDGRID_API_KEY"),
128
+ # "SENDGRID_GENERATE_MESSAGE_ID": env("SENDGRID_GENERATE_MESSAGE_ID"),
129
+ # "SENDGRID_MERGE_FIELD_FORMAT": env("SENDGRID_MERGE_FIELD_FORMAT"),
130
+ # "SENDGRID_API_URL": env("SENDGRID_API_URL", default="https://api.sendgrid.com/v3/"),
131
+ # }
126
132
ANYMAIL = {
127
- "SENDGRID_API_KEY " : env ("SENDGRID_API_KEY " ),
128
- "SENDGRID_GENERATE_MESSAGE_ID " : env ( "SENDGRID_GENERATE_MESSAGE_ID" ),
129
- "SENDGRID_MERGE_FIELD_FORMAT " : env ( "SENDGRID_MERGE_FIELD_FORMAT" ) ,
130
- "SENDGRID_API_URL" : env ( "SENDGRID_API_URL" , default = "https://api.sendgrid.com/v3/" ) ,
133
+ "MAILGUN_API_KEY " : env ("MAILGUN_API_KEY " ),
134
+ "SEND_DEFAULTS " : {
135
+ "tags " : [ "couse_api" ] ,
136
+ } ,
131
137
}
132
138
133
139
# Collectfast
You can’t perform that action at this time.
0 commit comments