Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mabry Mail & Attachments
Message
 
To
26/05/2004 09:04:10
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00907301
Message ID:
00908020
Views:
27
>Hi All,
>
>I was wondering if anyone knew how I could use the Mabry Mail Control to save an attachment. I need to be able to read the body part for a line of text to confirm the email. Then take the attached Excel file and save it to the network under a specific name. I know I can descend into the 'Parts' property of the email. But I'm blocked at how to recognize & save the file.
>
>TIA
>Mike

Mabry doesn't supply a simple save attachment command?
hmmm.

You can detect the parts by checking the headers for distinct signatures only found in attachments such as the content-disposition.
Also you will need to decode the parts using a decoder. The encoding format is found in the content-encoding header.

If you want an easier way, you can also check out my work. It handles all that automatically.
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform