Gmail, like other email service providers, has an SMTP service that allows users to send emails from other email applications or websites. You must, however, have a valid Google account to use this service. In order to send emails, the SMTP server settings in the email client must also be accurate.
For complete information visit this link: https://setupsemail.co/configure-gmail-smtp-server-send-email