Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45400 > unrolled thread

Generating multi-part emails

Started bySteven D'Aprano <steve+comp.lang.python@pearwood.info>
First post2013-05-16 05:22 +0000
Last post2013-05-16 08:01 +0200
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Generating multi-part emails Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-16 05:22 +0000
    Re: Generating multi-part emails dieter <dieter@handshake.de> - 2013-05-16 08:01 +0200

#45400 — Generating multi-part emails

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-05-16 05:22 +0000
SubjectGenerating multi-part emails
Message-ID<51946d1e$0$29978$c3e8da3$5496439d@news.astraweb.com>
I wish to generate some test data for a program that deals with emails. I 
need something that can produce multi-part emails, including "broken" 
emails that violate email standards, especially when it comes to Unicode.

Does anyone know of something like this that already exists? It's not 
necessary for the package to actually send the emails, dumping them into 
an mbox is sufficient.


-- 
Steven

[toc] | [next] | [standalone]


#45402

Fromdieter <dieter@handshake.de>
Date2013-05-16 08:01 +0200
Message-ID<mailman.1735.1368684129.3114.python-list@python.org>
In reply to#45400
Steven D'Aprano <steve+comp.lang.python@pearwood.info> writes:

> I wish to generate some test data for a program that deals with emails. I 
> need something that can produce multi-part emails, including "broken" 
> emails that violate email standards, especially when it comes to Unicode.

I would start producing legal messages (e.g. with the "email"
package) and then put in common standard violations.

I am using the XEmacs "vm" email package and it has
difficulties with the quoting of non-ascii characters
in header lines (it performes the quoting based on non-ascii
character sequences rather than on words, as it should).


Maybe, there is an email message catalog around for the test
of email servers/clients. I would check for this in corresponding
open source projects.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web