Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDO Stopped Working
Message
From
24/06/2005 12:34:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01026265
Message ID:
01026355
Views:
20
Thanks Sergey, I actually found another app's site that contains pretty good instructions for setting up an SMTP server in Windows 2000 Server and Windows XP Professional:

http://www.resortdata.com/Customers/Knowledge/KB-Crystal/KC00003.htm

>Tracy,
>
>CDO 2000 can pickup SMTP configuration from OE default account only. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/_cdosys_messaging_configuration.asp for details.
>
>>I finally got it working again, but only if I specify the SMTP server (which I never had to do before with CDO). This is not feasible because we have thousands of users and who knows what their smtp server is - they won't even know...
>>I just want to send an error log to our mailbox from the user and all users have email but different types of email: aol, hotmail, outlook, outlook express, etc...
>>
>>
>>loConfig = CREATEOBJECT('CDO.Configuration')
>>loCdoMessage = CREATEOBJECT("CDO.Message")
>>loCdoMessage.Configuration = loConfig
>>loCdoMessage.From = "myemailadress@email.com"
>>loCdoMessage.To =  "myemailaddress@email.com"
>>loCdoMessage.HtmlBody = "Body text"
>>*loCdoMessage.Addattachment("c:\file.doc")
>>loConfig.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
>>loConfig.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "hereIenteredmysmtpserver"
>>loConfig.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
>>loConfig.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
>>loConfig.Fields.Update
>>loCdoMessage.Send()
>>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform