#NEWLINE# def __init__( self , tasker , workflow , send_on = None , url = None , submitter = 'unknown' , pdc_url = None , pdc_verify_cert = True , pdc_component_df_label = 'BZComponent' , pdc_secret_path = None , pdc_contact_role = None , smtp_uri = None , from_address = None , error_addresses = None ) : #NEWLINE# #INDENT# '\n        constructor\n\n        :param tasker: DockerTasker instance\n        :param workflow: DockerBuildWorkflow instance\n        :param send_on: list of build states when a notification should be sent\n        :param url: URL to OSv3 instance where the build logs are stored\n        :param submitter: name of user who submitted a build (plain string)\n        :param pdc_url: URL of PDC to query for contact information\n        :param pdc_verify_cert: whether or not to verify SSL cert of PDC (defaults to True)\n        :param pdc_component_df_label: name of Dockerfile label to use as PDC global_component\n        :param pdc_secret_path: path to pdc.token file; $SOURCE_SECRET_PATH otherwise\n        :param pdc_contact_role: name of PDC role to contact\n        :param smtp_uri: URL of SMTP server to use to send the message (e.g. "foo.com:25")\n        :param from_address: the "From" of the notification email\n        :param error_addresses: list of email addresses where to send an email if there\'s an error\n            (e.g. if we can\'t find out who to notify about the failed build)\n        ' #NEWLINE# super ( SendMailPlugin , self ) . __init__ ( tasker , workflow ) #NEWLINE# self . send_on = send_on #NEWLINE# self . url = url #NEWLINE# self . submitter = submitter #NEWLINE# self . pdc_url = pdc_url #NEWLINE# self . pdc_verify_cert = pdc_verify_cert #NEWLINE# self . pdc_component_df_label = pdc_component_df_label #NEWLINE# self . pdc_secret_path = pdc_secret_path #NEWLINE# self . pdc_contact_role = ( pdc_contact_role or self . PDC_CONTACT_ROLE ) #NEWLINE# self . smtp_uri = smtp_uri #NEWLINE# self . from_address = from_address #NEWLINE# self . error_addresses = error_addresses