Maybe auth.messages is what you're looking for:

auth.messages.retrieve_username = 'Your user name: %(username)s'
auth.messages.retrieve_username_subject = 'Username retrieval'
auth.messages.reset_password = 'Click or copy/paste the following link 
https://'+request.env.http_host+URL('default', 'user', 
args='reset_password')+'?key=%(key)s to the address bar of your browser. 
Use the form to set a new password'
auth.messages.reset_password_subject = 'Password reset: '


Kind regards,

Annet
Op woensdag 2 december 2020 om 17:17:56 UTC+1 schreef lbjc...@gmail.com:

> I recently successfully used the configured email settings as follows:
>
> mail = auth.settings.mailer
> mail.settings.server = 'smtp.gmail.com:587'
> mail.settings.sender = 'user...@gmail.com'
> auth.settings.registration_requires_verification = True
>
> I noted that the email arrived with the sender name in lower caps and 
> using the email names (e.g. if user...@gmail.com the name appears as 
> username and not user name).
> I would like it to appear like: 'User Name' and not 'username'.
> Kind regards.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/6107ca96-e645-4070-be83-48aebd59eef4n%40googlegroups.com.

Reply via email to