

I had the same problem like the potential duplicate #2734249: Missing hook implementation results in error and I solved the issue with the following change to the file /sites/all/modules/smtp/smtp.mail. Still from the same structure with General Configuration, scroll down to see SMTP Configuration Options. How to resolve GMail IMAP and SMTP Auth Failures - Gmail Community.
