hi marc,
i founded this today…
http://www.example-code.com/foxpro/imap_readMail.aspperhaps it is possible …?
I am in a company. ( Morning ).
i have a smartphone
I want to point ( pointeuse )
first , I send a message on
presence@gmail.com with subject = “customer 1234 want point"
my server e-mail reads every 3 seconds the messages from presence@gmail.com
he read “customer 1234 want point" => open table Presence.dbf => id = 1234 , presence = .T. , date = date()
etc …..
i hoop you understand ?
bernhart
>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