M
mister-Ed
Trying to use cdosys mail, but this is giving me an "no such object"
error. the hosting company is not much help, but their list of
components offered does include cdosys mail:
<form method="post" action="cdosys-godaddy.asp"><p class="bodymd-
wh">Your Name:
<input type="text" name="uname" id="uname">
<br>City:
<input type="text" name="city" id="city">
<br>State:
<input type="text" name="state" id="state">
<br>
Your Email:
<input type="text" name="EMail" id="Email">
<br><br>
<input type="submit" name="btnSubmit"
class="inputSubmit" value="Submit">
</form>
cdosys-godaddy.asp:
<%
dim strEmail,struname,strcity,strstate
strEMail = Request("email")
struname = Request("uname")
strcity = Request("city")
strstate = Request("state")
Dim objMail
'Create the mail object
Set objMail = Server.CreateObject("CDO.Message")
'Set key properties
objMail.From = (e-mail address removed)
objMail.To = strEMail
objMail.Subject= "Insert here your subject text"
objMail.TextBody = "Insert here your plain body text"
'Send the email
objMail.Send
'Clean-up mail object
Set objMail = Nothing
%>
???
Ed
error. the hosting company is not much help, but their list of
components offered does include cdosys mail:
<form method="post" action="cdosys-godaddy.asp"><p class="bodymd-
wh">Your Name:
<input type="text" name="uname" id="uname">
<br>City:
<input type="text" name="city" id="city">
<br>State:
<input type="text" name="state" id="state">
<br>
Your Email:
<input type="text" name="EMail" id="Email">
<br><br>
<input type="submit" name="btnSubmit"
class="inputSubmit" value="Submit">
</form>
cdosys-godaddy.asp:
<%
dim strEmail,struname,strcity,strstate
strEMail = Request("email")
struname = Request("uname")
strcity = Request("city")
strstate = Request("state")
Dim objMail
'Create the mail object
Set objMail = Server.CreateObject("CDO.Message")
'Set key properties
objMail.From = (e-mail address removed)
objMail.To = strEMail
objMail.Subject= "Insert here your subject text"
objMail.TextBody = "Insert here your plain body text"
'Send the email
objMail.Send
'Clean-up mail object
Set objMail = Nothing
%>
???
Ed