Follow-up to my original post.
Is it possible for the "objEmail.T o" to lookup the values from a sqlserver
table?
At the moment, I type the email address separated by a semi-colon.
TIA~
Set objEmail = CreateObject("C DO.Message")
objEmail.From = "send@test. com"
objEmail.To = "receive@test.c om"
objEmail.Subjec t = "TEST SUBJECT"
objEmail.AddAtt achment "\\server\test. csv"
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/sendusing") = 2
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/smtpserver") = "SERVER_NAM E"
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/smtpauthenticat e") = 1
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/sendusername") = "username"
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/sendpassword") = "userpwd"
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/smtpserverport" ) = 25
objEmail.Config uration.Fields. Update
objEmail.Send
set objEmail = nothing
Is it possible for the "objEmail.T o" to lookup the values from a sqlserver
table?
At the moment, I type the email address separated by a semi-colon.
TIA~
Set objEmail = CreateObject("C DO.Message")
objEmail.From = "send@test. com"
objEmail.To = "receive@test.c om"
objEmail.Subjec t = "TEST SUBJECT"
objEmail.AddAtt achment "\\server\test. csv"
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/sendusing") = 2
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/smtpserver") = "SERVER_NAM E"
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/smtpauthenticat e") = 1
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/sendusername") = "username"
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/sendpassword") = "userpwd"
objEmail.Config uration.Fields. Item("http://schemas.microso ft.com/cdo/configu
ration/smtpserverport" ) = 25
objEmail.Config uration.Fields. Update
objEmail.Send
set objEmail = nothing
Comment