How to send mails from web.py
web.sendmail function can be used to send mail from web.py.
If any mail server is specified in
web.config it uses that to send the mail or it uses the traditional sendmail from
web.config.smtp_server = 'mail.mydomain.com'
To send a mail to multiple recipients, a list can be passed for
Optinal cc and bcc keyword arguments can be passed to
web.sendmail to add Cc and Bcc recipients.
Values of cc and bcc can be list as well.
Addition headers can be passed to