Jump to content
xisto Community
Sign in to follow this  
alexviii

Inc_mail.asp

Recommended Posts

Hi everyones,

I have been trying to set up my email notification settings for a weeks, and I'm stumped.

I even found a solution that helped me before.. but now I can't seem to get this right.

I'm trying to use CDOSYS, as I did in the past.

Here's the code I replaced in the inc_mail.asp file:

case "cdosys"Set objNewMail = Server.CreateObject("CDO.message")objNewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2objNewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "sendmail2.brinkster.com"objNewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername")="2boobs@davemadethis.com"objNewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") ="XXXX"objNewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1objNewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25objNewMail.Configuration.Fields.Update'Format and send messageErr.Clear objNewMail.To = strRecipientsobjNewMail.From = strSenderobjNewMail.Subject = strSubjectobjNewMail.TextBody = strMessageOn Error Resume NextobjNewMail.SendIf Err <> 0 Then Err_Msg = Err_Msg & "Your request was not sent due to the following error: " & Err.Description & ""End if

10x
Edited by alexviii (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.