can we login into gmail account using batch?
Moderator: DosItHelp
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!
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!
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.
I would think any pop3 client that supports command line input would work.
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?
i am just asking is it possible or not.
and if it is possible then how?
and if it is not then why not?
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.
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.
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.
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.
Re: can we login into gmail account using batch?
I think VBscript can do it
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.
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
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.
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.