Title: Call to undefined method Google_Client::fetchAccessTokenWithAuthCode()
Last modified: February 14, 2018

---

# Call to undefined method Google_Client::fetchAccessTokenWithAuthCode()

 *  Resolved [mauriciohayuno](https://wordpress.org/support/users/mauriciohayuno/)
 * (@mauriciohayuno)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-method-google_clientfetchaccesstokenwithauthcode/)
 * Hello
 * I’ve just finished setting up WP Mail SMTP for Gmail.
 * I’m getting this error and couldn’t send Test Email
 * [http://prntscr.com/ietgxs](http://prntscr.com/ietgxs)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/call-to-undefined-method-google_clientfetchaccesstokenwithauthcode/#post-9982041)
 * Hello,
 * In order to troubleshoot further, I’ll need to collect more details. When you
   get a chance, would you please go to [https://wpforms.com/contact/](https://wpforms.com/contact/)
   and click the ‘Complete a Form’ button on the right side? This will allow you
   to submit a ticket without a WPForms account. Please mention my name (Slava) 
   in your message there, so I will be notified.

Viewing 1 replies (of 1 total)

The topic ‘Call to undefined method Google_Client::fetchAccessTokenWithAuthCode()’
is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/call-to-undefined-method-google_clientfetchaccesstokenwithauthcode/#post-9982041)
 * Status: resolved