Question of Email

Results 1 to 3 of 3

Thread: Question of Email

  1. #1
    Join Date
    Dec 1969

    Default Question of Email

    I want to have email go to different email address depending different hotels by using if statement. if not, any way can do it? is that possible. I have the code as below:<BR><BR>set ml = CreateObject("CDONTS.NewMail")<BR> ml.From = Request.Form("Email") <BR> ml.To ="" <BR> ml.subject=""<BR> ml.Body = strBody <BR> ml.send

  2. #2
    Join Date
    Dec 1969

    Default Yep, you can use an If statement <eop>


  3. #3
    Join Date
    Dec 1969

    Default RE: Question of Email

    set ml = CreateObject("CDONTS.NewMail")<BR>ml.From = Request.Form("Email") <BR>if (this) then<BR>ml.To ="" <BR>else<BR>if (that) then<BR>etc.<BR>ml.subject=""<BR>ml.Body = strBody <BR>ml.send

Posting Permissions

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