All Questions
Tagged with google-workspace php
71
questions
0
votes
2
answers
44
views
Can't get refresh token with Google Oauth
I'm using CURL to get access token and refresh token.
Now i have 2 functions:
public function handle_google_oauth_request() {
if (isset($_POST['authorize'])) {
$auth_url = '...
1
vote
1
answer
95
views
Using PHP GoogleAds api connection DEVELOPER_TOKEN_NOT_APPROVED, how to fix
I am trying to connect GoogleAds Api using php for fetching campaign names & cost. Here is below my response of the call:
"@type": "type.googleapis.com/google.ads.googleads.v14....
0
votes
1
answer
34
views
create notification channel using google-api-php-client
I want to create a notification channel so that each time a user is deleted from my workspace my php app gets notified, I'm using the following
<?php
namespace App\Services;
use App\Models\...
0
votes
1
answer
59
views
How can i make gmail send me HTTP request everytime i get new message [closed]
I am creating a laravel app to manage my Gmail using google client api to manage my customers and connect them with the emplyees
In my app there is last_interaction attribute to each client that ...
1
vote
1
answer
57
views
API request not returning expected data - PHP
My code has service account credentials but it not returning expected data - anyone spot any issues with it? It is returning an empty object - am I not accessing the right part of the $file when I try ...
0
votes
0
answers
347
views
PHP Mail function not working with Google Workspace Email
I have tried a few different methods, but php mail() and PHPMailer are not sending to my google workspace email addresses. They will send to my yahoo and gmail address, though.
My domain is in google ...
1
vote
0
answers
46
views
Pipe incoming emails from google workspace to URL
I need to be able to parse the contents of email using PHP libraries sent to an email address hosted on Google Workspace. When I was with HostGator they had the option to send incoming emails to a ...
1
vote
1
answer
258
views
PHP getting Google Calendar events list "service account" (server-to-server) not working
This code (using Google PHP API Client https://github.com/googleapis/google-api-php-client) answers "No upcoming events found.", apparently not retrieving the events since there is at least ...
0
votes
1
answer
708
views
Google Api PHP Client - Call to undefined method UsersSettingsSendAs::list()
We are trying to get a list of 'sendAs' emails from a user with the latest version (2.13.2) of Google APIs Client Library for PHP.
$gmail = new Google_Service_Gmail($client);
$response = $gmail->...
0
votes
1
answer
221
views
Google Workspace API - gmail delegation access through php, permission denied
I have a piece of PHP code to try and obtain the delegate accounts of a given user.
lets say this user in my workspace is [email protected].
I have a service account ([email protected]) with all ...
1
vote
1
answer
615
views
Google API - Auth server to server
I need a service to manipulate emails in a gmail account within a project developed in PHP Symfony...
I found this example : https://github.com/googleapis/google-api-php-client/blob/main/docs/oauth-...
0
votes
0
answers
283
views
Google SAML APP SSO integrate with php application
I am using the php SAML library for SAML integration in php applucation(SP) with google as IDP.
I followed the step for the configuration of SAML toolkit for PHP in this link.
I add application SAML ...
0
votes
0
answers
79
views
Sent Items show HTML code when seen in Outlook while sending mail using Gmail API
I am trying to send mail using Gmail API using PHP. My sending "from email" is a Gmail account which is opened on MS Outlook 2016 App on Windows. The emails sent show properly in Inbox of ...
0
votes
1
answer
83
views
Google Workspace fileds in Moodle
I build a simple Moodle LMS, I add Google Auth for login, only user in my Google Workspace can login in this site and it work fine. Every user have a field "Type of Employee" but the problem ...
0
votes
1
answer
278
views
Gsuite integration in Laravel PHP
Our Client has the gsuite account. They need to do syn the gsuite employees to our application. how we will do it in php laravel ?