View unanswered posts | View active topics It is currently 28 Nov 2014 05:56



Post new topic Reply to topic  [ 10 posts ] 
can we login into gmail account using batch? 
Author Message

Joined: 27 Apr 2012 01:38
Posts: 21
Post can we login into gmail account using batch?
hi everyone,
i would like to know can we log in into our gmail account using batch file.?
username and password should be set in batch file only.
thank you!


13 May 2012 23:06
Profile

Joined: 23 Dec 2011 13:59
Posts: 2022
Post Re: can we login into gmail account using batch?
And you are planning on doing this to send or receive mail?
I would think any pop3 client that supports command line input would work.


14 May 2012 05:51
Profile

Joined: 27 Apr 2012 01:38
Posts: 21
Post Re: can we login into gmail account using batch?
no no i don't want to send and receive mail.
i am just asking is it possible or not.
and if it is possible then how?
and if it is not then why not?


14 May 2012 06:12
Profile

Joined: 23 Dec 2011 13:59
Posts: 2022
Post Re: can we login into gmail account using batch?
prash11 wrote:
no no i don't want to send and receive mail.
i am just asking is it possible or not.
and if it is possible then how?
and if it is not then why not?

This makes no sense.


14 May 2012 07:42
Profile

Joined: 27 Apr 2012 01:38
Posts: 21
Post Re: can we login into gmail account using batch?
my requirement is after every reboot the batch program file should start.
and it should open the my gmail inbox.
before admin login on my machine.
i know how to start it after reboot but i dont know if i can open gmail inbox using batch file.


14 May 2012 07:51
Profile

Joined: 23 Dec 2011 13:59
Posts: 2022
Post Re: can we login into gmail account using batch?
prash11 wrote:
my requirement is after every reboot the batch program file should start.
and it should open the my gmail inbox.
before admin login on my machine.
i know how to start it after reboot but i dont know if i can open gmail inbox using batch file.

Have your browser save your login credentials.


14 May 2012 08:00
Profile

Joined: 26 Oct 2011 22:38
Posts: 1007
Location: Egypt
Post Re: can we login into gmail account using batch?
I think VBscript can do it


14 May 2012 12:13
Profile

Joined: 23 Dec 2011 13:59
Posts: 2022
Post Re: can we login into gmail account using batch?
abc0502 wrote:
I think VBscript can do it

I thought so too and I actually found one online that does it but I could never get it to work.


15 May 2012 05:08
Profile

Joined: 02 May 2012 14:42
Posts: 54
Post Re: can we login into gmail account using batch?
I would autohotkey to be honest. You can use it to input tabs, returns and such like. You can have it navigate to the username field and enter your username and then navigate to the password field and enter that. Quite simple to use


15 May 2012 13:06
Profile

Joined: 01 Aug 2011 13:48
Posts: 170
Post Re: can we login into gmail account using batch?
Yes.
Though your question could've looked at things differently like How can you log into a pop3 server from the command line..

(doesn't have to be batch though obviously one could put it in a batch)

These are single commands..

gmail supports POP3.. and there are programs that can access POP3 from the command line.

I have used these two programs and am happy with them..

sendemail wants you to give it an SMTP server

getmail wants you to give it a POP server.

getmail
c:\getmail\getmail.exe
GetMail v1.33: WinNT console utility to download a mailbox's mail.

C:\>sendemail
sendemail-1.56 by Brandon Zehm


I haven't tried sendemail on an SMTP Server that requires authentication e.g. non ISP ones

But I see an option
-xu USERNAME username for SMTP authentication
-xp PASSWORD password for SMTP authentication

GMAIL does offer an SMTP Server.. and so does Yahoo, that require a user/pass.. And it looks like sendemail supports that.


17 May 2012 01:32
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Yahoo [Bot] and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Forum style by Vjacheslav Trushkin for Free Forums/DivisionCore.