Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email readers and auto responders
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00885122
Message ID:
00913841
Vues:
26
You can use CDO for Windows 2000 to parse emails. You can find VB sample at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/_cdosys_idatasource_interface.asp?frame=true. It shouldn't be hard to convert to VFP. For example,
loStm = CREATEOBJECT("ADODB.Stream")
lcEmFileName = < ... >
loStm.Open()
loStm.LoadFromFile(lcEmFileName)
loMsg = CREATEOBJECT("CDO.Message")
loDsrc = loMsg.DataSource
loDsrc.OpenObject(loStm, "_Stream")
? loMsg.Attachments.Count
? loMsg.To
? loMsg.Subject
...
>
>I supposed you have some modified code for receiving email with attached files.
>Your code which sent me secondly by email does not include such a function.
>
>MSwinsock inspired me to make good mail client program like outlook express.
>But yet, I spent a lot of time to find solution for receiving attached files.
>
>Do you have another code for this kind of solution. I always appreciate your kindly answers.
>Thanks,
>
>Stephen Chi
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform