I am really new to this website. I hope someone could help me out with an issue that I that am facing now.
I needed to create a mobile app in android which changes gmail signature. I did a bit of googling and end up with this https://developers.google.com/google-apps/email-settings/
I used the ClientLogin authentication mode (https://www.google.com/accounts/ClientLogin) and got the authorization token. But am unable to proceed further. What I wanted is simply an html code as my gmail signature. I would appreciate if anyone could help me out with some sample code or document (any authorization mode will do, I don’t really want to stick on with ClientLogin, oAuth will do it for me).
Thanks in advance.
Old(ish) post I know – but had the same issue and solved it this way:
To obtain a new token, follow these steps:
Content-Type: application/x-www-form-urlencoded
– Email / Google email address
– Passwd / user above’s password
– accountType / HOSTED (if hosted)
– service / apps
Hit send and you will receive the SID, LSID and Auth. Grab the Auth only and change the params in your REST client:
Content-type: application/atom+xml
Authorization: GoogleLogin auth=your-authentication-token-received-above
<?xml version="1.0" encoding="utf-8"?><atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:apps="http://schemas.google.com/apps/2006">
<apps:property name="signature" value="Liz Jones - (+1) 619-555-5555
Accounts Management, A&Z LTD." />
</atom:entry>
(info as per here: https://developers.google.com/google-apps/email-settings/#manage_signature_settings)
Hope it helped!