Working with classic ASP on Windows Server 2003 IIS6
I'm receiving two mails instead of the only one I expected. The other
is a blank email.
I'm using the next lines and they work fine:
Set iConf = CreateObject("CDO.Configuration")
With iConf
.Fields.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Fields.Item(cdoSMTPServer) = "server.name" ' example
.Fields.Update
End With
Set iMsg = CreateObject("CDO.Message")
With iMsg
Set .Configuration = iConf
.To = "...@..."
.From = "...@..."
.Subject = "some subject"
.TextBody = "some text"
.Send
End With
Set iConf = Nothing
Set iMsg = Nothing
But I can figure out yet how I must configure this to avoid the extra
email.
Thanks in advance