For Gmail, you should enable less secure account first: https://support.google.com/accounts/answer/6010255
Port: 465 -> Protocol: SSL
Port: 587 -> Protocol: TLS
For Gmail, you should enable less secure account first: https://support.google.com/accounts/answer/6010255
Port: 465 -> Protocol: SSL
Port: 587 -> Protocol: TLS