Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nigel Coates MAPI Class or Outlook class which should I
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00503064
Message ID:
00503454
Views:
29
Any lurkers on this thread please feel free to jump in with your comments:)



Hello Colin

After discussing this problem through with out network boys they are indicating
that we might be better off using SMTP for the email transfers to avoid problems with differing email systems a different client sites.

I currently send mail using SMTP by using the West Wind utility for this, but I have no experience in reading mail using just SMTP. I assume this would require us to use a utility that connects to an SMTP server and just download the mail using their internet connection.

I am a bit concerned that corporate sites might not be able to connect through their firewalls in this way.

It may be that we just have to tell anyone that uses the system that they must have MS Outlook installed on their machines. This would allow us to use the Outlook control which I imagine will allow us to extract the attachments somehow.





>Mark
>
>I am trying to build a similar app to you. My problem is that MapiMail tells me what the attachment files are by name but doesnt allow me to extract them and copy them to another location. Maybe I am missing somthing.
>
>This is the tail end of the code I am using.
>
>oObj=CreateObject("cusmapi")
>oObj.ReadMail(lcusername,lcpassword,lcunread,lcsender,lcsubject,lcstart,lcend,lcfetch)
>for x=1 to ff
>fred(x)=oObj.GetAttachmentFile(x)
>next
>
>array fred thus has the names of the attachments but not how to extract them.
>Any bright ideas?
>
>Colin Northway
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform