grivers
Posts: 28
|
Posted: 09/19/2008, 3:53 AM |
|
I need to send authentification information in the ASP code so the SMTP server will relay to external email addresses. I have seen examples like this but don't know how to translate it to aork in code charge
With cdoConfig.Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = "<enter_mail.server_here>"
.Item(cdoSMTPAuthenticate) = 1
.Item(cdoSendUsername) = "<enter_username_here>"
.Item(cdoSendPassword) = "<enter_password_here>"
.Update
End With
Set cdoMessage = CreateObject("CDO.Message")
|
|
|
grupe
Posts: 2
|
Posted: 09/23/2008, 3:49 PM |
|
converts to
cdoConfig.Fields.Item(cdoSendUsingMethod) = cdoSendUsingPort
cdoConfig.Fields.Item(cdoSMTPServer) = "<enter_mail.server_here>"
cdoConfig.Fields.Item(cdoSMTPAuthenticate) = 1
cdoConfig.Fields.Item(cdoSendUsername) = "<enter_username_here>"
cdoConfig.Fields.Item(cdoSendPassword) = "<enter_password_here>"
cdoConfig.Fields.Update
Set cdoMessage = CreateObject("CDO.Message")
|
|
|
|