auth.user.first_name

Had a typo in there and worked! 

On Wednesday, October 28, 2015 at 10:10:43 AM UTC-4, Ron Chatterjee wrote:
>
> email_send_by =  auth_user.first_name; 
> mail.send(to=['my_email_address'],subject='New email',message 
> = email_send_by )
>
> Getting an error since I need to pass the message as a string. Any 
> thoughts?
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to