rsbutterfly16
IS-IT--Management
hi guys i had created an activex script that sends emails from sqlserver this is part of the code that pertains to my question:
'establish settings for sending of CDO message
myMail.Configuration.Fields.Item _
(" 'Name or IP of remote SMTP server
myMail.Configuration.Fields.Item _
(" _
="67.59.xxx.xxx"
'Server port
myMail.Configuration.Fields.Item _
(" _
=25
myMail.Configuration.Fields.Update
'send and clean up
myMail.Send
set myMail=nothing
however i just changed my mail to exchange server and changed my profile to an exchange server profile and it is not sending any emails. How do i change this part of the code?
'establish settings for sending of CDO message
myMail.Configuration.Fields.Item _
(" 'Name or IP of remote SMTP server
myMail.Configuration.Fields.Item _
(" _
="67.59.xxx.xxx"
'Server port
myMail.Configuration.Fields.Item _
(" _
=25
myMail.Configuration.Fields.Update
'send and clean up
myMail.Send
set myMail=nothing
however i just changed my mail to exchange server and changed my profile to an exchange server profile and it is not sending any emails. How do i change this part of the code?