def __init__(self, email, app_name, formatter=EmailFormatter()):
        """
        :param email: email address to send the bug report to
        :param app_name: application name, will appear in the object of the
                         mail
        :param formatter: the formatter to use to create the final report.
        """
        super(EmailBackend, self).__init__(
            formatter, "Send email", "Send the report via email",
            QtGui.QIcon.fromTheme('mail-send'), need_review=False)
        self.formatter.app_name = app_name
        self.email = email
def __init__ ( self , email , app_name , formatter = EmailFormatter ( ) ) : super ( EmailBackend , self ) . __init__ ( formatter , "Send email" , "Send the report via email" , QtGui . QIcon . fromTheme ( 'mail-send' ) , need_review = False ) self . formatter . app_name = app_name self . email = email
:param email: email address to send the bug report to
        :param app_name: application name, will appear in the object of the
                         mail
        :param formatter: the formatter to use to create the final report.