Can batch processing automatically log in to an email? Take 163.com as an example. It requires automatically entering the username and password.
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Posted by chenall on: 2007-05-16 10:23
- @echo off
- set "username=Username"
- set "password=Password"
- start "Logging in to 163 Email" "https://reg.163.com/logins.jsp?username=%username%&password=%password%&url=http://fm163.163.com/coremail/fcg/ntesdoor2"
Originally posted by 26933062 at 2007-5-16 12:13 PM:
chenall's method is very good. I want to ask how it is achieved? Is it through the registry? It seems better than the vbs version. The vbs one cannot open other windows during login, but this one seems not to matter, so ...
chenall posted on: 2007-05-17 16:48
- @echo off
- ::Set the login email name as yeah or 126
- set mail=126
- ::Set user
- set user=username
- :Set password
- set pass=password
- ::YEAH login URL
- set "yeah=http://entry.yeah.net/cgi/login?&bCookie=&user=%user%&pass=%pass%"
- ::126 email login URL
- set "126=https://entry.mail.126.com/cgi/login?&bCookie=&user=%user%&pass=%pass%"
- ::Login
- cmd /c start "" "%%%mail%%%"