קוד:
<%@ language="javascript" %>
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From=Request.Form("from")()
myMail.To="amirs_5@hotmail.com"
myMail.TextBody=Request.Form("text")()
myMail.Send
set myMail=nothing
%>
<form method="post" action="contact.asp">
email: <input type="text" name="from" />
<br />
text: <input type="text" name="text" />
<br /><br />
<input type="submit" value="Submit" />
</form>
שגיאה :
קוד:
Error Type:
CDO.Message.1 (0x8004020D)
At least one of the From or Sender fields is required, and neither was found.
/contact.asp, line 8