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 Im 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 cant figure out which has to do with how the fields are referenced / indexed using URLs.
Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"
I dont understand why its done like this but since things arent 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 dont know this is a problem or not because I dont understand how or why Fields are being referenced like this. Is there another way of assigning the required fields other then using URLs?
Thanks
The code is all pretty straightforward, create the object, fill in some fields and then send the request. However there is something I cant figure out which has to do with how the fields are referenced / indexed using URLs.
Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"
I dont understand why its done like this but since things arent 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 dont know this is a problem or not because I dont understand how or why Fields are being referenced like this. Is there another way of assigning the required fields other then using URLs?
Thanks