require __DIR__ . '/vendor/autoload.php';
use Google\Client;
function fetchEmails() {
$client = new Google_Client();
$client->setApplicationName('DMCA Email Processor');
$client->setScopes(Google_Service_Gmail::GMAIL_READONLY);
$client->setAuthConfig(__DIR__ . '/path-to-your-credentials-file.json'); // Ensure this path is correct
$client->setAccessType('offline');
$service = new Google_Service_Gmail($client);
$user = 'me';
// Your email processing code here
}
// Make sure the rest of your functions are defined properly
Warning: Cannot modify header information - headers already sent by (output started at /home/fikfap/public_html/wp-content/plugins/Dmca email processor/process-emails.php:1) in /home/fikfap/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home/fikfap/public_html/wp-content/plugins/Dmca email processor/process-emails.php:1) in /home/fikfap/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home/fikfap/public_html/wp-content/plugins/Dmca email processor/process-emails.php:1) in /home/fikfap/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home/fikfap/public_html/wp-content/plugins/Dmca email processor/process-emails.php:1) in /home/fikfap/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home/fikfap/public_html/wp-content/plugins/Dmca email processor/process-emails.php:1) in /home/fikfap/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home/fikfap/public_html/wp-content/plugins/Dmca email processor/process-emails.php:1) in /home/fikfap/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home/fikfap/public_html/wp-content/plugins/Dmca email processor/process-emails.php:1) in /home/fikfap/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home/fikfap/public_html/wp-content/plugins/Dmca email processor/process-emails.php:1) in /home/fikfap/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":59902,"date":"2022-11-12T08:09:24","date_gmt":"2022-11-12T08:09:24","guid":{"rendered":"https:\/\/pornez.cam\/doctors-adventure-dani-daniels-johnny-sins-driven\/"},"modified":"2022-11-12T08:09:24","modified_gmt":"2022-11-12T08:09:24","slug":"doctors-adventure-dani-daniels-johnny-sins-driven","status":"publish","type":"post","link":"https:\/\/fikfap.mobi\/doctors-adventure-dani-daniels-johnny-sins-driven\/","title":{"rendered":"Doctors Adventure – Dani Daniels Johnny Sins – Driven"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":59907,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"video","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5510],"tags":[],"actors":[3369,2589],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/fikfap.mobi\/wp-content\/uploads\/2022\/11\/doctors-adventure-dani-daniels-johnny-sins-driven.jpg","_links":{"self":[{"href":"https:\/\/fikfap.mobi\/wp-json\/wp\/v2\/posts\/59902"}],"collection":[{"href":"https:\/\/fikfap.mobi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fikfap.mobi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fikfap.mobi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fikfap.mobi\/wp-json\/wp\/v2\/comments?post=59902"}],"version-history":[{"count":0,"href":"https:\/\/fikfap.mobi\/wp-json\/wp\/v2\/posts\/59902\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fikfap.mobi\/wp-json\/wp\/v2\/media\/59907"}],"wp:attachment":[{"href":"https:\/\/fikfap.mobi\/wp-json\/wp\/v2\/media?parent=59902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fikfap.mobi\/wp-json\/wp\/v2\/categories?post=59902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fikfap.mobi\/wp-json\/wp\/v2\/tags?post=59902"},{"taxonomy":"actors","embeddable":true,"href":"https:\/\/fikfap.mobi\/wp-json\/wp\/v2\/actors?post=59902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}