Question
Thread display: Collapse - |
All Answers
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
ASP - CDO.Message issue sending
objMail.To = Request.QueryString("EmailTo")
objMail.From = Session("EmailFrom")
objMail.Subject = "Your E-Card from " & Request.QueryString("NameFrom") & "<" & Request.QueryString("EmailFrom") & ">"
objMail.TextBody = "<img src=""" & Session("CardURL") & """ alt=""Your E-Card"">"
objMail.TextBody = objMail.TextBody & "<br>To: " & Session("NameTo") & " <" & Session("EmailTo") & ">"
objMail.TextBody = objMail.TextBody & "<br>Message: " & Request.QueryString("Message")
objMail.TextBody = objMail.TextBody & "<br>From: " & Session("NameFrom") & " <" & Session("EmailFrom") & ">"
objMail.Send
if Not objMail.SendMail Then
response.write "Mailing Failed... Error is: <BR>"
response.write objMail.Response
End if
Set objMail = Nothing
Response.Write "The E-Card has been sent successfully."
The error I get is:
CDO.Message.1 error '8004020c'
At least one recipient is required, but none were found.
/cs/default.asp, line 104