setSMTP method

dynamic setSMTP({
  1. dynamic host,
  2. dynamic auth,
  3. dynamic username,
  4. dynamic password,
  5. dynamic secure,
  6. dynamic port,
})

Implementation

setSMTP({host, auth, username, password, secure, port}) {
  _host = host;
  _auth = auth;
  _username = username;
  _password = password;
  _secure = secure;
  _port = port;
}