Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 22nd, 2004, 06:44 AM
Registered User
 
Join Date: Sep 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Email Component

Hi,
I am developing and E-mail Component.Everything is working fine.Still,I have a requirment as below:
Say,if I am sending an email with an attachment to 10 people,normally the attachment and the body will be sent to all the 10 email addresses but I want to send attachment to only 4 email addresses and other 6 email addresses should not get the attachment ,they should be able to see only the body.
I think ,I explained the problem clearly.
So if any of you have the answer for this and an example, please send it to me.
Regards,
Raghavendra Vikas.D

  #2 (permalink)  
Old September 22nd, 2004, 09:19 AM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

If your custom writing something, You coud add a property that takes a list of email address objects (or structs). The email address object could have two properties. EMail address and Send Atttachment.. But it's more work than I would do. I would send mail twice.. once to the people who get the attachement and once to those who dont.

I would wonder why you would write an email component when one comes out of the box....

Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug com component vinaykumar_inavolu .NET Framework 2.0 0 October 13th, 2006 01:40 AM
COM component with C# sangata General .NET 3 November 5th, 2004 04:10 PM
Creating a component cropa VS.NET 2002/2003 4 April 1st, 2004 03:53 AM
activex component msrnivas Classic ASP Components 0 January 6th, 2004 11:26 PM
Is there such a component? SqUaRe48 Classic ASP Components 0 July 12th, 2003 12:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.