GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from

Home » GFI User Forums » Kerio Connect » how to use smtp by C# winform Application (Kerio SMTP send email by Visual stadio application)
how to use smtp by C# winform Application [message #131415] Tue, 16 August 2016 17:46
armandelta2002 is currently offline  armandelta2002
Messages: 1
Registered: August 2016
Location: Iran
hi all
i Use this code to Use kerio smtp server bot i dont know how to config to use the smtp server to use the Windows form application.
  SmtpClient ss = new SmtpClient("",25);
                ss.Credentials = new NetworkCredential("KerioUser<_at_>", "A11b6015!");
                ss.EnableSsl = true;
                ss.DeliveryMethod = SmtpDeliveryMethod.Network;
                ss.UseDefaultCredentials = false;
                ss.Timeout = 999999;
                MailMessage mm = new MailMessage("", "armandelta2002<_at_>", "subject here", "my body");
                mm.BodyEncoding = UTF8Encoding.UTF8;
                mm.DeliveryNotificationOptions = DeliveryNotificationOptions.OnFailure;
                ss.Send(mm); is example name

[Updated on: Tue, 16 August 2016 18:02]

Report message to a moderator

Previous Topic: kerio connect desktop app for mac
Next Topic: New Kerio Anti-Spam
Goto Forum:

Current Time: Thu Jun 01 08:44:46 CEST 2023

Total time taken to generate the page: 0.06896 seconds