Since e-mail requires a string. Here is what I could do.
list.append(item1)
list.append(item2)
finalstr = ''.join(list)
return finalstr
-- Original message --
From: "Gabriel Genellina" <[EMAIL PROTECTED]>
> En Tue, 08 May 2007 20:19:22 -0300, Ian Clark <[EMAIL PR
En Tue, 08 May 2007 20:19:22 -0300, Ian Clark <[EMAIL PROTECTED]> escribió:
> On 5/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> I have a script which has a method which returns multiple strings at
>> once using the yield. I would like to send an e-mail of these values in
>> a singl
On 5/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thanks.
> That does help. When teh script sends a mail of the list item(all_data), the
> data shows up like this:
>
> [(' Ham\n', ' eggs \n'),
> (' chicken \n', ' thighs
have to figure out a way to cleanup the content
Thanks
Anil
> -- Forwarded Message: --
> From: "Ian Clark" <[EMAIL PROTECTED]>
> To: python-list@python.org
> Subject: Re: e-mailing multiple values
> Date: Tue, 8 May 2007 23:20:44 +
> &g
On 5/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I have a script which has a method which returns multiple strings at once
> using the yield. I would like to send an e-mail of these values in a single
> e-mail instead of a mail for each string. How would I be able to do that?
>
> Thank
I have a script which has a method which returns multiple strings at once using
the yield. I would like to send an e-mail of these values in a single e-mail
instead of a mail for each string. How would I be able to do that?
Thanks
AJ
--
http://mail.python.org/mailman/listinfo/python-list