CDO is a service that is a part of IIS I think. It uses SMTP for mail. <BR><BR>You may want to Google it just to be sure but I really wouldn't think so.<BR><BR>If you want to send mail from the web server I would think the mail componenet would have to be on that server.<BR><BR>But then again I'm not a mail expert.<BR><BR>
company webserver in your IIS config as a smarthost:<BR><BR>http://support.microsoft.com/default.aspx?scid=kb;en-us;303734#6<BR><BR>We use this method in network where I work to point at the mail server but thats on the same network not sure if it'd work pointing to a server outside your network.
But I get an error trying to use it<BR><BR> 'cached configuration<BR> Static Conf 'As New CDO.Configuration<BR> If IsEmpty(Conf) Then<BR> Const cdoSendUsingPort = 2<BR> <BR> Set Conf = CreateObject("CDO.Configuration")<BR> <BR> With Conf.Fields<BR> .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = _<BR> cdoSendUsingPort<BR> .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = _<BR> "any smtp server"<BR> .Update<BR> End With<BR> End If<BR>
The link for the code is http://www.pstruh.cz/tips/detpg_send-email-from-asp.htm and http://www.webmasterworld.com/forum47/1419.htm<BR><BR>I do put my SMPT port and E-mail server in the code but get error message below.<BR><BR>Microsoft VBScript runtime error '800a01b6' <BR><BR>Object doesn't support this property or method <BR><BR>/mail.asp, line 11 <BR><BR><BR><BR><BR>
ADODB.Fields error '800a0ea5' <BR><BR>Fields update failed. For further information, examine the Status property of individual field objects. <BR><BR>/mail.asp, line 13 <BR><BR>This is if I don't try to authenticate<BR><BR>.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username"<BR><BR>.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"<BR><BR>.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic<BR>
much if I don't know what line they're on.. not that they'll help a lot with me not every using this object before but they might. Show the code with the line numbers that are failing marked.