On Monday, May 4, 2015 at 9:29:00 AM UTC-7, 黄祥 wrote: > > why not just copy the user function in the controller 'default' and paste > it on the other controller? > > I'm not sure that was what was being asked. I think KR was wanting to know how to send emails.
General reading: <URL:http://www.web2py.com/books/default/chapter/29/08/emails-and-sms> (there are a couple more hits in the book for "mail.send) Some reading in the group for that: <URL:https://groups.google.com/d/msg/web2py/uKShDBsxI3s/RWLAlGoF61cJ> shows filling the auth fields. <URL:"https://groups.google.com/d/msg/web2py/n-l0oxc5SwE/VsbG4Hd7VIUJ> recommendation to use scheduler because mail.send() is a blocking call. <URL:https://groups.google.com/d/msg/web2py/8LN2jGVtOHg/OfLf1k_9xbsJ> (if you are sending via gmail) I haven't gotten around to trying any of this yet, so I can't answer any specific question, but there's more in the group archives, and most of the answer-providers are active here. /dps -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

