Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatically handling incoming emails
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00835199
Message ID:
00835364
Views:
8
>I am trying to find the best method for processing emails with attachments as they arrive. I can easily create a com object that binds to the OutlookEvents NewMail method but am having trouble negotiaiting the dreaded Outlook Security features.
>
>What I want to do is go through the inbox and :
>1. Take note of the sender's email address (having trouble with Outlook security here - have tried Outlook events and CDO)
>2. Get the contents of the attachment(s) and import into a VFP table
>3. Copy the attachment to a folder determined by the sender
>4. Move the email to a processed folder.
>
>I don't seem to be able to get around the security which is no help as the emails will be coming to an unmanned server.
>
>Is there a better way to do this ? Can I make Outlook automatically save emails to a directory and do the processing outside of Outlook ? (Obviously not knowing the sender's email address and using file naming conventions instead)

Have you considered direct POP3 access to the mail server completely bypassing Outlook and MAPI?
It also would help you prevent the liability issues that could arise with using software that intentionally bypasses the security features of a client application. Just imagine if you install a bypassing software and a malicious script uses it to destroy data or steal addresses.

I have a control called POP3 Wizard which directly interfaces with the mail server and gets the messages.

http://www.SeekfordSolutions.com/Products/POP3Wizard/

Its an option that should at least be considered.
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
Reply
Map
View

Click here to load this message in the networking platform