locked
designing an email component RRS feed

  • Question

  • hi every one,

    iam working with asp.net ,c# .net 1.1

    i want to design a generic email component.

    can any one guide me to design an email component.

    thanks for your valuable information

    Friday, December 29, 2006 5:07 AM

All replies

  • Instead of focusing on e-mail, lets try focusing a little more abstract, such as a notification service. Let's start by creating a few simple interfaces:

    public interface INotificationService
    {
        void Notify(IMessage message);
    }

    public interface IMessage
    {
        string To { get; set; }
        string From { get; set; }   
        string Body { get; set; }
    }

    Now, we need to derive a few classes: SmtpNotificationService and SmtpMessage.

    I think you should be able to figure out the two classes from here, but let me know if you have any questions.

     

    Monday, January 1, 2007 12:15 AM
  • you can use System.Net.Mail namespace to build email component. Just check if it is available as part of .NET 1.1

    http://DotNetWithMe.blogspot.com
    vikas goyal

    Tuesday, January 2, 2007 6:40 AM