Default Email from Web

Results 1 to 2 of 2

Thread: Default Email from Web

  1. #1
    Join Date
    Dec 1969

    Default Default Email from Web

    I am using ASP to send a form. I would like to set up a default email for the FromAddress property that will automatically be used if the user does not input an email address.<BR><BR>I am not sure exactly how to do this, though I would guess that I need to use an if then statement. I&#039;m not sure exactly what to do with it, thought I think that it is something similar to below. I appreciate any help! Thanks<BR><BR>If Request.Form("email") = ""<BR>then Request.Form("email") = ""

  2. #2
    Join Date
    Dec 1969

    Default RE: Default Email from Web

    Well<BR><BR>first I would check to see that its a valid email address (lots of examples on the net)<BR><BR>dim theemail<BR>theemail = request.form("email")<BR>if (len(theemail) = 0) then theemail = ""<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts