gmail

Google Apps Scripts - Extract data from gmail into a spreadsheet

半腔热情 提交于 2019-12-18 11:43:01
问题 this is the first script i try to write from scratch. It's been no good up to now so i'm going to ask for some help. Case: I recieve e-commerce confirmation emails from e-commerce sites no reply email address. In the email's body they send email address from buyers. I want to send an automated mail to the body's email address. How i plan to do this (any suggetions to eliminate steps will be thanked). Use a rule to tag incoming emails with a unique tag. Use that tag to identify emails in gmail

accessing my gmail inbox via php code

不羁岁月 提交于 2019-12-18 11:27:40
问题 how i can access my gmail account through my php code? I need to get the subject and the from address to from my gmail account.And then i need to mark the accessed as read on gmail Should i use gmail pop3 clint?is that any framework that i can use for accessing gmail pop3 server. 回答1: I would just use the PHP imap functions and do something like this: <?php $mailbox = imap_open("{imap.googlemail.com:993/ssl}INBOX", "USERNAME@googlemail.com", "PASSWORD"); $mail = imap_search($mailbox, "ALL");

Python, IMAP and GMail. Mark messages as SEEN

℡╲_俬逩灬. 提交于 2019-12-18 10:47:44
问题 I have a python script that has to fetch unseen messages, process it, and mark as seen (or read) I do this after login in: typ, data = self.server.imap_server.search(None, '(UNSEEN)') for num in data[0].split(): print "Mensage " + str(num) + " mark" self.server.imap_server.store(num, '+FLAGS', '(SEEN)') The first problem is that, the search returns ALL messages, and not only the UNSEEN. The second problem is that messages are not marked as SEEN. Can anybody give me a hand with this? Thanks!

How to get rid of “Show trimmed content” in GMail HTML emails?

耗尽温柔 提交于 2019-12-18 10:18:14
问题 I send a lot of HTML emails. The problem with GMail is, if there are more than one emails with the same subject, it hides some similar content and shows a "..." to show the "trimmed content". This screws up with my formatting. If changing the subject is not an option, is there is any way to avoid this behaviour? Edit: I should clarify that I programmatically send emails using Amazon SES from a php script. That is why I posted the question in Stack Overflow. 回答1: I've just encountered this

Permisssion denied while attaching apk file with GMail app android

南笙酒味 提交于 2019-12-18 09:48:06
问题 I have a requirement to send a apk file through share Intent and I have also implemented without any hassle. But the problem arises only while sending apk via GMail, I am getting permission denied while i try to attach. I really dont know what is happening with GMail. Kindly help me through your answers and solutions. Any Small hint and tips would also be useful for me. Thanks in advance I am using following code to send APK using shared intents: public static void appSend(ArrayList<File>

Enable Gmail login in my application

◇◆丶佛笑我妖孽 提交于 2019-12-18 09:39:35
问题 These are the minimum details i need to login to my application: guid(Global Unique ID) fname lname email gender for Facebook login it was clear and could do this: JSONObject json = Util.parseJson(facebook.request("me"); to get all the data specified above. Is, there a way i can do something similar and simple with Gmail? I read this which says: No, there is no such SDK(like facebook) and if you want to access the emails of Gmail then you need to implement your own email client and for that

Reading mails sent from GMail

こ雲淡風輕ζ 提交于 2019-12-18 09:16:53
问题 I am using JavaMail to read mail in my Android app. I have tried to cover all combinations i.e Mail sent/received on/from Custom Server/Gmail ID/Live ID. The problem occurs with SOME of the mails sent from GMail WITH Attachment. I am able to receive the attachment, but the content returns javax.mail.internet.MimeMultipart@44f2e698 Here's the code used to receive and read messages: Properties props = System.getProperties(); props.setProperty("mail.store.protocol", "imap"); try { /* Create the

Modifying a draft without downloading attachments

前提是你 提交于 2019-12-18 09:13:51
问题 I have a draft saved on my Gmail account, containing an attachment. At a later stage, I realise that I have to add some text to the mail, via the Gmail API. At an even later stage, I decide to send the draft. From what I've found, the only way to do this is to: Download the draft and decode it. Edit the message body to your liking. Encode it and save the draft. Send the draft. This is all well and good, until you have a big attachment in your draft. Is there another way than doing the steps

Modifying a draft without downloading attachments

感情迁移 提交于 2019-12-18 09:13:42
问题 I have a draft saved on my Gmail account, containing an attachment. At a later stage, I realise that I have to add some text to the mail, via the Gmail API. At an even later stage, I decide to send the draft. From what I've found, the only way to do this is to: Download the draft and decode it. Edit the message body to your liking. Encode it and save the draft. Send the draft. This is all well and good, until you have a big attachment in your draft. Is there another way than doing the steps

Using Gmails Outgoing SMTP from PHP using TLS

久未见 提交于 2019-12-18 09:06:20
问题 I'm sending email from PHP through the Gmail SMTP server. I've been using the CakePHP email component with SMTP settings set. I originally had it all working fine using SSL over port 465 but have found my web host doesn't allow outgoing traffic over 465. They did however tell me that outgoing connections over port 587 is allowed. After reading http://mail.google.com/support/bin/answer.py?answer=13287 I thought it would be as easy as changing the port number and protocol but I can't get it to