1.1.6.1. gnr.utils.gnrmail

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

Previous topic

1.1.6. gnr.utils – Mail support

Next topic

1.1.6.2. gnr.utils.ssmtplib

This Page