At least one recipient is required, but none were found.

T

TechNinja

I hope I have the right newsgroup. I searched all groups under this
error message and can't seem to find the problem - which for all
purposes seemes to be a session issue.

I have a page that collects information that submits to a confirmation
page. The confirmation page shows all fields entered, using session
information - response.write Request("fieldname") and then hidden form
fields with the value of each session, e.g. <input name="fieldname"
type="hidden" value="<%= Request("clientFirstName") %>">. Once the
user hits submit on this confirmation page, the information is
submitted to the database with a redirect to to a sendmailscript page
(with a CDOSYS mail script that is supposed to send the user a thank
you email). This page then redirects automatically to the thank you
page (so the mailscript page is not resubmitted if the user hits
refresh. Everything works perfectly without the mailscript, but it
appears the sessions are not being carried across to this page because
it get the following error:

CDO.Message.1 (0x8004020C)
At least one recipient is required, but none were found.

The recipient cannot resolve this -> objMail.To =
Request("emailfield")
If I place an email address there instead, it works perfectly ->
objMail.To = "(e-mail address removed)"

I have reqorked this so many different ways, and believe it or not, I
have it working fine elsewhere for another reason (newsletter signup)
- I have checked my code - and compared the documents involved -
everything is in perfect order.

For some reason, my sessions are not crossing from the confirm page to
the mailscript page.

I can include my code if needed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top