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 10:22
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » p-mailsend_4.0.cmd (send email from command line, mass mailing\multiple attachments\anonymous) DigestII View 80,867 Replies 122
Floor 46 Posted 2007-04-29 03:54 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
What's going on? I changed it to ehlo and still got an error.
553 this mail is blocked by kbas system,
Floor 47 Posted 2007-04-29 04:06 ·  中国 浙江 杭州 华数宽带
银牌会员
★★★
Credits 2,000
Posts 621
Joined 2007-01-01 00:00
19-year member
UID 75212
Gender Male
Status Offline
if not defined ip (echo Network is not reachable&goto :eof)
echo quit|telnet %ip% %port%||(echo %smtp% telnet not reachable, maybe your %port% port is not open&goto :eof)

There is still a problem with this sentence!!

Not being able to ping does not mean the IP is not found;
That is to say, connecting to %smtp% 25, using ping to define %IP% can still be successful...

telnet %ip% %port% ;
Unable to connect to %ip% %port% may mean your %port% port is not open;
This statement is incorrect.
The port of this machine connecting to %ip% is not necessarily %port%;

So it is still recommended to use

ping %ip% -n 1 >>nul 2>>nul || echo ..& goto :eof

If ping is successful; naturally can connect to the %port% port of the ip;

[ Last edited by bjsh on 2007-4-28 at 03:07 PM ]
Floor 48 Posted 2007-04-29 04:09 ·  中国 浙江 杭州 华数宽带
银牌会员
★★★
Credits 2,000
Posts 621
Joined 2007-01-01 00:00
19-year member
UID 75212
Gender Male
Status Offline
56 should use
HELO
Floor 49 Posted 2007-04-29 04:15 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Originally posted by bjsh at 2007-4-29 04:06:
if not defined ip (echo Network is not connected&goto :eof)
echo quit|telnet %ip% %port%||(echo %smtp% telnet not connected, maybe your %port% port is not enabled&goto :eof)

There is still a problem with this sentence!!

pi ...

I think these large websites still can't be pinged, so the address can't be resolved, heh heh
Floor 50 Posted 2007-04-29 04:15 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
56 should use
HELO
The 56 one, no matter how I try, there's still a 553 error. I don't know why? You send it once and see if yours works?
Floor 51 Posted 2007-04-29 04:19 ·  中国 浙江 杭州 华数宽带
银牌会员
★★★
Credits 2,000
Posts 621
Joined 2007-01-01 00:00
19-year member
UID 75212
Gender Male
Status Offline
Can resolve the address even if can't ping;

I just ran out of money in the network card today;
Came here using a proxy;
Can't test with 56 anymore;
Still the same problem you mentioned;
Proxy web page works;
Doesn't work under command line;
Something worth researching
Floor 52 Posted 2007-04-29 04:19 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Originally posted by bjsh at 2007-4-29 04:06:
if not defined ip (echo Network is not connected&goto :eof)
echo quit|telnet %ip% %port%||(echo %smtp% telnet is not connected, maybe your %port% port is not enabled&goto :eof)

This sentence is still problematic ah!!

pi ...

The machine in my internet café can ping smtp.163.com, but just can't connect via telnet. I checked and it seems the service was deleted, so it's better to telnet first before.
Floor 53 Posted 2007-04-29 04:21 ·  中国 浙江 杭州 华数宽带
银牌会员
★★★
Credits 2,000
Posts 621
Joined 2007-01-01 00:00
19-year member
UID 75212
Gender Male
Status Offline
Can't telnet; can netcat connect?
Floor 54 Posted 2007-04-29 04:22 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Originally posted by bjsh at 2007-4-29 04:21:
Can't telnet; can nc connect?

Hehe, definitely can't connect
Floor 55 Posted 2007-04-29 04:24 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Using a proxy in the command line is indeed a problem. Either replace nc with a telnet replacement tool that supports proxies
Floor 56 Posted 2007-04-30 01:06 ·  中国 重庆 沙坪坝区 电信
中级用户
★★
金牌会员
Credits 315
Posts 152
Joined 2007-01-25 23:55
19-year member
UID 77669
Gender Male
Status Offline
Hehe``I used it to make a QQ email mass sending``Thank you vkill```
It would be great if it could add a proxy function...
Floor 57 Posted 2007-05-05 00:07 ·  中国 重庆 江北区 电信
中级用户
★★
金牌会员
Credits 315
Posts 152
Joined 2007-01-25 23:55
19-year member
UID 77669
Gender Male
Status Offline
Can this add the function to find the sender's account password from the text and also extract the address from the text?
Floor 58 Posted 2007-05-07 09:19 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Originally posted by fengzi at 2007-5-5 00:07:
Can this add the function to find the sender's account password from the text and also extract the address from the text? ```
Everything is possible
Floor 59 Posted 2007-05-07 17:20 ·  中国 上海 杨浦区 电信
中级用户
★★
Credits 321
Posts 135
Joined 2007-02-04 04:48
19-year member
UID 78578
Gender Male
Status Offline
Is there any solution that doesn't use NC? NC will trigger alarms from security software here.
Floor 60 Posted 2007-05-07 18:45 ·  中国 甘肃 兰州 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Originally posted by honghunter at 2007-5-7 17:20:
Is there any solution without using NC?

NC will trigger alarms from security software here.

I don't know for the time being
Forum Jump: