Hi,

The following example descibes how to send a mail
message using SMTP
' Add a reference to system.web

Imports System.Web.Mail

Dim m As New System.Web.Mail.MailMessage()

With m
.From = "[email protected]"
.To = "myself$my.house"
.Subject = "My SMTP Test"
.Body = "My New Message"
End With

SmtpMail.SmtpServer = "MyServerName"
SmtpMail.Send(m)

(source : http://abstractvb.com/code.asp?F=1&P=1&A=1033)

When I run this code I get the error message
Could not access 'CDO.Message' object.

I can remember that the CDO object was installed by Outlook or Outlook Express.

Unfortunately, the company I work for uses Lotus Notes Mail.

Does this mean that the new .net class is based on an old non-system dll ?

Anyone else got the same problems with Lotus Notes ?

(Btw I had written my own smtpmail class in VB6 which is completely based on a winsock connection with smtp commands)

CU
CE