Sometime you need to fill the string with two single quote instead of leaving the value empty. From the error I guess you left them empty (no string object) instead of an empty string object.
Regards,
Ronald
Hi Ronald, Thanks for your response. I will give it a test and let you know.
Please make sure you have enabled TLS and not SSL. Gmail only supports an encrypted connection using TLS.
However your error shows the message: access denied (java.security.SecurityPermission insertProvider.SunJSSE)
Is this an error that you have on a server or on your own computer. If you experience this issue locally it could be the case that the property emulate cloud security is enabled. That property has some discrepancies with the actual cloud security and in some versions of the platform the emulation could be stricter than the actual cloud.