Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send mail with VFP
Message
 
 
To
24/09/2002 08:09:18
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00703516
Message ID:
00703731
Views:
14
Cool. Thanks Marcia.

>I like CDO too. Unfortunately, without Outlook Express installed or IIS insalled and configured, you still have to manually configure the configuration object in order to send the e-mail and you forgot to mention that < s >. My CDO wrapper class has code like this:
>
>
>WITH This
>  *** create configuration and message objects
>  .oConfig = CREATEOBJECT( 'CDO.Configuration' )
>  IF TYPE( 'This.oConfig' ) = 'O'
>    *** Check to see if we have configuration infomation
>    IF NOT EMPTY( NVL( .oConfig.Fields( "http://schemas.microsoft.com/cdo/configuration/smtpserver").value, "" ) )
>      llRetVal = .T.
>    ELSE
>      *** Manually set Configuration properties
>      *** using the CdoConfig table
>      llRetVal = This.GetSmtpInfo()
>    ENDIF
>  ENDIF
>ENDWITH
>
>
>
>The GetSmtpInfo() method reads the required settings from a table.
Previous
Reply
Map
View

Click here to load this message in the networking platform