Thanks a lot Anthony and Niphlod. That was a big help - I'll give that a go.
I did customize the password reset message, and thought I would post it here if it would be helpful to anyone. Any suggestions / optimizations are welcome. The default settings email send an email like this: - - - - - - - - - - - - - - - - - - - Date: Wed, 05 Jun 2013 11:26:04 +0000 From: supp...@yoursite.com To: xx...@gmail.com Subject: Password reset Click on the link http://yoursite.com/default/user/reset_password/1370431564-d3290509-814f-40ef-a04b-7f766d328c78 to reset your password - - - - - - - - - - - - - - - - - - - I researched dozens of such emails from github, 37 signals etc. and decided on this format. - plain text. I know I could use HTML email... If the string body starts with <html and ends with </html>, it will be sent as a HTML email. but, I decided to go with plain text... *See Research: *http://kb.mailchimp.com/article/why-bother-with-plain-text-emails http://www.blog.analyticsinspector.com/tag/plain-vs-html-email-ab-test/ Also, I got logging to work on my Mac, and that was very helpful for testing. i.e. mail.settings.server = 'logging' *in db.py * ## - START CUSTOMIZATION FOR CUSTOM RESET Password EMAIL MESSAGES - - - - - - - - - - - - - - - - - - - - - - ## # build the email message # the new line for spacing nl='\n' ln1= '- - - - - - - - - - - - - - - - - - - \n' ln2= ' Yoursite.com' ln3= ' ' + T("Your company's logan.") ln4= T('PASSWORD RESET') ln5= T('A request has been submitted to recover a lost password. To reset your password, click on the link:') ln6= 'http://'+request.env.http_host+URL('default','user',args=[ 'reset_password'])+'/%(key)s' ln7= T('If you did not specifically request this password change, please disregard this notice.') ln8= T('Thank you.') ln9=' ~' + T('Yoursite.com Team') ln10= ' http://yoursite.com ' # concatenate the email message msgpass= ln1 + ln2 + nl + ln3 + nl + ln1 + nl + ln4 + nl*2 + ln5 + nl + ln6 + nl*2 + ln7 + nl*2 + ln8 + nl*2 + ln9 + nl + ln10 # first, change the subject from the default auth.messages.reset_password_subject = T('[yoursite.com] Your password reset') # concatenate the message from variable auth.messages.reset_password = msgpass ''' This will yield From: supp...@yoursite.com To: bsm...@gmail.com Subject: [Yoursite.com] Your password reset - - - - - - - - - - - - - - - - - - - Yoursite.com Your company's slogan. - - - - - - - - - - - - - - - - - - - PASSWORD RESET A request has been submitted to recover a lost password. To reset your password, click on the link: http://yoursite.com/1370475612-4b0a1881-43df-480d-8920-623a8825f7b4 If you did not specifically request this password change, please disregard this notice. Thank you. ~Yoursite.com Team http://yoursite.com ''' ## - END CUSTOMIZATION FOR CUSTOM RESET EMAIL MESSAGES - - - - - - - - - - - - - - - - - - - - - - ## -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.