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
2 answers

GMail doesn't mark up email html (sending via PHP)

I am trying to send a html email via mail(), however gmail just displays the email as plain text, no mark up, eg: mail("blah@blah.com", "Italic Text"); just appears as Italic Text Any ideas?
DexCurl
  • 1,683
  • 5
  • 26
  • 38
3
votes
2 answers

False open trackings using SES and gmail

I'm having a problem with Amazon's SES Open Tracking and Gmail accounts. When I send an email to gmail account through SES, sometimes I'll receive an Open click event immediately, when I know the email hasn't been opened. That is a very bad thing…
Tomaz Fernandes
  • 2,429
  • 2
  • 14
  • 18
3
votes
1 answer

Setting Environment Variable ends with "-bash: !": event not found"

I am setting up a typical email function for firebase to alert me when a new record is added. In my terminal, I am inputting the following: firebase functions:config:set gmail.email="MyEmail@gmail.com" gmail.password="MyPassword1!" This returns…
Michael R
  • 93
  • 1
  • 8
3
votes
1 answer

How do I reduce the "computer time" that my Google Apps Script is using?

I followed Hugo Fierro's tutorial on adding a Google Apps Script to send emails from Google Sheets. The tut is at https://developers.google.com/apps-script/articles/sending_emails. I customised the script: 1) I replaced the "MailApp.sendEmail" API…
3
votes
2 answers

Sending message to gmail fails with "Start SSL negotiation command failed." error

Tips i followed is found here. I do have libeay32.dll and ssleay32.dll in win32 folder. dfm file: object tidSMTP: TIdSMTP IOHandler = tidSMTP_SSL SASLMechanisms = <> UseTLS = utUseExplicitTLS end object tidSMTP_SSL:…
Peacelyk
  • 1,126
  • 4
  • 24
  • 48
3
votes
2 answers

How correctly set "In-Reply-To" and "Reference" headers in Gmail API

I'm trying to reply a mail I received using Gmail API. I tried following code it appends the sending message to thread in my mailbox but for the receiver it send as a new message. What is the proper way to declare In-Reply-To and Reference headers?…
sudo
  • 43
  • 1
  • 5
3
votes
1 answer

How to clear cached images in gmail proxy server

I am sending HTML content in email. Inside the HTML I have some thing like Logo when I open in gmail and yahoo, it is showing correct image. I replaced the image in server…
3
votes
0 answers

Gmail API socket.timeout when call for a list of messages

I have a python script which is running all day looking for messages with specific data and make specific tasks with it. I just make one login at the start of the script/service and that's it, I know this is not the problem because the same API…
exiz
  • 93
  • 6
3
votes
1 answer

Honeycomb Gmail Fragment shift

I'm wondering how when you open a new Fragment, you can have the view shift so that the new Fragment is centered in your view. In the Honeycomb Gmail app we see this when you select an email to open. The list of emails that you can open shifts to…
3
votes
1 answer

Do Google Apps SMTP servers automatically sign messages with DKIM?

I've configured my Google Apps account to sign messages with my DomainKey (DKIM), and I've confirmed that the signing takes place and works correctly when I send mail directly from my Google Apps account. Now, I want to combine that with my web…
Maxim Zaslavsky
  • 17,787
  • 30
  • 107
  • 173
3
votes
1 answer

Gmail not threading replies sent via API

I'm trying to send replies via the Gmail API in Python and can't seem to get the Gmail web client to thread the messages. However, they are being threaded in Outlook, which is very strange. Here's how I'm creating the messages: def…
Adam Bowker
  • 193
  • 9
3
votes
3 answers

GMAIL SMTP : A call to SSPI failed exception - The function requested is not supported

I am sending a mail using gmail smtp : Host : smtp.gmail.com Port : 587 Getting exception while sending mail using gmail smtp in MVC application. Below code used to send mail : public static int SendMail(string StrFromAdd, string StrEmailTo, string…
Shreekant
  • 111
  • 2
  • 11
3
votes
0 answers

How does it send slight different emails to multiple recipients, though having them in common 'to' section?

So I was trying mixmax - the chrome extension and got to know it tracks email open event even though the same mail is sent to multiple recipients and it is able to identify receivers properly. I checked and found that it adds different pixel URLs…
Karan Shah
  • 111
  • 11
3
votes
0 answers

Gmail API watch() request

Gmail API watch() request doesn't filter messages by Label and I saw that it was known bug. https://issuetracker.google.com/issues/36759803. I want to know is there any other way to be notified when a new message is added under the label? And if…
3
votes
0 answers

Gmail Cache messing up pixel tracking

I can´t seem to bypass gmail image caching to correctly track when an email is opened. The script works properly, the only problem is that when google downloads the image to save it in its cache it´s triggering the script that makes it seem like it…
Esteban89
  • 671
  • 1
  • 8
  • 20