I uploaded my grav site on a public hosting site. I’m using the email plugin, in my local host I changed the settings so I the site visitors can send the email by using google SMTP. It only works if I make my Google account allow access for less secure apps.
How can I configure the settings so I can use the plugin without allowing access for less secure apps ?
Also, on the public host I get an error “getmypid() has been disabled for security reasons” when I try to send an email from my site.
I haven’t run into this issue before, but I was reading something about it (http://security.stackexchange.com/a/72371), and this happens if you DON’T have 2-step verification on your Google account (that’s why I never run into this).
With this step, you generate an app-specific authorization token instead of your password, and Google does not complain.
About getmypid(), ask your web hosting to enable it. It’s used by the library used by the Email plugin to deliver the emails.