programming/c#

SMTP 멜 발송 및 외부 프로그램 실행

happy4u 2004. 5. 3. 20:38

아주 간단하다...

 

System.Web.Mail.SmtpMail.Send("n-cash.net", "goodfeel@test.com", "test", "test");
System.Diagnostics.Process.Start("iisreset.exe");