Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 29th, 2006, 02:11 PM
Registered User
Join Date: Dec 2006
Location: london, uk, United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default objCDO.bCc with multi emails

How do you use this object function with multiple email adresses and strings?

Iv tried

objCDO.bCc = strFirstname, strSecondName
objCDO.bCc = strFirstname; strSecondName
Request.Form("FriendTwo"),Request.Form("FriendThre e")
Request.Form("FriendTwo");Request.Form("FriendThre e")

nothing works

using ASP.net and VB on server...


Compiler Error Message: BC30205: End of statement expected.

Source Error:

Line 16: objCDO.From = Request.Form("FromEmail")
Line 17: objCDO.To = Request.Form("FriendOne")
Line 18: objCDO.bCc = Request.Form("FriendTwo"),Request.Form("FriendThre e")
Line 19: objCDO.Subject = "Check out this Send-To-Friend Tutorial!"
Line 20: objCDO.Body = strFrom


please help
Reply With Quote
  #2 (permalink)  
Old December 31st, 2006, 01:34 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

objCDO.bCc = strFirstname & ";" & strSecondName & ";" & Request.Form("FriendThree") &";"

And so on.

I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Bcc problem mohana VB How-To 0 December 5th, 2006 09:17 AM
multi-multi-multiple Insert with subquery??? jmjyiannis SQL Server 2000 1 May 5th, 2006 02:20 PM
Multiple Bcc email addresses peterasimpson VB How-To 3 March 5th, 2006 09:53 PM
validating emails.... muskaanbajaj ASP.NET 1.0 and 1.1 Basics 3 October 13th, 2005 05:37 AM

All times are GMT -4. The time now is 06:01 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.