#NEWLINE# def send_email( self , mail_sender ) : #NEWLINE# #INDENT# subst = dict ( fullname = subst . user . fullname , app_title = self . app_title , confirmation_url = self . confirmation_url ) #NEWLINE# message = ( _ ( '\n        Hello %(fullname)s,\n\n        We received a request to reset your password. If you are at the origin of this\n        request, please click on this confirmation link: %(confirmation_url)s. Otherwise,\n        feel free to ignore this email.\n\n        See you soon on %(app_title)s.\n        ' ) % subst ) #NEWLINE# mail_sender . send ( ( _ ( '%(app_title)s: Password Reset' ) % subst ) , [ self . user . email ] , textwrap . dedent ( message ) . strip ( ) )