CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Tell A Friend example, adding more reciepents

Print topic Send  topic

Author Message
Brad Parler
Posted: 02/18/2003, 11:50 AM

I think I have tried everything and still am not sure how to add more that
one reciepent per line (i.e. to/cc/bcc) I am unable to form the syntax
correctly with out getting a error of the following...

Microsoft VBScript compilation error '800a0401'
Expected end of statement

/tellafriend/Default.asp, line 181

objCDO.To = getparam("to_email"); getparam("2to_email")
--------------------------------^How should I seperate the two
addresses?Thanks for anyones help!Brad Parlerbrad@hilton-sutton.org

Michael Rachow
Posted: 02/19/2003, 12:16 AM

Not sure but would try
"recip1" &"; " & "recip2" ...
e.g. first build the complete string of recipients
hoping they are separated by ;

regards
Michael
"Brad Parler" <media@hilton-sutton.org> schrieb im Newsbeitrag
news:b2u2q1$gim$1@news.codecharge.com...
> I think I have tried everything and still am not sure how to add more that
> one reciepent per line (i.e. to/cc/bcc) I am unable to form the syntax
> correctly with out getting a error of the following...
>
> Microsoft VBScript compilation error '800a0401'
> Expected end of statement
>
> /tellafriend/Default.asp, line 181
>
> objCDO.To = getparam("to_email"); getparam("2to_email")
> --------------------------------^How should I seperate the two
> addresses?Thanks for anyones help!Brad Parlerbrad@hilton-sutton.org
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.