S
Stanley Cheung
hi all,
I want to implement logging for a mailinglist application.
the mailinglist will auto send out from a queuing table and user want to
know the updated status for how many emails have sent.
here is my ideas:
===================================
try
{
// sendemail code
SmtpMail.SmtpServer = "your mail server name goes here";
SmtpMail.Send(Message);
//logged into log file (xxx.log) with datetime
}
catch (Exception ex)
{
//logged description of ex.ToString() into log file (xxx.log) with
datetime
}
===================================
otherwise, can I use NSpring for my above requirement?
http://www.codeproject.com/csharp/nspring.asp
Thanks in advanced.
steambun
I want to implement logging for a mailinglist application.
the mailinglist will auto send out from a queuing table and user want to
know the updated status for how many emails have sent.
here is my ideas:
===================================
try
{
// sendemail code
SmtpMail.SmtpServer = "your mail server name goes here";
SmtpMail.Send(Message);
//logged into log file (xxx.log) with datetime
}
catch (Exception ex)
{
//logged description of ex.ToString() into log file (xxx.log) with
datetime
}
===================================
otherwise, can I use NSpring for my above requirement?
http://www.codeproject.com/csharp/nspring.asp
Thanks in advanced.
steambun