Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read a message from gmail
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01588819
Message ID:
01588835
Vues:
57
Hi Bernard,

From what I read, the only thing that has to do with gmail is the recepient's email no? You send the email via your own smtp server, so I guess the inbound email comes to you via an email client like outlook. You might want to grab Outlook in COM (something like createobject("outlook.application") and then find the email in your inbox.

Let me know if I'm on the right track and if you need support in the outlook part. It's not difficult but it might be a bit of work to find your way in that.

Kind regards,

Marc


>Hi all,
>
>it's possible to read or receive the Content of a message on a server mail ( gmail.com ) with VFP 9 ?
>
>I should like a sample….
>
>ex
>SET CLASSLIB TO c:\cdbk90\common30\libs\wwipstuff.vcx
> LOCAL losmtp AS wwipstuff
> losmtp=CREATEOBJECT("wwIPStuff")
> losmtp.cmailserver="relay.skynet.be"
>
> losmtp.csenderemail="support@amline.be"
> losmtp.csendername="bernhart MILCENT"
>
> *-- Bénéficiaire.
> losmtp.crecipient = "lesbouleaux337@gmail.com"
> losmtp.csubject="wwIPStuff Test Message"
>
> *** Set up Messages - first part plain text
> losmtp.cmessage="Who said this had to be difficult, bra?"
> losmtp.ccontenttype = "text/html"
> losmtp.ccontenttypealternate = "text/html"
> llresult = losmtp.sendmail()
> IF !llresult
> WAIT WINDOW losmtp.cerrormsg
> ENDIF
>
>*************************************************
>
>The question :
>Now i want read message from losmtp.crecipient = "lesbouleaux337@gmail.com"….
>
>i't is possible with wwipstuff ?
>
>
>Thank in a advance

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform