China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

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!

中国DOS联盟论坛
The time now is 2026-06-25 06:49
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Batch processing automatically logs in to the email View 8,811 Replies 48
Original Poster Posted 2007-05-16 03:23 ·  中国 湖南 长沙 电信
银牌会员
★★★
Credits 2,268
Posts 879
Joined 2006-12-19 16:23
19-year member
UID 73968
Gender Male
Status Offline
Can batch processing automatically log in to an email? Take 163.com as an example. It requires automatically entering the username and password.
Floor 2 Posted 2007-05-16 08:56 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 2,000
Posts 621
Joined 2007-01-01 00:00
19-year member
UID 75212
Gender Male
Status Offline
It is okay under the command line;
Reference:
vkil's p-mailsend.cmd v 3.8 (send emails from the command line, mass mailing\multiple attachments\anonymous)
http://www.cn-dos.net/forum/viewthread.php?tid=29873&fpage=2

On the graphical interface; you need to use scripts such as vbs or AutoIt3 to handle;
You can search in the forum
Floor 3 Posted 2007-05-16 10:26 ·  中国 福建 泉州 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
Try the following batch processing.



  1. @echo off
  2. set "username=Username"
  3. set "password=Password"
  4. start "Logging in to 163 Email" "https://reg.163.com/logins.jsp?username=%username%&password=%password%&url=http://fm163.163.com/coremail/fcg/ntesdoor2"
Posted by chenall on: 2007-05-16 10:23
QQ:366840202
http://chenall.net
Floor 4 Posted 2007-05-16 12:13 ·  中国 湖南 长沙 电信
银牌会员
★★★
Credits 2,268
Posts 879
Joined 2006-12-19 16:23
19-year member
UID 73968
Gender Male
Status Offline
chenall The expert's method is very good. I want to ask how it is implemented? Is it through the registry? It seems better than the VBS version. The VBS one can't open other windows during login, but this one seems okay, is that right?
Also, may I ask if this sentence can be written in several lines? It's too long in one line.
start "163邮箱登录中" "https://reg.163.com/logins.jsp?username=%var%&password=%num%&url=http://fm163.163.com/coremail/fcg/ntesdoor2"
Floor 5 Posted 2007-05-16 12:47 ·  中国 浙江 杭州 华数宽带
银牌会员
★★★
Credits 2,000
Posts 621
Joined 2007-01-01 00:00
19-year member
UID 75212
Gender Male
Status Offline
The approach of chenall is to achieve it by constructing the URL address;
Floor 6 Posted 2007-05-16 12:49 ·  中国 湖南 长沙 电信
银牌会员
★★★
Credits 2,268
Posts 879
Joined 2006-12-19 16:23
19-year member
UID 73968
Gender Male
Status Offline
Oh, I really don't understand this at all, I've never even heard of it.
Floor 7 Posted 2007-05-16 14:04 ·  中国 福建 泉州 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
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 ...


As the moderator said, by adding parameters to the URL, it is equivalent to the effect of entering the username and password and then pressing Enter.
But this method still has certain limitations.

This login will call IE to open the above address.
This is a URL address and cannot be written separately
QQ:366840202
http://chenall.net
Floor 8 Posted 2007-05-16 14:36 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline
If the password contains special characters, this method cannot be used to log in. For example, & and so on, which need to be converted into hexadecimal form.
Floor 9 Posted 2007-05-16 14:43 ·  中国 广东 广州 越秀区 电信
中级用户
★★
Credits 201
Posts 72
Joined 2005-11-20 20:57
20-year member
UID 45624
Status Offline
chenall,How to specifically write the NetEase email for www.yeah.net? Please teach.
Floor 10 Posted 2007-05-16 15:23 ·  中国 福建 福州 连江县 联通
高级用户
★★
Credits 581
Posts 277
Joined 2006-12-23 05:10
19-year member
UID 74328
Gender Male
Status Offline
Learned

Confirmed to be feasible
Floor 11 Posted 2007-05-16 16:10 ·  中国 湖南 长沙 电信
银牌会员
★★★
Credits 2,268
Posts 879
Joined 2006-12-19 16:23
19-year member
UID 73968
Gender Male
Status Offline
What does "limitation" refer to? In which aspects?
Floor 12 Posted 2007-05-16 19:30 ·  中国 广东 广州 电信
中级用户
★★
Credits 259
Posts 112
Joined 2006-09-18 04:55
19-year member
UID 62928
Gender Male
Status Offline
Heheh.. learned another good thing again!
Floor 13 Posted 2007-05-16 20:19 ·  中国 广东 广州 越秀区 电信
中级用户
★★
Credits 201
Posts 72
Joined 2005-11-20 20:57
20-year member
UID 45624
Status Offline
After analyzing for a long time, I still don't know how to specifically write the NetEase mailbox at www.yeah.net. I sincerely ask all experts for guidance.
Floor 14 Posted 2007-05-16 23:07 ·  中国 黑龙江 牡丹江 电信
中级用户
★★
Credits 216
Posts 129
Joined 2007-02-14 07:26
19-year member
UID 79469
Gender Male
Status Offline
It's very useful. How to do it for 126? I tried it and still couldn't make it. How to specifically write for NetEase mailboxes? Please help, experts.
Floor 15 Posted 2007-05-17 16:50 ·  中国 福建 泉州 石狮市 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
The login methods of 126 and YEAH are the same. Different from that of 163.

Specifically, see the following batch processing



  1. @echo off
  2. ::Set the login email name as yeah or 126
  3. set mail=126

  4. ::Set user
  5. set user=username

  6. :Set password
  7. set pass=password

  8. ::YEAH login URL
  9. set "yeah=http://entry.yeah.net/cgi/login?&bCookie=&user=%user%&pass=%pass%"

  10. ::126 email login URL
  11. set "126=https://entry.mail.126.com/cgi/login?&bCookie=&user=%user%&pass=%pass%"

  12. ::Login
  13. cmd /c start "" "%%%mail%%%"
chenall posted on: 2007-05-17 16:48


[ Last edited by chenall on 2007-5-18 at 07:57 AM ]
QQ:366840202
http://chenall.net
Forum Jump: