|
-
January 6th, 2009, 04:42 AM
#1
[RESOLVED] .eml attachments
Greetings to all.
I'm writing a program that is supposed to create a .eml file containing either an xml or a pdf file or both as attachments.
Prior to writing this program, I had never seen what a .eml file looks like, let alone an .eml file with attachments(I never used any of the outlooks), so I got someone to send me an email containing both these attachments and save the .eml file, so I could use this as a template in my own program. So far so good.
However, I noticed that the pdf file, after having been attached, is a huge string of letters(see below). Probably some sort of encoding. My problem is, my program is going to be creating several different pdf files and adding them as attachments to .eml files. How do I encode the different pdf files into a similar huge string of text as the one below? Or am I going about this the wrong way? What would be an alternative way to do this? Because having to encode that long string of text seems like it would be a very daunting task.
Long story short: How do I programatically create an .eml file that contains a .pdf as attachment?
Any help whatsoever would be very appreciated. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|