login method
- @Deprecated('Please use authenticate() instead.')
- String name,
- String password, {
- AuthMechanism authMechanism = AuthMechanism.plain,
Signs in the user with the given name and password.
Implementation
@Deprecated('Please use authenticate() instead.')
Future<SmtpResponse> login(String name, String password,
{AuthMechanism authMechanism = AuthMechanism.plain}) {
return authenticate(name, password, authMechanism);
}