Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unattended Email
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01474820
Message ID:
01474896
Views:
115
Take a look at BLAT.DLL - it is a standalone SMTP client with a programmable interface.

>Hi,
>
>following procedure works fine in XP (hanks to Ravi's article in Wiki
>
>
>loMsg = Createobject("CDO.Message")
>loMsg.Fields("Priority").Value = 1 && 1 = High, 0 = Normal	
>loMsg.Fields.Update()	
>
>iConf = Createobject("CDO.Configuration")
>Flds = iConf.Fields
>With Flds
>    .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = ThisForm.nUsing
>    .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = ThisForm.cSMTPServer
>    .Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = ThisForm.nPort
>    .Update
>ENDWITH
>
>With loMsg
>    .Configuration = iConf
>    .To = lcToAddress
>    .From = ThisForm.cSender
>    * Define other message parameters ....
>     .Send
>ENDWITH
>
>
>
>Now when use this in Win7 I will get an error SMTPServer and Sender address are not known, mail cannot be sent out.
>
>How to solve this?
>
>Regards,
>
>Koen
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform