[Tutor] Error Using A List And SMTP

Sarma Tangirala tvssarma.omega9 at gmail.com
Wed May 16 12:13:46 CEST 2012


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

-- 
Sarma Tangirala,
Class of 2012,
Department of Information Science and Technology,
College of Engineering Guindy - Anna University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120516/515612e4/attachment.html>


More information about the Tutor mailing list