objCDO Body - how to string?

Results 1 to 3 of 3

Thread: objCDO Body - how to string?

  1. #1
    DonnaS Guest

    Default objCDO Body - how to string?

    I am sending a form&#039s text results to an e-mail address. My DIM has a list of 6 variables, how do I string together all 6 variables, plus a discriptor for each, in the objCDO.Body? I&#039ve only been able to view one discriptor and the first variable.

  2. #2
    Join Date
    Dec 1969

    Default RE: objCDO Body - how to string?

    Use the string concatenation operator in VBScript, the ampersand. So:<BR><BR>objCDO.Body = "The value for variable 1 is " & var1 & " and the value for variable 2 is " & var2 & "!"<BR><BR>(this assumes that you have defined two variables in your ASP script, var1 and var2.<BR><BR>If you are after a good script to email form results, check out:<BR><BR>Mailing Form Results<BR>http://www.4guysfromrolla.com/webtech/071599-1.shtml<BR><BR>Happy Programming!

  3. #3
    MG Guest

    Default REPOST

    One post is enough. Be patient and by the way I already answered your question.

Posting Permissions

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