Sending emails to 3 addresses....
Boudreau, Emile
Emile.Boudreau at cognos.com
Fri Mar 30 09:11:25 EDT 2007
Thanks so much I would of never found that out.
Problem SOLVED!!!!
Emile Boudreau
-----Original Message-----
From: tdwdotnet at gmail.com [mailto:tdwdotnet at gmail.com] On Behalf Of Tim
Williams
Sent: Friday, March 30, 2007 9:12 AM
To: Boudreau, Emile
Cc: python-list at python.org
Subject: Re: Sending emails to 3 addresses....
On 30/03/07, Tim Williams <tim at tdw.net> wrote:
Emile, (slight change to my original reply)
You are passing the TO addresses as 3 addresses in a single string.
[TO] results in a list containing a single string - not a list
containing 3 individual addresses.
You need to either pass the addresses to the function as a list
containing the 3 addresses as individual strings, and remove the
conversion to a list at sending time. Or change
[TO]
to
TO.split(',')
HTH :)
This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.
More information about the Python-list
mailing list