Subclass EmailMultiAlternatives to add CC: option
This class adds a cc: argument to EmailMultiAlternatives.
- cc
This class adds a cc: argument to EmailMultiAlternatives.
Django EmailMessage class has no cc support and has bug in bcc support. Core developers won't add cc support (see ticket http://code.djangoproject.com/ticket/5790), and I don't want to wait half a year until they will realize they have a flaw that bcc recipients are sent to regular "to:" recipients and fix it. So, if you want to use EmailMessage class right now, you'd better use FixedEmailMessage class. Class contract is the same, except for a new cc constructor argument.
2 snippets posted so far.