Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
You can start with this
Set objMessage = CreateObject("CDO.Message"
objMessage.Subject = "yea mail"
objMessage.From = "me@my.com"
objMessage.To = "test@mydomain.com"
' objMessage.TextBody = "This is some sample message text."
objMessage.HTMLBody = "<h1>This is some sample message html.</h1>"
objMessage.Send
If you are on a shared host, chances are this might work. If you need to use a remote smtp or authorize with a password check out the example, "Sending a text email using authentication against a remote SMTP server."
You might have to do a few trial and errors to get the correct settings. I would try the simple version first. If that does not work, you can try and ask your web host which settings will work for cdo email. If you are using a remote smtp service then you could probably just use the given sample for remote but make sure you have the username, password, host, and port set.