Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Generating multi-part emails

5 views
Skip to first unread message

Steven D'Aprano

unread,
May 16, 2013, 1:22:38 AM5/16/13
to
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

dieter

unread,
May 16, 2013, 2:01:55 AM5/16/13
to pytho...@python.org
Steven D'Aprano <steve+comp....@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.

0 new messages