I have a basic asp site and have been using the code below for years. Recently added Implicit SSL and now I get a 500 error. Is there an update or work around for a simple piece of code that will allow me to send an email from my site? I have searched and tried dozens of sample email codes with no luck.
sendUrl="http://schemas.microsoft.com/cdo/configuration/sendusing"
smtpUrl="http://schemas.microsoft.com/cdo/configuration/smtpserver"' Set the mail server configuration
Set objConfig=CreateObject("CDO.Configuration")
objConfig.Fields.Item(sendUrl)=2 ' cdoSendUsingPort
objConfig.Fields.Item(smtpUrl)="xxx.my-server.com"
objConfig.Fields.Update
' Create and send the mail
Set objMail=CreateObject("CDO.Message")
' Use the config object created above
Set objMail.Configuration=objConfig
objMail.From="myemail@domain.com"
objMail.To="myemail@domain.com"
objMail.Subject="subject info"
objMail.TextBody="body info"
objMail.Send