(self, source, destination, notification_type, context)
we will provide to ways to configure clients :
         - One, you can configure email settings from Django-settings file if not,
         - Then Second, you can send settings as function arguments too,
         - Priority wil be given to function arguments

        :param source: who wants to send SMS
        :param destination: to whom SMS will be sent.
        :param notification_type: notification type
        :param context: data you want to send in SMS
we will provide to ways to configure clients :
         - One, you can configure email settings from Django-settings file if not,
         - Then Second, you can send settings as function arguments too,
         - Priority wil be given to function arguments
we will provide to ways to configure clients : - One you can configure email settings from Django - settings file if not - Then Second you can send settings as function arguments too - Priority wil be given to function arguments
def __init__(self, source, destination, notification_type, context):
        """
       we will provide to ways to configure clients :
         - One, you can configure email settings from Django-settings file if not,
         - Then Second, you can send settings as function arguments too,
         - Priority wil be given to function arguments

        :param source: who wants to send SMS
        :param destination: to whom SMS will be sent.
        :param notification_type: notification type
        :param context: data you want to send in SMS
        """

        # email related stuff
        self.source = source
        self.destination = destination
        self.notification_type = notification_type
        self.subject = context.get('subject', '')
        self.body = context.get('body', '')
        self.cc = context.get('cc')
        self.bcc = context.get('bcc')
        self.attachment = context.get('attachment')
        self.html_message = context.get('html_message')
def __init__ ( self , source , destination , notification_type , context ) : # email related stuff self . source = source self . destination = destination self . notification_type = notification_type self . subject = context . get ( 'subject' , '' ) self . body = context . get ( 'body' , '' ) self . cc = context . get ( 'cc' ) self . bcc = context . get ( 'bcc' ) self . attachment = context . get ( 'attachment' ) self . html_message = context . get ( 'html_message' )