Gut Posted March 27, 2009 Share Posted March 27, 2009 I need to save an attachment out of an email to a directory. Any idea how I would do that? I have grabbed the msg and saved it to a txt file, but i can't seem to get the attachment out of the text. I have even tried to decode the attachment string with base64, but no luck. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 27, 2009 Share Posted March 27, 2009 Start by deshunting the torpedobay to the umbrella and position it 3,4 meters right from the death star and then sing the tune to knight rider 47 billion times... Errm wait? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
TerarinK Posted March 27, 2009 Share Posted March 27, 2009 Can we get a test run of your script? 0x576520616C6C206469652C206C697665206C69666520617320696620796F75207765726520696E20746865206C617374207365636F6E642E Link to comment Share on other sites More sharing options...
TerarinK Posted March 27, 2009 Share Posted March 27, 2009 Found it http://www.autoitscript.com/forum/index.ph...st&p=492031 0x576520616C6C206469652C206C697665206C69666520617320696620796F75207765726520696E20746865206C617374207365636F6E642E Link to comment Share on other sites More sharing options...
Gut Posted March 27, 2009 Author Share Posted March 27, 2009 Sorry, let me clarify. 1: I am popping a pop3 server, downloading the message. 2: I want to save the attachment from the message into a directory. So far I can pop the server and grab the message. I save it as a *.eml file and I can read the text. I see where the attachment is stored, but when I try to decode that info and save it to a file it says the file is corrupt. The link above appears to be for encoding and sending an attachment. Thanks Link to comment Share on other sites More sharing options...
Gut Posted March 29, 2009 Author Share Posted March 29, 2009 Anybody? Any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now