The scary "Could not access 'CDO.Message' object" This is probably the most common error thrown by System.Web.Mail. If you get this error, the FIRST THING TO DO, is to write out all InnerException messages. This will tell you the true error and it will be easer to fix. See Checking the Exception (READ THIS FIRST) for more information. Although this error message implies there is a permission problem, typically there isn't. However, after trying everything else, you may will want to try the suggestions listed at Error loading type library/DLL. Now, on to some suggestions: Suggestion 1 Specify a valid mail server for the SmtpMail.SmtpServer property. If that property is not set, at least set it to 127.0.0.1. For example:
SmtpMail.SmtpServer = "127.0.0.1"
SmtpMail.SmtpServer.Insert( 0, "127.0.0.1 or your mail server name here")
Copyright © 2004 Contact: Dave Wanta. aspNetEmail aspNetPOP3 aspNetMime