above link download the code and example folder change the gmail setting .But bellow error display
SMTP -> ERROR: Failed to connect to server: Unable to find the socket transport “ssl” - did you forget to enable it when you configured PHP? (24)
SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host.