Message automation: message size growth

J

jpm

Hello,

Using Redemption to send mail in VBA. Encountered issue where messages are
composed and sent but end up much larger than when originally composed. The
messages, as they're created by Redemption, are placed in Outlook(2007)
Drafts folder and subseqently are submitted to mail server(Exchange).

Problem: user's mail account became full while many(100's) messages were
still queued in Drafts folders.
--the messages(with 1 attachment) that were sent prior to the mail
account becoming full, were only 55K in size.
--the remainder of the messages that were sent after the mailbox was
cleaned out, were 1 MB in size.

Does anyone know what would cause this ridiculous bloat in size to the
message sent after the mailbox size was reduced below maximum limits? Having
such large messages make it impractical to use this method for sending any
type of bulk mail that utilizes the mail client. 55K is fine for many 1000's
of messages; 1MB . . . run into problems quickly.

Thanks,
Jim M.
 
J

jpm

INCORRECT information below; I cannot duplicate the problem described below.

But I've a different concern: The messages being sent are based on an
outlook template (.oft) which has a 180K jpg file embedded in it. When the
template is saved ends up being 950K . . . and when used as a message it
grows further. My new question is why the .oft is so bloody big when a
graphic file is attached as an embedded file. If I create a simple text
template it is only 25K. Why the bloat when you save a template with a .jpg
attached?

Any ideas?

Thanks,
Jim M.
 
D

Dmitry Streblechenko

Did you look at the message in OutlookSpy (click IMessage)? Do you see any
large binary properties/ What are the PR_BODY, PR_HTML, PR_RTF_COMPRESSED
sizes?
How about the attachments (GetAttachmentTable tab)?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top