public void SetCredentials(string host, int port, bool useSsl, string userName, string password) { Dispose(); _config = new VQSmtpConfig { Host = host, Port = port, EnableSsl = useSsl, UserName = userName, Password = password, }; }
public void SetCredentials(VQSmtpConfig model) { Dispose(); _config = model; }