gmail

javascript cloneNode with events

I am working on a greasemonkey script for gmail where i need to make a copy of the "Inbox" link. Using cloneNode works ok, but i think there's an onclick event that gets attached to it at runtime. So, this is a two part question: 1. Is there a way to see what events are attached to a node? 2. Is there a way to copy those events as well?...

What's wrong with this gmail contact importer script for Drupal?

Drupal has a gmail contact importer module that's been oh-so-close to working for about 7 months now. I don't have the chops to debug the problem, the maintainer vanished, and I think this is an important piece to have working. So I turn to StackOverflow for help. The Problem: When you fill in your credentials and tell the script to b...

How to create W3C- or Gmail-esque #anchor "links"?

If you use Gmail, you'll see URLs in the address bar like: https://mail.google.com/mail/#inbox https://mail.google.com/mail/#starred If you go to one of these URLs, it will jump straight to the corresponding view. A similar example is on http://validator.w3.org where the anchors #validate_by_uri, #validate_by_upload and #validate_by_inp...

Advanced chat web-app

Hello, I am looking to implement something similar to facebook/gmail chat. I know they use comet & jabber as their technology. But am confused about a couple of things. Do i really need jabber? Can I instead use a simple mysql table with from, to, message, sent and recd? Are there any inefficiencies in using mysql? Is there any perfor...

Sending email in Java using Apache Commons email libs

I am using Apache Commons Email library to send emails, but I am not able to send them via GMail SMTP server. Can anyone provide sample code which works with GMail SMTP server and others? I am using the following code which does not work: String[] recipients = {"[email protected]"}; SimpleEmail email = new SimpleEmail(); email.setHos...

Add gmail as smarthost in Debian exim4

Hi, I'd like to know how to setup my exim4 on Debian so that it can use gmail as the smarthost, rather than my ISP. It appears to need TLS to be setup, and of course a gmail userid and password. The "standard" smarthost example that comes with exim4 in Debian doesn't have these. ...

PHP mail not showing up at Gmail but shows up at Hotmail and other 3rd party/ISP account

I have 2 sites where mail is sent to two vanity gmail accounts. I'm using PHP to handle the mail, but the mail is not showing up at gmail (not in spam/junk, it just doesn't show up). If I switch the PHP to send to my personal hotmail account, the mail shows up. Same for a personal email account through my ISP. The mail used to show u...

Greasemonkey script for inserting math in gmail

I wish an easy way to communicate mathematical equations with gmail. There's a javascript script called AsciiMath, which should translate Tex-like equations into standard mathML. I thought that it would be nice to use this script with GM. I thought that before sending the email, this script would convert all the TeX-like equations in y...

Greasemonkey and Gmail - parsing message contents

I want to read the contents of Gmail messages and add some fancyness on links. Here's some code: unsafeWindow.gmonkey.load("1.0", function(gmail){ gmail.registerViewChangeCallback(function(){ if (gmail.getActiveViewType && gmail.getActiveViewType() == "cv") { var viewElement = gmail.getActiveViewElement() // Do things ...

Can I use OpenID delegation with a standard Google account?

I'm currently using ClaimID and have the following data on my website to allow delegation: <link rel="openid.server" href="http://openid.claimid.com/server" /> <link rel="openid.delegate" href="http://openid.claimid.com/tjrobinson" /> Are there equivalent URLs for Google? If not, has there been any mention of support in future? Befor...

Email Monitor Synchronization

I'm writing a C# program that monitors a dedicated Gmail account using POP3 for specialized command emails and reacts appropriately. For maximum reliability, I will run this program on several computers throughout the country. I currently have a race condition where two instances of the program can read the same message before one of th...

Download emails(backup) from gmail programatically

Does anyone know a way to execute a bulk dump of every email of a gmail account and write the emails to a file? I'm looking to write a program that would let users back up there gmail ( probably via imap) and back it up to either individual files or as a pst ( i know pst will probably be much harder) Thanks if you can help ...

Extending Android's Default Gmail/Email Applications

Hello everyone, I would like to extend the Android platform's default Gmail/Email applications either by plugging into their ContentProvider or by using intent filters. Essentially, I want to be able to scan incoming emails for special rules that will trigger events in my Android application. If scanning emails automatically isn't possi...

How does youtube sign you in with your gmail account?

I have an idea of how they would do this but it seems very hacky way about going about it. The problem I see from this is that youtube needs to grab gmail or google cookies. The way I would do this would be to open another frame from the gmail domain that reads the gmail cookies and forwards this information to a youtube url. This yout...

How do I send mail to my google apps mail server from the webserver with the same name (using sendmail) on a shared hosting environment?

I'm experiencing a similar issue to the one raised in this question. sendmail (via PHP) will send an email unless its to an address with the same domain as the server its on. I understand this is because the sendmail is trying to send the email locally. I have limited control over the server, as its a shared hosting environment. I'...

IMAP4_SSL with gmail in python

We are retrieving mails from our gmail account using IMAP4_SSL and python. The email body is retrieved in html format. We need to convert that to plaintext. Can anyone help us with that? ...

Check unread count of Gmail messages with Python

How can I check the number of unread Gmail message in my inbox with a short Python script? Bonus points for retrieving the password from a file. ...

Use gmail domain account with IMAP authentication with SAML authentication not working...

I have a python script that interfaces gmail accounts and allows searches, etc. This works on normal emails (ending on @gmail.com) but not on domain accounts. In this case authentication is done via SAML, and IMAP is enabled on the gmail domain account... The instructions from google on how to configure IMAP only seem to work for @gmail...

How does incoming mail notification on Gmail works?

Hello, I'm wondering how it's implemented in Gmail, that every time you receive e-mail, the list of mails is automatically refreshed. It looks like the server is sending some kind of event to the browser, but how is it possible? Or maybe it’s simle: the browser ask the server for new messages every let’s say 2 seconds? But it would pro...

Reading Atom feed of gmail account from C#

Hi all, I have a project that will send an email with certain data to a gmail account. I think that it will probably be easier to read the atom feed rather than connect through pop the url that I should be using according to google is https://gmail.google.com/gmail/feed/atom The question/problem is how do I authenticate the email a...