On 16 May 2012 20:37, Alan Gauld wrote:
> On 16/05/12 12:37, Sarma Tangirala wrote:
>
>>But I do have another question. Maybe this is a misunderstanding
>>about the MimeText type, but why does MimeText care about the To
>>field when the actually sending is being done by SMTP?
>>
>
>
On 16/05/12 12:37, Sarma Tangirala wrote:
But I do have another question. Maybe this is a misunderstanding
about the MimeText type, but why does MimeText care about the To
field when the actually sending is being done by SMTP?
OK. That was a stupid question. Sorry for the noise. Pl
On 16 May 2012 17:04, Sarma Tangirala wrote:
> Hi Walter,
>
>
>> All the headers in the MimeText object needs to be strings. You can't
>> directly pass a list object containing multiple recipients to the "To"
>> header of your MimeText object on line 31 in your code, and expect it to
>> work. Y
Hi Walter,
> All the headers in the MimeText object needs to be strings. You can't
> directly pass a list object containing multiple recipients to the "To"
> header of your MimeText object on line 31 in your code, and expect it to
> work. You've got to instead first convert the list to valid st
Hi Sarma
On 16 May 2012 11:13, Sarma Tangirala wrote:
> Hey guys,
>
> I was just trying out SMTP and I keep getting a attribute error,
> *AttributeError:
> 'list' object has no attribute 'lstrip''*, when I use a list to store the
> send address.
>
> Code - http://pastebin.com/9NmCNdRb
>
> Trace
Hey guys,
I was just trying out SMTP and I keep getting a attribute error,
*AttributeError:
'list' object has no attribute 'lstrip''*, when I use a list to store the
send address.
Code - http://pastebin.com/9NmCNdRb
Traceback - http://pastebin.com/m1cgKDnn
I'm not sure I understand why this is