I have been trying to get this code to work:
Dim iMsg As Object
Dim iConf As Object
Dim strbody As String
' Dim Flds As Variant
Set iMsg = CreateObject("CDO.Message")
Set iConf = CreateObject("CDO.Configuration")
iConf.Load -1 ' CDO Source Defaults
Set Flds = iConf.Fields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "188.8.131.52" 'Need your STMP address here
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
Set .Configuration = iConf
.To = "Test@Test.com"
.CC = ""
.BCC = ""
.From = """TestUser"" <TestUser@test.com>"
.Subject = "Important message"
.TextBody = strbody
Set iMsg = Nothing
Set iConf = Nothing
But when I get to
I get an error
I have tried other code, but then I get an error box about if I want to continue sending, and I CAN'T install anything to get around this, is there something else that I can do to answer this box YES???