Questions tagged [gmail]

Gmail is a free email service offered by Google. ONLY use this tag for PROGRAMMING questions related to Gmail's APIs. General Gmail usage questions belong at https://webapps.stackexchange.com/questions/tagged/gmail

Gmail is a free email service offered by Google. Use this tag for programming questions related to Gmail's APIs. General Gmail usage questions belong at webapps.stackexchange.com

The Gmail API is a API that can be used to access Gmail mailboxes and send mail. For most web applications (including mobile apps), the Gmail API is the best choice for authorized access to a user's Gmail data.

The API supports many of the basic operations available through the Gmail user interface like reading, composing, and sending mail. It also lets you manage labels on threads and messages and query for specific messages and threads.

Resources

10636 questions
3
votes
1 answer

PHP send email using PEAR Mail via Gmail smtp getting error

I am trying to send email using PEAR Mail via my gmail smtp I done a lot of research for several days and tried A LOT of options and I am always getting the error: error: authentication failure [SMTP: Invalid response code received from server…
theok
  • 121
  • 9
3
votes
2 answers

How to detect if a link was clicked through an email in gmail

I am working on an email that will be sent out as a marketing effort. Within the email there will be a button that will allow people to "save the date" of the event and I want to be able to detect if the email was opened in gmail after the button…
Gurgen Grigoryan
  • 265
  • 1
  • 5
  • 17
3
votes
0 answers

gmail not showing images from Https AWS

I recently added HTTPS to my AWS hosting. Prior to that, emails being sent out from my applications were displaying images perfectly.…
Dike Jude
  • 199
  • 3
  • 9
3
votes
1 answer

Gmail OAuth from within docker container

I have various backend services running in containers. I am writing a microservice to handle the sending of emails. My email provider for business emails is GSuite (Gmail). I've been reading the following tutorial This all seems well and good but it…
mwild
  • 1,483
  • 7
  • 21
  • 41
3
votes
1 answer

Sending email via GMAIL using Powershell in VSTS

I want to send an email at the end of a VSTS release with some additional data. I am using a powershell release task and am using the Gmail SMTP server. The powershell script is as follows: $b = Invoke-WebRequest "http://mywebsite"…
Farax
  • 1,447
  • 3
  • 20
  • 37
3
votes
2 answers

Delphi and Indy 10 unable to read gmail emails 2nd. time after reading once

I try to get the number of emails from a gmail account, it works fine for the first time, and every time after, as long I do not disconnect form the server (I stop the execution via debugger before it does the disconnect command). But when I execute…
user7415109
3
votes
1 answer

GMAIL API removes my html attributes when sending

THE SITUATION: What is this question all about and what am I doing? I am sending electronic mails (e-mails) with PHP GMAIL-API. How is it that I am sending e-mails? $contenido="Whatever and then img
3
votes
1 answer

How can I programatically click the "compose" button in GMail with greasemonkey?

I am creating a script for GMail, which requires me to duplicate various links on left side like inbox, all mail, spam and compose. I have all the links working except compose. I can't figure out what's going when I click on. You can find my code…
PBG
  • 8,944
  • 7
  • 34
  • 48
3
votes
0 answers

How can I get the count of messages using a query?

I'm using the Google Gmail API in JavaScript and I want to retrieve a specific set of emails using the query parameter in the list request, the problem is that I cannot get the number of emails that satisfy the query like {from:test@test.com…
Drakota
  • 337
  • 1
  • 4
  • 16
3
votes
1 answer

the SMTP server requires a secure connection or the client was not authenticated. The server response was 5.5.1, Authentication required

I have been trying to get my application to send an email for over an hour now, and i've tried everything i've found online but i still get the exception mentioned in the title of my question. Here is the code i used: SmtpClient client = new…
chrisstar123
  • 77
  • 1
  • 2
  • 8
3
votes
1 answer

gmail html body sometime broken ( in mobile web gmail )

Sometimes the rendered display of an HTML email body is incorrect. Eg: OC gmail is rendered correct Mobile app gmail is rendered correct Mobile web gmail is rendered incorrect This problem occurred only on mobile web gmail. HTML body has a …
Dongkwon Lee
  • 203
  • 1
  • 9
3
votes
2 answers

Programmatically get Gmail storage usage

How can I get the storage usage of Gmail programmatically? This value appears in two places, but I cannot find an API for it. The main goal is to automatically log Gmail storage usage to a Google Sheet and graph the storage usage trend. What I've…
Leftium
  • 16,497
  • 6
  • 64
  • 99
3
votes
2 answers

smtp relay - g suite - gmail with custom domain email

I have a created an account from G Suite - test@my-domain.com. I have enabled 2-factor authentication and created app-specific password too. Also, I read that I need to allow less secure apps but I can't as I did 2-factor auth. Also, my domain is…
senty
  • 12,385
  • 28
  • 130
  • 260
3
votes
2 answers

Gmail shows "via" even if the domain is authenticated with Mailchimp and has valid SPF and DKIM records

I'm sending a newsletter with Mailchimp and Gmail shows that the mail is sent via mail5.mcsignup.com even though I added Mailchimp's SPF and DKIM records and the domain is authenticated in Mailchimp. Outlook also shows that the email is sent "on…
paradise
  • 31
  • 2
3
votes
1 answer

Is there a Django app that can give me easy friend importing AND invite from Facebook, Twitter, and Gmail?

Super easy django app that just lets people click "Facebook", and then invite AND import their friends
TIMEX
  • 259,804
  • 351
  • 777
  • 1,080
1 2 3
99
100