Questions tagged [gmail]

1

votes
1

answer
52

Views

$x() always returns ƒ (){} in Chrome Developer Tools console on gmail page

$x('//div') always returns ƒ (){} in Chrome Developer Tools console on gmail page. For that matter it returns empty function for any locator. Whereas same locator $x('//div') on a jira page correctly returns array of all divs. Chrome 73.0.3683.103 MacOS 10.14.3 Mojave Any clues? BTW, this locator i...
Sameer Naik
1

votes
2

answer
43

Views

Google PubSub - serviceAccount:[email protected] doesn't exist

I am trying to subscribe to Gmail for mail notifications using Google's Pub/Sub and I've gone through the documentation and tutorials provided by Google. At one point, the docs state that I need to publish the correct rights to my PubSub topic: You need to grant publish privileges to serviceAccount:...
Maxwell
0

votes
1

answer
15

Views

Is SSL appropriate for sending secure contents?

I am using mailR to send emails through R. This is my code send.mail(from = [from], to = [to], subject = 'msg', body = 'contents', html = FALSE, inline = FALSE, authenticate = TRUE, smtp = list(host.name = 'smtp.gmail.com', port = 465, user.name = [username], passwd = [password], ssl = TRUE),...
goollan
0

votes
0

answer
11

Views

Gmail says `This message seems dangerous` on emails sent by my web store

Gmail shows a red banner above email messages sent by my web store. This message seems dangerous Many people marked similar messages as phishing scams, so this might contain unsafe content. Avoid clicking links, downloading attachments or replying with personal information. I just registered a new d...
1

votes
1

answer
97

Views

How to close gmail compose dialog programmatically in chrome extension

I have replaced the 'Send' button in the compose dialog with my 'Send' button and using 'Gmail API' to send the email. I am able to send the email and get the response. Now to make it more user-friendly, I want to close the compose dialog after my email is sent (similarly when the Gmail closes the d...
Pallavi Goyal
1

votes
2

answer
106

Views

javax.mail.AuthenticationFailedException: [AUTH] Web login required

I build an application using Java to read emails. And It worked without any errors past days. But suddenly today came up an error like this. javax.mail.AuthenticationFailedException: [AUTH] Web login required: https://support.google.com/mail/answer/78754 at com.sun.mail.pop3.POP3Store.protocolConnec...
Tech Guy
1

votes
2

answer
29

Views

Gmail API - Seeing strange German characters using 'raw' output and decoding into utf-8

I have an issues with some encoding when reading emails using the Gmail API. First i retrieve the email using this: message = service.users().messages().get(userId='me', id='169481bce75af185', format='raw').execute() After that I use these line to get a string out of it and convert it into mime mess...
pythonNewb
1

votes
1

answer
335

Views

BrokenPipeError when using Gmail API

I'm using Gmail API to send an email with attachments in Python 3. I'm trying the same code as google developers as shown below: https://developers.google.com/gmail/api/guides/sending The problem is that when attachments are 4.2KB or 2.6MB, the code works Well; but when attachments are 3.0MB or 9.6M...
yizhu
1

votes
0

answer
371

Views

HTML Email - Font Resizing on Gmail App for Mobiles

I have an issue with an HTML Email I've developed for a client. They're all using Gmail on Android phones to test and preview what's being sent and also GSuite. The problem I'm having (font being shrunk) is happening in both, but not in my Litmus tests, just when they preview it through iContact for...
AP83
1

votes
0

answer
55

Views

Gmail API file attachments not shown on receiver side

I have some Gmail API PHP code which sends an email with attachments. Attachments dispatch on sender side perfectly, even they are available in sender's sent items. But they did not show on receiver end. what could be the problem? my code looks like following. $to = $_POST['replyTo']; $message = $_P...
Asad ullah
1

votes
1

answer
40

Views

Retrieve gmails which contain “match” in the subject line

I would like to write some javascript which will log in to my gmail, and print the last ten emails which contain the word 'match'. I have attempted, and so far I've gotten the below. Note that the line if ( messages[i].title.indexOf('match') !== -1; ) { doesn't work, but I am not sure how to acces...
Simon Kiely
1

votes
2

answer
263

Views

Only can read 5 gmail messages Gmail API

I'm making a small Windows Application for my project. I followed the document of Google and some people in this forum to write a method to read all Gmail messages in 'INBOX' of my Gmail. I could get Gmail messages in its body part but I just could get 5 emails instead of all of my email messages. I...
binh nguyen
1

votes
0

answer
130

Views

RFC 8058 (email unsubscribe) custom implementation not working on gmail

Gmail suggest email lists to implement RFC 8058: https://support.google.com/mail/answer/81126?hl=en I'm just testing my implementation and Gmail didn't work for it - it didn't offer Unsubscribe button. Gmail is supposed to support https unsubscribe links. These are the headers of the actual email f...
Mladen Adamovic
1

votes
2

answer
1k

Views

Action Mailer Configuration for Gmail

I'm trying to add e-mail delivery with Gmail SMTP to my app. I've already done the 'less secure apps' way before but I don't want to use this option in this project. I've tried to look into Google's documentation or some gem to make it work, but to no avail. Everyone just sends some code (like below...
R. Siqueira
1

votes
1

answer
323

Views

In iPhone 6+ gmail app email template is not responsive, else everywhere it is working fine

I am having an issue with iPhone 6+ Gmail app in that particular device I am getting a responsive issue, my email template is not responsive in that device else everywhere it is working fine. can you please help in this condition
SHAHIL MISHRA
1

votes
0

answer
185

Views

Embedded images sent via sp_send_dbmail are not working in gmail or Outlook 2013 for OSX

I'm having a problem where emails sent through Sql Server are not properly being embedded in some mail clients - notably gmail and Outlook 2013 on OSX. (Outlook 2013 on PC is fine) Here's a sample call that will demonstrate the problem in my environment: declare @body varchar(4000) set @body = ' Emb...
Joe Zack
1

votes
0

answer
41

Views

Programatically finding out when a google account is last accessed

Is there a way to pull the last accessed date of a google/gmail account assuming you have all the right permissions and your app is authorized?
iflp
1

votes
1

answer
91

Views

Bold text while pasting in Gmail composer

I have to copy some text from a plain text file into Gmail's mail composer and make some parts of that text bold. I can obviously boldface those specific parts manually after pasting it to the composer. But is there a way to do this automatically such that when I copy that content to the Gmail compo...
Sagar
1

votes
0

answer
234

Views

Change color of text inputs in Gmail Add-on

I am using Google Apps Script for Gmail Add-on. Changing 'secondaryColor' in manifest file for gmail add-on does not change the color of form inputs(TextInput). It is written in the documentation that it will change the color of both buttons and form elements but it does not seem working for for...
Biren Prajapati
1

votes
1

answer
296

Views

Working with Gmail API from Google AppEngine

In GAE standard environment, I'm struggling with registering the watch() call against Gmail API for the Pub/Sub push notification using google-api-python-client. Here is the relevant excerpt from my code: import googleapiclient.discovery from oauth2client import service_account SCOPES = ['https://ww...
Bernard Halas
1

votes
1

answer
155

Views

Gmail Clear Images When Sending Email via Mailgun

I'm sending an email using Mailgun, the content of the email is HTML but Gmail clears images, even the img tag. The images are stored in a public S3, and it's accessible by the browser. Does someone know what causes this problem?
HHead26
1

votes
1

answer
628

Views

Spring MVC send email on registration

I'm trying to send an email to a user once their account is registered, I can get my code to work in a separate project (simple form input etc) however when I try to add the same code to my app it gives me the following error SEVERE: Context initialization failed org.springframework.beans.factory.Be...
lulubelle
1

votes
1

answer
217

Views

Getting message body from GMAIL API using Powershell

I have successfully managed to connect to GMAIL API using Powershell. However, I'm having difficulties finding where to get the message body. According to GMAIL's Documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/get It should be right here under the Payload attribut...
JustAGuy
1

votes
0

answer
86

Views
0

votes
0

answer
2

Views

Keeping an email thread in a category

I have been working on email client that will with with Gmail and Outlook 365. When you send an email you can put it in a 'Project'. The purpose being to say 'show me all emails related to this project'. Ideally all emails in the subsequent chain would be put into that 'Project' too. So I am trying...
Fraser Orr
1

votes
1

answer
124

Views

Gmail add-on says 'Invalid add-on' in one G Suite account (but not another)

We've developed an add-on, but whenever we try to install it we get an 'Invalid add-on' message. This is when adding the ID directly into the Gmail 'Add-ons' tab. I've copy-pasted it into another G Suite account, and it works fine. So I'm assuming the problem can't be with the code - it must be our...
Andrew West
1

votes
1

answer
123

Views

ViewAction button does not show up in gmail

ViewAction button does not show up in gmail I have followed all instructions and I think I it should show up I have tested with email schema validation tool I am using same address from, to I am sending via smtp.gmail.com There is no DKIM / SPF but I can't set this up for @gmail.com email, right? I...
Luboš Remplík
1

votes
0

answer
49

Views

node.js gmail api ignoring query string

I am using the gmail api for node.js as follows: gmail.users.messages.list({auth: oauth2Client, userId:'me', q: 'from: [email protected]',}, (err, response) => { console.log(response)}; The query string is being ignored and I am getting my entire inbox of message id's back. The query string works a...
Patrick Clark
1

votes
1

answer
219

Views

Gmail api get message sent or received

How do I find out whether a message ( returned from a get message endpoint ) is sent or received? Here is the message resource: { 'id': string, 'threadId': string, 'labelIds': [ string ], 'snippet': string, 'historyId': unsigned long, 'internalDate': long, 'payload': { 'partId': string, 'mimeType':...
Angad Dubey
1

votes
0

answer
59

Views

Launch Gmail contextual gadgets on G Suite Market Place

I want to add my existing Gmail contextual gadgets to G Suite Market Place as 'Works with Gmail'. can anybody help me which step should I follow. I have manifest.xml. for G suite it required manifest.json. please help me. thanks in advance!
Edward
1

votes
1

answer
338

Views

Gmail markup for event booking not working

I am trying to send an email with event template to Gmail addresses that will create an event in the recipients Google Calendar. Tried doing this using a standard C# Console Application. Below is my code. The emails are being received by the recipients successfully, but no event is getting created...
Alemtsehay Teshoma
1

votes
0

answer
64

Views

How to read Rich Text email in Gmail

I'm trying to receive rich text format email from outlook to my gmail (tnef formatted). Gmail is converting these emails. If anyone know about this please comment or answer. I need to view those emails in gmail.
Samith Basnayaka
1

votes
0

answer
125

Views

JavaMail vs GmailService

I have been reading about sending emails in Java and, as I have seen, I should use OAuth to make my app more secure. Later I discovered XOAuth which allows you to use OAuth with JavaMail but I don't get the difference. As long as I know, if I want to use Gmail API I have to build my Credential objec...
Aldeguer
1

votes
1

answer
355

Views

Google app script,gmail addon align action center and styling of TextInput

I have create simple gmail addon using google script,in that i have struggle here, i have used simple card,the problem is,we need align action button at center of the card and apply css styles to TextInput i have refer the document,but dont find any methods The below code i have tried, var card = Ca...
Robert
1

votes
0

answer
43

Views

How to determine if my mobile web app is running in Gmail's integrated browser?

My mobile web app does not perform as well in Gmail's integrated browser when launched from a link in a user's Gmail message. How can I determine that my app is running in GMail's integrated browser, or in Chrome Custom Tabs, or in GMail? In this case I want to display a message to encourage the...
Paul Della-Nebbia
1

votes
1

answer
365

Views

Gmail API Batch Request to get Messages returns 401 (Login Required)

I am attempting to write some code that fetches emails from Gmail using the Gmail API documented here. I have successfully managed to retrieve a list of emails, and to get details of individual emails. What I would like to do now is to use a BatchRequest to get details of multiple emails in a single...
bornfromanegg
1

votes
2

answer
201

Views

Parsing Gmails and extracting Subject line into Google Spreadsheet

I am trying to create a code that parses through a gmail and extracts the subject line of specifically labeled emails and automatically exports the data into a google spreadsheet. var sheet = SpreadsheetApp.getActiveSheet(); var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); function getEmail...
Michael Watanabe
1

votes
1

answer
1.8k

Views

[SMTP: Failed to connect socket: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) (code: -1, response: )]

I have been troubleshooting this issue for the last two months and have gotten no results on how to fix this. I am using PHP 5.6.3 with PEAR 1.10.1, the emailing pages in question worked fine with our 3-party emailing software on our local server only designed to use port 25 for SMTP. Now the PHP pa...
Peter Quill
1

votes
0

answer
60

Views

Sender field not found in emails sent using a different email address from Gmail browser based client

Let's say there is an email [email protected] A send-as has been set up for [email protected] When I send an email to someone from [email protected] account using [email protected] as the sender, the headers usually have a key-value pair with Sender as the key. This Sender is used to identify that [email protected] had sent the email...
Dilip
1

votes
0

answer
41

Views

PHP IMAP fetching mails from GMail with label doesn't fetch sent by me

I'm using PHP and IMAP to download mails from GMail with a particular label (that was automatically applied by a GMail filter). Everything is working well except that GMail is returning all the mails except ones sent by me. This is a problem as I need them all in order so I can process them with som...
Conor

View additional questions