IIS 5 & IIS 6
Help with sending email from form
Last post Sep 21, 2016 09:32 AM by Yuk Ding
Sep 20, 2016 01:00 PM|gcapp|LINK
Hello - I am hoping someone can help me.
I am having an issue with code for sending an email from a web-based form. I did a search within this forum and found some code that someone was kind enough to post. So I am using that code but it keeps failing at the point of the email being sent. I
am sort of new to all of this so forgive me. The part of the code that is failing that I am not sure about are highlighted in bold below.
<% Dim myMail, TextBody
myMail.Subject="Your Kronos time change."
'Name or IP of remote SMTP server
My question is: should all that http://schmas.microsoft...etc, etc be there or should it be something else?? If so, what should go in those lines? I truly am confused here, so any help would be appreciated.
Sep 21, 2016 09:32 AM|Yuk Ding|LINK
should all that http://schmas.microsoft...etc, etc be there or should it be something else??
http://schemas.microsoft.com/cdo/configuration/ is the static remote server of microsoft. You don’t have to change the smtpport and sendusing.
You could change the smtp server in myMail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver")=<the server you need like
Here is the link about how to use ASP sending e-mail with CDOSYS: