0

I am looking for an example code or tutorial for sending Email through Gmail API.

User is able to provide his gmail credentials and authorizing my app to access his compose email option.

But from that point I don't know how to send email.

Your help will be appreciated.

Abhilash M
  • 39
  • 7

1 Answers1

0

Here describes the case, send an email through gmail account as smtp. Send email using the GMail SMTP server from a PHP page

Community
  • 1
  • 1
scalloty
  • 88
  • 5
  • Nope I am not looking for that. In the example one has to provide username and password to the email client. But in my case user will authorize the app to use their gmail. I am looking for Google API example. – Abhilash M Sep 10 '14 at 08:17
  • In that case, look at this https://developers.google.com/appengine/docs/php/mail/ – scalloty Sep 10 '14 at 08:37
  • And Google APIs Client Library for PHP (beta) https://developers.google.com/api-client-library/php/ – scalloty Sep 10 '14 at 08:39