R
RICHARD BROMBERG
I am using Front Page 2000 and I am using CDONTS to send e-mail from an ASP
program.
The user enters information into the form and I compose an e-mail from this
data and send it to a fixed destination.
The user enters his e-mail address into one of the form fields.
Until now the From field in this composed e-mail was hard coded.
I made a change to set the From field in the composed e-mail using the
e-mail address entered into the form.
If the user enters an e-mail address like (e-mail address removed) then CDONTS
works fine and the mail is sent
but if the user enters an invalid e-mail ddress such as johnsonbrothers
then the e-mail does not get sent.
Is there some way I can validate the e-mail address that the user entered
and warn him that it was incorrect
and please enter a better one ??
Thansk
program.
The user enters information into the form and I compose an e-mail from this
data and send it to a fixed destination.
The user enters his e-mail address into one of the form fields.
Until now the From field in this composed e-mail was hard coded.
I made a change to set the From field in the composed e-mail using the
e-mail address entered into the form.
If the user enters an e-mail address like (e-mail address removed) then CDONTS
works fine and the mail is sent
but if the user enters an invalid e-mail ddress such as johnsonbrothers
then the e-mail does not get sent.
Is there some way I can validate the e-mail address that the user entered
and warn him that it was incorrect
and please enter a better one ??
Thansk