Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Gmail - sending email #376
I am trying to send email with this code:
It keeps failing with error:
Looks OK to me (assuming that gmail supports sending from service accounts) - one thing I am aware of is that you may need to use the URLsafe base 64 encode: https://github.com/google/google-api-php-client/blob/master/src/Google/Utils.php#L26 rather than regular base64_encode.
This tracker is for issues with the library itself though - your best bet for gmail specific questions is the Stack Overflow tag: https://stackoverflow.com/questions/tagged/gmail-api