Look into gluon/tools.py there is a
class Mail:def send(
self,
to,
subject = '[no subject]',
message = '[no message]',
attachments=None,
cc=None,
bcc=None,
reply_to=None,
sender=None,
encoding='utf-8',
raw=False,
headers={}
): ....
You can mail your own mail class and set:
auth.settings.mailer = YourMail()
On Friday, 6 December 2013 07:25:38 UTC-6, Relsi Maron wrote:
>
> Hi,
>
> I'm using boto to send my emails through Amazon SES, like this:
>
> http://www.web2pyslices.com/slice/show/1448/amazon-web-services-simple-email-service-using-boto
>
> All email of the app is ok, are send by my function, but the verify
> register and reset password email already are sent automatically, how I can
> change this to my function?
>
> Thanks to all
>
--
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/groups/opt_out.