NOTE: Before using SMTP to send emails, users must first ensure that the email protocol of their Gmail account has been enabled. You can log in to your Gmail account and enable protocols such as SMTP and IMAP in the settings.
If your account is an Gmail account and you want to use Gmail's SMTP to send emails, the information you should fill in is: Email and App Password (check here how to create an app password for Gmail). Additionally, you need to enter the correct SMTP server and port number, and enable SSL. And change the account tag to "smtp," indicating that this account is suitable for SMTP sending.
Gmail SMTP server: smtp.gmail.com
Port: 465
SSL: √