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
47
votes
1 answer

_utf8 POST parameter on gmail login contains a snowman character

Possible Duplicate: What is the _snowman param in Ruby on Rails 3 forms for? If you inspect the POST parameters of Gmail login with Firebug or Chrome developer tools, you'll see a _utf8 parameter with a value of ☃: _utf8:☃ (See the attached…
cherouvim
  • 31,725
  • 15
  • 104
  • 153
46
votes
9 answers

How to configure WAMP (localhost) to send email using Gmail?

I want to use the mail() function from my localhost. I have WAMP installed and a Gmail account. I know that the SMTP for Gmail is smtp.gmail.com and the port is 465 (more info from gmail). What I need to configure in WAMP so I can use the mail()…
Jonathan
  • 8,676
  • 20
  • 71
  • 101
46
votes
3 answers

Nodemailer/Gmail - What exactly is a refresh token and how do I get one?

I'm trying to do a simple contact form in a node app, using nodemailer. I want all the msg to be sent from a gmail account I made for this purpose, to my personnal mail. on the client side, all I do is to get the name/mail/message of the customer…
Radioreve
  • 3,173
  • 3
  • 19
  • 32
45
votes
10 answers

Gmail Syntax Highlighter

I sent my code to my friend over Gmail but as you guess, the code is not highlighted in Gmail. Is there solution to highlight code that is sent over Gmail?
firstthumb
  • 4,627
  • 6
  • 35
  • 45
45
votes
16 answers

How can I avoid google mail server asking me to log in via browser?

I am trying to send emails from Django using an email configured by Google Apps, my configuration at the settings.py file looks something like this: EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_USER = 'contact@mydomain.com' EMAIL_HOST_PASSWORD =…
44
votes
4 answers

Gmail blocking small embedded inline images in email template

I'm sending emails to my members and it looks like Gmail is blocking the images I place in the email. These are embedded as a base 64 encoded string in an img tag. I've looked at multiple threads online about Gmail not sending images but haven't…
chuckd
  • 13,460
  • 29
  • 152
  • 331
44
votes
3 answers

GMail appearing to ignore Reply-To

I'm using a gmail account to send emails from my website. I'm using the same account to pick up emails which are generated by the contact facility on my site. I'm using the Reply-To field to attempt to make it easier to hit reply and easily get back…
Samuurai
  • 2,635
  • 4
  • 19
  • 18
44
votes
7 answers

C# SmtpClient class not able to send email using gmail

I'm having trouble sending email using my gmail account. I'm pulling my hair out. The same settings work fine in Thunderbird. Here's the code. I've also tried port 465 with no luck. SmtpClient ss = new SmtpClient("smtp.gmail.com",…
Razor
  • 17,271
  • 25
  • 91
  • 138
44
votes
13 answers

Send mail via Gmail with PowerShell V2's Send-MailMessage

I'm trying to figure out how to use PowerShell V2's Send-MailMessage with Gmail. Here's what I have so far. $ss = New-Object Security.SecureString foreach ($ch in "password".ToCharArray()) { $ss.AppendChar($ch) } $cred = New-Object…
Scott Weinstein
  • 18,890
  • 14
  • 78
  • 115
43
votes
4 answers

Email thumbnail URL changed to googleusercontent.com in gmail

I have a system whenever user upload an image, it will send an email to the registered user's gmail. But in the email, i see something like this, the thumbnail is not viewable. I inspect on the element, and found the src linked to this…
hades
  • 4,294
  • 9
  • 46
  • 71
43
votes
4 answers

Client is unauthorized to retrieve access tokens using this method Gmail API C#

I am getting the following error when i tried to authorize gmail api using service account "Client is unauthorized to retrieve access tokens using this method" static async Task MainAsync() { sstageEntities db = new sstageEntities(); …
Melvin
  • 877
  • 3
  • 11
  • 27
42
votes
6 answers

Open Gmail on mailto: action

How to force web-browser to navigate to Gmail and create (if logged in) new letter with filled in field 'To' on click on mailto:SomeMail@blabla.example?
Sergey Metlov
  • 25,747
  • 28
  • 93
  • 153
41
votes
1 answer

Questions re: Gmail Sidebar Gadget Deprecation

We stumbled across a deprecation notice for the Gmail sidebar gadgets at https://developers.google.com/gmail/sidebar_gadgets which states that Warning: Gmail sidebar gadgets are now deprecated and will soon cease to be supported. This statement…
Kevin A. McGrail
  • 433
  • 1
  • 5
  • 7
41
votes
8 answers

HTML email in Gmail - CSS style attribute removed

I'm working on an HTML email and I am using MailChimp's Responsive Email Templates in combination with their CSS inliner tool. For the most part, the email looks great across the myriad of email clients, but in Gmail things are horribly…
Matty B
  • 1,008
  • 2
  • 13
  • 25
40
votes
6 answers

Using php's swiftmailer with gmail

I'm writing a simple script in which a gmail account is used to send an email to itself. I altered the script from SwiftMailer's reference, but I'm not getting any results. What's wrong? Edit: after further debugging I've found that the…
andandandand
  • 21,946
  • 60
  • 170
  • 271