[Email-SIG] size of a message

Eric S. Johansson esj at harvee.org
Thu Aug 5 06:46:33 CEST 2004


I'm looking to find how to calculate the size of a message held by a 
e-mail object.  Obviously, I could convert the whole thing to a string 
and take its length but that seems rather distasteful.

This seems like a real basic function and I'm sure I missing something 
in the documentation due to the fact that I am up past my bedtime.

additionally, the project I working on gave me a reason to add extra 
headers dynamically to mail messages.  So I have a new set of classes 
and examples of how to do this and I've figured out how to add this to 
the current classes in an upwards compatible fashion.

I make no claim to this implementation being generally useful in 
anywhere other way than a reference implementation.

If it is of interest, you're welcome to it

---eric

-- 
Speech recognition in use.  It makes mistakes, I correct most



More information about the Email-SIG mailing list