postcard/mailer.py
def auth(self):
        """Authendicates with the mail server.
        Raises:
            MailmanAuthError when the authentication fails.
        """
        try:
            self.server.login(self.username, self.password)
        except smtplib.SMTPAuthenticationError:
            raise MailmanAuthError("Invalid username (%s) and/or password" % (self.username))
Authendicates with the mail server.
        Raises:
            MailmanAuthError when the authentication fails.
        
Authendicates with the mail server.
Raises:
MailmanAuthError when the authentication fails.
Authendicates with the mail server . Raises : MailmanAuthError when the authentication fails .
def auth(self):
        try:
            self.server.login(self.username, self.password)
        except smtplib.SMTPAuthenticationError:
            raise MailmanAuthError("Invalid username (%s) and/or password" % (self.username))
def auth ( self ) : try : self . server . login ( self . username , self . password ) except smtplib . SMTPAuthenticationError : raise MailmanAuthError ( "Invalid username (%s) and/or password" % ( self . username ) )
Authendicates with the mail server.
Authendicates with the mail server .
"""Authendicates with the mail server.
        Raises:
            MailmanAuthError when the authentication fails.
        """
self