Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Composing Emails - The Hard Way

Status
Not open for further replies.

andrewvanbeck

Programmer
Jul 4, 2001
59
GB
Hello all,

I am writing a program to create .eml files, basically because of a bug in our system preventing emails being sent from Microsoft Access. I am manually building a .eml file, then I'm opening it in outlook for sending. Now my problem is attachments, I have all the code working to make the .eml file and include an attachment but attachments are encoded in .eml file, using Base 64.

My problem is converting my original attachment into Base 64 encoding. Is there a way I can set the 'Content-Transfer-Encoding' to no encoding, or do any of you know how Base 64 encodes the attachment.

Hope any of you can help.


Andrew.
 
Seems like a tough way to fix your problem. What system are you referring to that has the "Bug" and what have you done to try getting the "Bug" fixed?

If one tries to "go around" a bug... the bug still exists and will most likely bite you another day!
 
I'm pretty sure the bug is with our email server software. Basically when using SendObject, Access crashes randomly. I've tried re-installing and I've tried the latest patches, but they make no difference.

I even tried using a little command line passing routine, which opens outlook and creates my email but I had to scrap that because you are limited to how much text you can pass on a command line.

Anyway it does'nt really matter now because I decided against using attachments, I export my report to a file, then include a link to the file. Believe it or not, the system actually works very well, after a lot of work that is.

Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top