You've probably checked this, but just in case: have you made sure that you've set the From property of the MailMessage. I can't remember the exact error you get if you don't set it, but I seem to remember it's something misleading that looks a bit like a CDO config error...
Cheers, Julian Julian Skinner Coming soon - Simon Robinson's Advanced .NET Programming http://www.wrox.com/books/1861006292.htm Take your .NET knowledge to the next level! Wrox Press http://www.wrox.com ASP Today http://www.asptoday.com C# Today http://www.csharptoday.com > -----Original Message----- > From: Brady Gaster [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 9:42 PM > To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTNET] Web Mail > > > Make sure you are telling the SmtpMail object which server to > use to send > the mail. > > > Brady Gaster > Wells-Fargo Service Company > Executive Support > (602) 790-2081 > > > > -----Original Message----- > > From: Frederic Gos [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, December 11, 2002 8:07 AM > > To: [EMAIL PROTECTED] > > Subject: Re: [ADVANCED-DOTNET] Web Mail > > > > > > Hi Peter, > > > > Do you have the IIS SMTP service running and configured in > > the server? If not, try to install that. > > > > btw, I know you stated that 'smtp server is another machine' > > but I think that CDOSYS.DLL comes with the SMTP server. > > > > Hope this helps > > Frederic > > > > -----Original Message----- > > From: Barraud Peter(KSA) [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, December 10, 2002 1:53 AM > > To: [EMAIL PROTECTED] > > Subject: [ADVANCED-DOTNET] Web Mail > > > > > > Hi, > > I've created this simple app that sends mail using .net's web > > mail in vb.net now if I run it off my machine it runs just > > fine but if I run it off the server then it gives an error > > "Could not create CDO. Message object" The server config: > > dotnet installed smtp server is another machine outlook not > > installed now that's the point on my machine outlook is > > installed while it's not installed on the server is this a > > problem?? I put this up on a discussion group and the > > response I got was to install outlook on the server. > > obviously this app will have to be put on a production server > > so if someone's already come across this, is installing > > outlook is the only way?? thanks Peter > > > > -----Original Message----- > > From: Dale [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, December 10, 2002 5:48 AM > > To: [EMAIL PROTECTED] > > Subject: [ADVANCED-DOTNET] IrDA and Sockets > > > > > > I am looking for sample C# code for accessing the IrDA port > > using the Sockets. Using AddressFamily.Irda is documented but > > enums are used for SocketType and ProtocolType in declaring a > > new socket? I am looking to receive vCard data from a palm. > > Any suggestions would be appreciated > > > > Socket listener = new Socket(AddressFamily.Irda, > > SocketType.??, ProtocolType.??); > > > > You can read messages from the Advanced DOTNET archive, > > unsubscribe from Advanced DOTNET, or subscribe to other > > DevelopMentor lists at http://discuss.develop.com. > > > > You can read messages from the Advanced DOTNET archive, > > unsubscribe from Advanced DOTNET, or subscribe to other > > DevelopMentor lists at http://discuss.develop.com. > > > > You can read messages from the Advanced DOTNET archive, > > unsubscribe from Advanced DOTNET, or subscribe to other > > DevelopMentor lists at http://discuss.develop.com. > > > > You can read messages from the Advanced DOTNET archive, > unsubscribe from Advanced DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.