Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15795

CDO.Message Problem

$
0
0
I just tired running an old VB6 program that uses CDO.Message to send emails. The last time it ran was a few years back and I believe everything worked if I’m remembering correctly, but when using it today emails weren't delivered.

The code is all pretty straightforward, create the object, fill in some fields and then send the request. However there is something I can’t figure out which has to do with how the fields are referenced / indexed using URL’s.

Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"

I don’t understand why its done like this but since things aren’t working I went ahead and tried coping some of the URL's into my browser and got this message:

“The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.”

I don’t know this is a problem or not because I don’t understand how or why ‘Fields’ are being referenced like this. Is there another way of assigning the required fields other then using URLs?

Thanks

Viewing all articles
Browse latest Browse all 15795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>