app.emailsο
Functionsο
|
Send an email with the password reset link. |
|
Send an email with the verification code. |
|
Send an email with the paid subscription confirmation. |
|
Send an email with the subscription cancellation information. |
|
Send an email with the subscription deletion information. |
|
Send an email asynchronously. |
Module Contentsο
- app.emails.send_email_to_reset_password(email)[source]ο
Send an email with the password reset link.
- Parameters:
email (str) β The email address of the user.
- app.emails.send_email_with_code(user)[source]ο
Send an email with the verification code.
- Parameters:
user (Users) β The user object.
- app.emails.send_email_about_subscription_confirmation(user, tier_name)[source]ο
Send an email with the paid subscription confirmation.
- Parameters:
user (Users) β The user object.
tier_name (str) β The name of the subscription tier.
- app.emails.send_email_about_subscription_cancellation(user, tier_name, cancellation_date)[source]ο
Send an email with the subscription cancellation information.
This is the email sent when the user cancels their subscription but the subscription is still active until the end of the billing period.
- Parameters:
user (Users) β The user object.
tier_name (str) β The name of the subscription tier.
cancellation_date (datetime) β The date of cancellation.