Step (1): smtp.EnableSsl = true;
if not enough:
Step (2): “Access for less secure apps” must be enabled for the Gmail account used by the NetworkCredential
using google’s settings page:
Step (1): smtp.EnableSsl = true;
if not enough:
Step (2): “Access for less secure apps” must be enabled for the Gmail account used by the NetworkCredential
using google’s settings page: