Last page update: September 28, 2011
-
gnr.utils.gnrmail.sendmail(host, from_address, to_address, subject, body, user='', password='')
Send an email
| Parameters: |
- host – the database server host
- from_address – the email sender
- to_address – the email receiver
- subject – the email subject
- body – the email body. If you pass html=True attribute,
then you can pass in the body the html tags
- user – the username
- password – the username’s password
|