gmail function
- @Deprecated('Favor gmailUserXoauth2 as username/password is considered a Less-Secure-Apps')
Send through gmail with username / password authentication.
WARNING Authentication with username / password is a Less-Secure-App feature, which has been scheduled for deprecation once.
Implementation
@Deprecated(
'Favor gmailUserXoauth2 as username/password is considered a Less-Secure-Apps',
)
SmtpServer gmail(String username, String password) =>
SmtpServer('smtp.gmail.com', username: username, password: password);