Shoutbox

[Request] A change to the Gmail Checker. - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Request] A change to the Gmail Checker. (/showthread.php?tid=86794)

[Request] A change to the Gmail Checker. by Th3rmal on 10-21-2008 at 11:20 AM

I was wondering if someone could edit (or give me the code that i should change] the Gmail Checker script so that instead of checking @gmail, it would check @th3rmal (hosted by gmail).

Help would be appreciated :)


RE: [Request] A change to the Gmail Checker. by felipEx on 10-21-2008 at 08:24 PM

I assume you're using Google Apps on your domain.

You have to edit the GC_main.js file and change a few things:

code:
//var strGCMailUrl = "https://mail.google.com/mail/feed/atom";

var strGCMailUrl = "https://mail.google.com/a/YOURDOMAIN/feed/atom";

Edit the checkMail function and change this:
code:
//var strLink = "Email="+strGCUsername+"&Passwd="+strGCPassword;
var strLink = "http://mail.google.com/a/YOURDOMAIN";
* you can (optionally) remove every "@gmail.com" text in that function.

Finally, edit the toastClick function and change the following:
code:
new ActiveXObject("WScript.Shell").run(strLink);

Have fun ;)
RE: [Request] A change to the Gmail Checker. by Th3rmal on 10-21-2008 at 08:39 PM

Thank you for your reply. Ok so ive made those changes. Would it be possible for you to check if i have done them correctly?

Link to edited GC_main.js


RE: [Request] A change to the Gmail Checker. by prashker on 10-21-2008 at 08:40 PM

Well does it work, if so then it's correctly done :p


RE: RE: [Request] A change to the Gmail Checker. by felipEx on 10-21-2008 at 08:48 PM

quote:
Originally posted by Th3rmal
Thank you for your reply. Ok so ive made those changes. Would it be possible for you to check if i have done them correctly?

Link to edited GC_main.js
Yeah, that's correct. altough i couldn't verify it due the error (401) i got because i couldn't login :p

btw, you don't need the "www", just use th3rmal.com and everything should be working ;)
RE: [Request] A change to the Gmail Checker. by Th3rmal on 10-22-2008 at 03:15 AM

Ok i tried that, and it still wasnt working (redirected to google mail instead of th3rmal mail), so i got rofl to help me fix it, but now it keeps saying "Incorrect Username or Password", but im sure that the username and pass are correct. :s


RE: [Request] A change to the Gmail Checker. by :No-Frost: on 10-22-2008 at 01:37 PM

I'm interested on this... It's possible to make Gmail Checker to check not only Gmail... I mean, I had another account that work with the gmail account but with other domain (it's gmail thought)... but with @mayor.cl at the end...

Is there a way to allow the script to check for that account as well...???


RE: [Request] A change to the Gmail Checker. by robert_dll on 10-22-2008 at 11:26 PM

quote:
Originally posted by :No-Frost:
Is there a way to allow the script to check for that account as well...???
Just replace "YOURDOMAIN" with "mayor.cl" in the code posted by felipEx and it should work

RE: [Request] A change to the Gmail Checker. by :No-Frost: on 10-30-2008 at 05:59 AM

Ok, but Iwant to include the domain into the script, I mean, I want to keep gmail and also use the "mayor" domain....