0 votes

Does LimiLabs Mail.dll work with authentificated an unauthentificated SMTP-Relay?

by

1 Answer

0 votes

You can choose to authenticate or not:

using(Smtp smtp = new Smtp())
{
    smtp.ConnectSSL("smtp.server.com");

    // Remove comment to use authentication
    // smtp.UseBestLogin("user", "password");

    smtp.SendMessage(email);                     
    smtp.Close();   
}
by (301k points)
...