-
-
Save brunomichetti/383deae6dc8b53d2d5b7c17634910bfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.core.mail import EmailMessage | |
from drip.drips import DripMessage | |
class PlainDripEmail(DripMessage): | |
@property | |
def message(self): | |
if not self._message: | |
email = EmailMessage(self.subject, self.plain, self.from_email, [self.user.email]) | |
self._message = email | |
return self._message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment