Send attachment gmail api php curl
Script of sending a letter without attachment: $accus_token = "*";
== sync, corrected by elderman == @elder_man\r\nSubproject:.mb_encode_mimeheader($_POST['subproject'], "UTF-8")."\r\n\r\n.addslashes($_POST['message')]);
$ch = Curl_init('https://www.googleapis.com/upload/gmail/v1/users/me/messages/send?uploadType=multipart');
Curl_setopt(ch, CURLOPT_RETURNTRANSFER, 1);
Curl_setopt(ch, CURLOPT_POST, 1);
Curl_setopt(ch, CURLOPT_SSL_VERIFYPER, FALSE);
Curl_setopt(ch, CURLOPT_HTTPHEADER, array("Authorization: Bearer".$access_token, 'Accept: application/json', 'Content-Type: message/rfc822; charset=utf-8'));
Curl_setopt(ch, CURLOPT_POSTFIELDS, USmessage);
$data = curl_exec(ch);
echo data;
Current freelance projects in the category PHP
Modules for a website on Laravel
90 USD
Delivery and payment module for the site https://novabook.top/ (Botble CMS / Laravel) Add convenient delivery and payment methods (including installment plans) in the checkout, similar in style and convenience to the mirson ua site.Delivery (mandatory) Nova Poshta Branch… Javascript and Typescript, PHP ∙ 4 hours 55 minutes back ∙ 17 proposals |
Integration needed: KeyCRM → Cash Register KashalotIt is necessary to set up integration between KeyCRM and the Cash Register Kahalot. When placing an order in KeyCRM, the data must be automatically transmitted to Kahalot: • order information • products, nomenclature • prices • quantity More details in private. Content Management Systems, PHP ∙ 2 days 4 hours back ∙ 28 proposals |
Development of 2 SEO-oriented websites for selling spare parts (ATVs and special equipment)Development of Two Specialized Websites for Selling Spare PartsGeneral Information It is necessary to develop two specialized websites: Spare parts for ATVs, UTVs, SSVs, and other similar equipment. Spare parts for special equipment. Existing company website:… PHP, Web Programming ∙ 4 days 11 hours back ∙ 77 proposals |
Development of a WordPress website
23 USD
We are looking for a contractor to develop a custom website on WordPress for a jewelry store. The first stage will be a consultation. Content Management Systems, PHP ∙ 7 days 3 hours back ∙ 75 proposals |
Parser expireddomains.net
112 USD
A parser is needed for expireddomains.net. You need to log in to the site first; the problem is that it blocks the IP when trying to parse data. You need to parse thematic domains based on a list of keywords. If you are not confident in your abilities, please do not write. PHP, Web Programming ∙ 9 days 11 hours back ∙ 53 proposals |