Re: [Twisted-Python] Sent e-mails coming up empty

2011-10-05 Thread Laurens Van Houtven
Eek! As Stephen somewhat tongue-in-cheekly pointed out, this was fixed by rewinding the StringIO ;) cheers lvh On 05 Oct 2011, at 22:46, Thorne, Stephen wrote: > Have you tried rewinding the stringio with .seek(0,0) first? > > Stephen > > On Wed, Oct 5, 2011 at 21:34, Laurens Van Houtven <

Re: [Twisted-Python] Sent e-mails coming up empty

2011-10-05 Thread Thorne, Stephen
Have you tried rewinding the stringio with .seek(0,0) first? Stephen On Wed, Oct 5, 2011 at 21:34, Laurens Van Houtven <_...@lvh.cc> wrote: > Hey, > > > I've hacked some code together based on smtpclient_tls.py and radix's > article on how to send e-mail: > http://radix.twistedmatrix.com/2010/07

[Twisted-Python] Sent e-mails coming up empty

2011-10-05 Thread Laurens Van Houtven
Hey, I've hacked some code together based on smtpclient_tls.py and radix's article on how to send e-mail: http://radix.twistedmatrix.com/2010/07/how-to-send-good-unicode-email-with.html Here's what I've come up with: http://paste.pocoo.org/show/487918/ The e-mail arrives, but it's as if the bod