concat string with contents of variable

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Len Burman

    concat string with contents of variable

    I have some code in a form which inputs a friends email address and when you
    submit it sends the message to the person at the address. I want to be able
    to email to the variable name and also a hard coded address. When I actually
    input two addresses, it sends to both. The partial code reads:
    Set objMail = CreateObject("C DONTS.NewMail")
    objMail.From= request.form("y ouremail") 'Specify sender's address
    objMail.To=requ est.form("yourf riendemail")

    yourfriendemail is a variable gotten from a form. I want to replace it with
    the contents of yourfriendemail and abc@comcast.net. When I input on the
    form abc@bill.com; abc@comcast.net it sends to both. I have tried concat()
    adn using a + sign to concatenate.


Working...