This project is read-only.

creating SMTP server using plain auth

Oct 21, 2014 at 11:45 AM
Edited Oct 21, 2014 at 11:45 AM
Dear community;

First great thanks for this fine package of assemblies to start SMTP.
I want to create a SMTP Server with plain auth running on port 25, waiting for e-mails to be sent. I want to use a 3 party tool called "MaxBulk" Mailer to sent the e-mails. I imported the HigLabo.Mail DLL and tried to use the code from here:
Documentation
As I see this information is outdated, where to find the documentation how to run the SMTP using higlabo? All I found were commands how to sent commands to the SMTP, but As I told third party software would do this job for me.
I've started using this code at the moment, but this isn't the goal.
            HigLabo.Net.Smtp.SmtpClient cl = new HigLabo.Net.Smtp.SmtpClient();
            cl.ServerName = "Sample test server";
            cl.Port = 25;
            cl.UserName = "test@localhost.de";
            cl.Password = "test";
            cl.AuthenticateMode = SmtpAuthenticateMode.Plain;
Seem's like the SMTP isn't running constantly, app close after running the code. Just put this into a while loop? Is this the whole line of code to run SMTP on port 25 using plain auth?
Oct 22, 2014 at 2:21 PM
Hi Pekinese.

Smtp Server's feature is out of this library.
HigLabo only support smtp client feature.