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
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
designing an email component
Asim A
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
Neels215375
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.