On Jul 28, 2010, at 11:15 AM, Greg Milby wrote:
> I want to use gmail
>>
>> Did you try this:
>> http://webpy.org/cookbook/sendmail
I mean, did you try the bottom lines?
# ----
Addition headers can be passed to web.sendmail via headers tuple.
web.sendmail('[email protected]', '[email protected]', 'subject', 'message',
cc='[email protected]', bcc='[email protected]',
headers=({'User-Agent': 'webpy.sendmail', 'X-Mailer':
'webpy.sendmail',})
)
# ----
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/webpy?hl=en.