Z
ZRexRider
Hi,
I'm successfully sending email using the following code snip but what I
don't understand is the use of "Http://schema" references. What
happens to all email programs that use these references if this site
were to ever go down? Is there a way to hard code the content behind
these addresses? The program I am writing will live as a Windows
Service on a server. Can I be 100% that this server will have access
to this schema address? Just seems weird to me.
Thanks if anybody can better explain.
With objMailMessage
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver",
strSMTPAddress)
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport",
25)
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing",
cdoSendUsingPort)
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
cdoBasic)
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
strSendUserName)
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
strSendUserPassword)
.From = strFromAddress
.To = strToAddress
.Bcc = strBccAddress
.Cc = strCcAddress
.Subject = strSubject
.Body = strBody
End With
I'm successfully sending email using the following code snip but what I
don't understand is the use of "Http://schema" references. What
happens to all email programs that use these references if this site
were to ever go down? Is there a way to hard code the content behind
these addresses? The program I am writing will live as a Windows
Service on a server. Can I be 100% that this server will have access
to this schema address? Just seems weird to me.
Thanks if anybody can better explain.
With objMailMessage
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver",
strSMTPAddress)
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport",
25)
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing",
cdoSendUsingPort)
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
cdoBasic)
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
strSendUserName)
..Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
strSendUserPassword)
.From = strFromAddress
.To = strToAddress
.Bcc = strBccAddress
.Cc = strCcAddress
.Subject = strSubject
.Body = strBody
End With