Click here to Skip to main content
15,886,724 members
Articles / Outlook
Alternative
Tip/Trick

Sending an executable file via Outlook

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
5 Jan 2011CPOL 7.9K   1   3
Outlook blocks certain files it finds to be dangerous. There has been plenty written about that. What the server stops from passing, either exchange, lotus notes or any firewall directly examining SMTP protocols on the wire for example, is a whole different story.I wrote some VBA code to...
Outlook blocks certain files it finds to be dangerous. There has been plenty written about that. What the server stops from passing, either exchange, lotus notes or any firewall directly examining SMTP protocols on the wire for example, is a whole different story.

I wrote some VBA code to include data into a text block in Outlook, it allows for complete files to be added to a text block. I reused the code to create a Word document, with macros/vba-code, that would work as a container for any kind of file. The files are encoded in a custom Base64 encoding, so as long as the firewall/server allows for Word documents (with VBA code) to pass, you can use it to send anything you like.

Here's the post[^], look for the downloadable example at the bottom. Give it a try.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Kong Inc
Netherlands Netherlands
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralFirewalls that verify the contents by analysing the attachme... Pin
Tieske810-Jan-11 19:13
professionalTieske810-Jan-11 19:13 
GeneralZip, rename zip to .txt and attach. Gets past outlook, virus... Pin
Nathan J Bolstad10-Jan-11 11:47
Nathan J Bolstad10-Jan-11 11:47 
GeneralRe: The problem was not with Outlook. Pin
David Crow8-Aug-11 3:39
David Crow8-Aug-11 3:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.