I did not try headers but tried cc bcc. U suggest I try using with sendmail
syntax?

::Sent from my HTC incredible gOS::

On Jul 27, 2010 11:25 PM, "Zhang Huangbin" <[email protected]>
wrote:


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...

-- 
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.

Reply via email to