as string() for email message

18 views
Skip to first unread message

Ron Chatterjee

unread,
Oct 28, 2015, 10:10:43 AM10/28/15
to web...@googlegroups.com
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?

Ron Chatterjee

unread,
Oct 28, 2015, 11:33:00 AM10/28/15
to web2py-users
auth.user.first_name

Had a typo in there and worked! 
Reply all
Reply to author
Forward
0 new messages