How is GMail Chat able to make AJAX requests without client interaction?

That tech is known as “comet”, but also as “server push”, “reverse ajax”, etc. It’s about pushing data from the server to the browser, keeping an http connection alive. Find more info on it on the wikipedia article (English version). Also here’s a pretty good presentation with Joe Walker from DWR, where he talks about … Read more

Expected response code 250 but got code “535”, with message “535-5.7.8 Username and Password not accepted

I researched on the internet and some answers includes enabling the “access for lesser app” and “unlocking gmail captcha” which sadly didn’t work for me until I found the 2-step verification. What I did the following was: enable the 2-step verification to google HERE Create App Password to be use by your system HERE I … Read more

Base64 images to gmail

The links from Moin Zaman show test results that are outdated (from 2008). As of my thorough testing today Gmail does support displaying embedded images for both methods. Use base64 encoding image inline within <img src=”https://stackoverflow.com/questions/3279523/…”> <html><body><img src=”data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA9QAAADmCAIAAAC77FroAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAO…”></body></html> Use base64 encoded image as attachment Message-ID: <BE0243A40B89D84DB342702BC5FD6D313EA3BE1B@BYMAIL.example.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [xxx.xxx.xxx.xxx] … Read more

How to develop Chrome extension for Gmail?

It looks like you haven’t stumbled upon the gmail.js project. It provides a rich API allowing to work with Gmail. However, please note that this project isn’t maintained by Google. This means that any changes in the Gmail may break your extension and there is no guarantee that anyone will care to update gmail.js to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)