gmail

keytool error: java.lang.Exception: Input not an X.509 certificate

让人想犯罪 __ 提交于 2019-12-05 19:56:25
问题 I am trying to import Gmails smtp certificate for use with Jira, but I get this error when importing using Javas keytool. I used openssl to get the certificate, everything between ----Begin Certificate---- and ----End Certificate---- (inclusive). I also attempted to create an x.509 certificate using Windows Certificate Manager, but still get this error. I have verified that there are no extra whitespaces in the file. I have seen many people with this problem online, but none of the solutions

Extract info from email body with Google Scripts

淺唱寂寞╮ 提交于 2019-12-05 19:43:27
I am trying to extract specific info from email in one of my labels in Gmail. I've hacked (my scripting knowledge is very limited) the following together based on a script from https://gist.github.com/Ferrari/9678772 . I am getting an error though: "Cannot convert Array to Gmail Thread - Line 5" Any help will be greatly appreciated. /* Based on https://gist.github.com/Ferrari/9678772 */ function parseEmailMessages(start) { /* var threads = GmailApp.getInboxThreads(start, 100); */ var threads = GmailApp.getMessagesForThread(GmailApp.search("label:labelname")); var sheet = SpreadsheetApp

MailKit Delete single message from gmail

为君一笑 提交于 2019-12-05 19:43:10
问题 I am using MailKit (https://github.com/jstedfast/MailKit) to connect to google apps via imap, how can I delete a single message though ? (I am fine to have it moved to trash, just need it out of the inbox. So far I have it connected, downloading, parsing links from message bodies. I just need this one last action to have what I need. Thanks! 回答1: To delete a message from a folder on the IMAP server, this is all you need to do: client.Inbox.AddFlags (new int[] { index }, MessageFlags.Deleted);

Get UID for message from GMail using javax.mail with IMAP

感情迁移 提交于 2019-12-05 19:13:47
I'm using javax.mail to retrieve mails from GMail using IMAP. I want to also obtain the tags being applied to each mail, so I'm iterating over all the folders in the store (which actually are tags) and downloading mails for each other. I was using the method getUID of ImapFolder to obtain the UID for each message, and then compare them to recognise the same mail along different folders. For example, if I had the mail "Hello" tagged with "A" and "B", I would iterate through folders "Inbox", "A" and "B" and get the same mail from each folder; so I could keep a single copy tagged with "Inbox", "A

How to build a chrome extension to add panel to gmail windows?

时光毁灭记忆、已成空白 提交于 2019-12-05 19:03:36
问题 I want to build a chrome extension like rapportive.com. I'm new to Chrome extensions and Gmail Content Script. Can any one please suggest how to go about this? Currently I'm reading Google's Gadget docs. 回答1: Here are some notes to you started. There are more robust ways to build this, but this is the "hello world" of the functionality you are talking about: You will need to define a content script that you add to the context of gmail. This part is pretty easy and can work with any of the

IMAP x Gmail => labels?

烂漫一生 提交于 2019-12-05 19:01:17
问题 Any experiences on a way to get gmail labels (or even filters ?) from an imap connection ? Can't find a clue... thx for any infos about it. 回答1: I have created a IMAP proxy (Net::Gmail::IMAP::Label) that filters the connection and adds the Gmail labels to the mail headers under X-Label. If your client can display that field next to the subject, it will look similar to the Gmail web interface. 回答2: Labels can be seen as IMAP folders. 回答3: Alternatively, if you are using IMAP programmatically,

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

做~自己de王妃 提交于 2019-12-05 18:39:50
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: TIdSSLIOHandlerSocketOpenSSL Destination = 'smtp.gmail.com:587' Host = 'smtp.gmail.com' MaxLineAction = maException Port = 587 DefaultPort = 0 SSLOptions.Mode = sslmUnassigned SSLOptions.VerifyMode = [] SSLOptions.VerifyDepth = 0 end and Send button click event: procedure TForm1.btnSendClick(Sender: TObject); var mes:TIdMessage; fromAddress:TIdEmailAddressItem; toAddress

Gmail Send Quota, When Sending Using Google App Engine

百般思念 提交于 2019-12-05 18:25:56
Gmail imposes a daily 500 recipient quota for sending emails. If you send through their POP/IMAP interface that quota is only 100 recipients per day. What is the sending quota for sending an email on a gmail account using the google app engine? Would it follow the POP/IMAP limit or the standard gmail limit? Here is all the official gmail quota information I found: http://mail.google.com/support/bin/answer.py?hl=en&answer=22839 The answer depends on how you decide to send the email. Are you using the built in App Engine mailing API? If so you, can send lots and lots of emails (see amir's answer

How to receive push notifications from my Gmail account?

大城市里の小女人 提交于 2019-12-05 17:51:38
问题 I'd like to write an application which monitors a mailbox (ideally a Gmail mailbox). In brief, my question is how do I listen to incoming emails? I could always keep pulling emails but I am afraid that this doesn't scale very well. How does iOS do it with Gmail? I think they are using Exchange protocol, but I am not sure. Does anybody have an idea on how to do it? Is there a solution which already does something similar? I just need a hook. Thanks! 回答1: The most universal "API" for monitoring

SPF issue: what causes softfail?

匆匆过客 提交于 2019-12-05 17:42:54
问题 Whenever I use PHP to send emails to members of my site, the email ends up in the spam folder for most email providers like Gmail and Hotmail. When I check the original source in Gmail, I see the following: Delivered-To: mypersonalmail@gmail.com Received: by 10.236.41.34 with SMTP id g22cs272510yhb; Wed, 1 Jun 2011 05:38:27 -0700 (PDT) Received: by 10.236.77.102 with SMTP id c66mr7228248yhe.303.1306931907131; Wed, 01 Jun 2011 05:38:27 -0700 (PDT) Received-SPF: softfail (google.com: best guess