By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 1,077 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

concat string with contents of variable

P: n/a
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("CDONTS.NewMail")
objMail.From= request.form("youremail") 'Specify sender's address
objMail.To=request.form("yourfriendemail")

yourfriendemail is a variable gotten from a form. I want to replace it with
the contents of yourfriendemail and ab*@comcast.net. When I input on the
form ab*@bill.com; ab*@comcast.net it sends to both. I have tried concat()
adn using a + sign to concatenate.
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.