SendMail with FileNotify2

86 views
Skip to first unread message

Michael Roth

unread,
Oct 24, 2011, 11:27:27 AM10/24/11
to FileNotify2
Hello Remi,

I installed your program and wanted to test it on my win server 2008
R2.
Your templates aro also very good. Could you please also create a send-
mail class for your program and offer it as a template for all those
who can't write a code?
I would really appreciate your effort.

Many thanx in advance :-)

Best regards form Germany

Remi Thomas

unread,
Oct 24, 2011, 12:55:25 PM10/24/11
to FileNotify2
Hi,

System.Net.Mail.SmtpClient smtp = new
System.Net.Mail.SmtpClient("smtp.numericable.fr"); // SMTP Server
address
Sytem.Net.Mail.MailMessage message = new
System.Net.Mail.MailMessage(new
System.Net.Mail.MailAddress("fr...@domain.tld"), new
System.Net.Mail.MailAddress("t...@domain.tld"));
message.Subject = "the subkect";
message.Body = "This mail is empty";
smtp.Send(message);

Remi
Reply all
Reply to author
Forward
0 new messages