Dim objMessage
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Testing from OM Gang"
objMessage.From = "[email protected]"
objMessage.To = "[email protected]"
objMessage.TextBody = "This is a test message"
objMessage.Send
Set objMessage = Nothing
|