Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending email within VFP
Message
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01160261
Message ID:
01160811
Views:
19
This message has been marked as a message which has helped to the initial question of the thread.
The "http://schemas.microsoft.com/cdo/configuration/..." are the names of configuration fields not real Internet addresses. IOW, your program doesn't go to Internet to read anything from http://schemas.microsoft.com/cdo/configuration.


>But I have another question... Is it possible to override the refferencies to http://schemas.microsoft.com/cdo/configuration ? what if my ISP fails and there is no access to Internet at the momment when the program runs?
>
>
>>Unless you are sending through the same machine that nthe code is running on you need to add;
>>
>>oMsg.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
>>oMsg.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.server.address"
>>oMsg.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
>>oMsg.Configuration.Fields.Update
>>
>>Before you send tha mail
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform