Hello Marc,
I'll tell you the solution I found for this .
First of all, and big condition: my gsm provider has an application called "mail2sms". It requeries at installation MS outlook because it creates an add-in there. After installation in MS Outlook appears a new button "Send SMS" . But I wanted to send sms from vfp, like you. So, what I used from it to send programatically from vfp was to use an option (in MSOL) which sounds like this: "Automatically send a SMS when a high priority message comes" . So , every time I want to receive a SMS from PC, I send myself a message with high priority from VFP through MSOL, and when it comes back to Inbox, a sms is automatically sent . The big problem is that I receive spams with HP and a sms is sent. Even setting filters in MSOL is unusefull because the filters are applied after the sms is sent . But I use it like this .
Sending a sms from Outlook is easy with automation, like this:
local lOapp
lOapp=CREATEOBJECT("Outlook.Application")
lInstOapp=lOapp.CreateItem(0)
lInstOapp.Subject="mesaj din PC"
lInstOapp.To="
mpascu@yahoo.com"
lInstOapp.Importance= 2 && olImportanceHigh
lInstOapp.Body="Atentie. Request Timed Out "
lInstOapp.Send
I didn't give my real address , sorry for that .
HTH,
Mihai .