English 中文(简体)
电子邮件中的个人邮件链接
原标题:Link to individual mails in gmail

I want to download all emails in a gmail account and also want to get the unique url which will open the exact mail in gmail, off course with authentication. I tried using javax.mail imap library but Imap probably doesn t supports anything like it.

我可以使用“https://mail.google.com/mail/feed/atom”电子邮件。 但赢得的只是给我整个电子邮件,而只给我看不懂的电子邮件,我不想错过任何电子邮件。

最佳回答

如果你利用谷歌应用促进商业/教育,你可以这样做。 如果是的话,你可以通过使用奥阿瑟,进入箱中(原子)的电子邮件。 OAuth也可用于通过信通邮局获取电子邮件,然后,你可以按方案完全使用信通转服务机,见。 Gmail IMAP andSMTP using OAuth.

谷歌扩展了北极监测评估方案,使开发商能够通过北极监测评估方案提供更像全球邮件的经验,见:。 (Gmail IMAP Expansions, X-GM-EXT-1)

独特的信息(X-GM-MSGID)和独特的透镜(X-GM-THRID)可以用来直接制作与Gmail电文的链接——你只得把x长(例如,Long.toHexString(x_gm_msgId))。 那么,你的联系方式需要:

http://mail.google.com/mail?account_id=ACCOUNT_ID_HERE&message_id=MESSAGE_ID_HERE&view=conv&extsrc=atom

供应ACCOUNT_ID_HERE(如user@someplace.com)和MESSAGE_ID_HERE

I have been working in this area and think you might find my project useful, see: java-gmail-imap.

[NB:上文所列格式的URLs并不在Gmail 移动地点(至少是Pi/Safari)工作。]

问题回答

https://mail.google.com/mail/#all/HexEncodeMessageID replace the HexEncodeMessageID part with the ID. You get it, when you open the email in a new window (use the pop out icon in the upper right corner. The id looks like this: search=inbox&th=1426b8f59e003aa0

我确信,这是不可能做到的——没有可靠的途径来获得独一无二的URL,这可导致在电子邮件中发出单一电子邮件。 我爱听别人的话!

我确实认为,有可能获得一份URL,从而形成载有电文的Gmail read,但你无法控制这一可怕的显示中哪项电文“被扩展”。





相关问题
how does gmail detect mouse movement?

if you are inactive on gmail, by not moving your mouse for a while, it changes your chat status to orange which means idle. but when you start moving the mouse again it turns it back to green meaning ...

reading mails using python

how do i read mails from my mail box using python?? import getpass, imaplib M = imaplib.IMAP4( IMAP4.gmail.com:993 ) M.login(getpass.getuser(), getpass.getpass()) M.select() typ, data = M.search(None,...

SMTP Service not available

I am trying to create a web application which upon entering your email address and message , sends an email with this information from the email address. I used this: try { ...

How to auto log into gmail atom feed with Python?

Gmail has this sweet thing going on to get an atom feed: def gmail_url(user, pwd): return "https://"+str(user)+":"+str(pwd)+"@gmail.google.com/gmail/feed/atom" Now when you do this in a browser, ...

Can I build an addin for Gmail?

Is there a way I can create an addin for my Gmail account? Is GreaseMonkey the only real way? I use Gmail for customer service, and I d like to create a tool that looks up the customer and preps a ...

Web Link in a mail is not rendering as link in yahoo

string from = "abc@gmail.com"; string to = "xyz@gmail.com,xyz@yahoo.co.in"; string password="abcxyz"; MailMessage mail = new System.Net.Mail.MailMessage(); mail.To.Add(to); mail.From = new ...

热门标签