Archives for Automation
Share C# Code Send Email ใช้งานได้จริง
public bool GmailSendEmail(string Body, string MailTo, string subject) { bool blnSent = true; try { SmtpClient smtpClient = new SmtpClient(); NetworkCredential basicCredential = new "password"); MailMessage message = new MailMessage(); MailAddress fr…
สร้างระบบ notify service ด้วย c#.net class sendmail
มาสร้างการ Notify Message ให้กับหลายๆ Application ของเรากันเถอะ เพื่อนๆคงอยากให้โปรแกรมของเราที่ทำงานอยู่ทุกวัน หรือมีการตั้ง Scheduler รันแบบอัตโนมัติเป็นแบบ Daily, Weekly, Monthly สามารถ Alert message หรือ Notify message เพื่อแจ้งให้เราทราบสถานะการ…