Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email'ing in a windows form
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00768830
Message ID:
00769066
Vues:
16
>You normally give your Exchange IP address.

I don't think that's waht the issue is as it should work with an IP address.

I've had this same problem on my Windows 2003 Server and I simply could not get CDO to run either through COM or through the .Net wrapper for it.


CDO is sketchy as best for a server application, but for a desktop app that goes to many people it's probably not a good choice. Maybe that's why it's scoped for the System.Web namespace...


+++ Rick ---

>
>
>>Hello,
>>
>>I have the following ...
>>
>> Dim oMM As MailMessage
>> oMM = New MailMessage()
>> oMM.From = "bagwellk@telspan.com"
>> oMM.To = "bagwellk@telspan.com"
>> oMM.Subject = "Billing Test"
>> oMM.Body = "Test, test, test. "
>> SmtpMail.SmtpServer = "localhost"
>> SmtpMail.Send(oMM)
>>
>>I get ... " Could not access CDO.message object."
>>I know my smtp server is running on my local machine. I have tried many different server names "myserver.mydomain.com" ect. Curiously enough, when I have a blank server name, I get an email created in my inetpub\mailroot\queue, but it never gets sent.
>>
>>Thanks in advance,
>>Ken
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform