invitations.utils module

class invitations.utils.Utils[source]

Bases: common.utils.BaseMailUtil

mail_sender = 'invitations@scipost.org'
mail_sender_title = 'SciPost Invitation'
classmethod invite_contributor_email()[source]

Send email to unregistered people inviting them to become a SciPost Contributor. Requires context to contain ‘registration_invitation’ (RegistrationInvitation instance).

classmethod invite_contributor_reminder_email()[source]

Send reminder(!) email to unregistered people inviting them to become a SciPost Contributor. Requires context to contain ‘registration_invitation’(RegistrationInvitation instance).

classmethod citation_notifications_email()[source]

Send email to a SciPost Contributor about a Citation Notification that’s been created for him/her. Requires context to contain ‘notifications’ (list of CitationNotifications).