Originally posted by bjsh at 2007-4-26 08:15:
Good!
This way I can learn good things from you; heh heh
Actually, it's all just repetitive actions
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!
DigestII
View 80,857 Replies 122
Originally posted by bjsh at 2007-4-26 08:15:
Good!
This way I can learn good things from you; heh heh
Originally posted by bjsh at 2007-4-26 09:59:
Just now I took a look:
For the following websites
163 yahoo qq hotmail gmail 56 sina sohu 21cn
The same processing method as 163 has:
smtp.qq.com 219.133.60.51
smtp.sina.com 202.108.3.233
smtp.sohu.com 22 ...
Originally posted by flyinspace at 2007-4-26 10:55:
Actually, you can set up the .ini file.
Otherwise, sending an email would make it more complicated for you.
------------------------------------------------------------------------
=====Parameter check======No matter how the parameters are entered, it's okay==============
D:\post>for /F "tokens=1-2 delims=:" %a in ('findstr /N . p-mailsend.log') do (set "%a=%b" )
D:\post>(set "1=220 163.com Anti-spam GT for Coremail System (163com)" )
D:\post>(set "2=250 OK" )
D:\post>(set "3=334 fdsfdsfsadfsadsf" )
D:\post>(set "4=334 dfsdfsdsfdfdfdsf" )
D:\post>(set "5=235 Authentication successful" )
D:\post>(set "6=250 Mail OK" )
D:\post>(set "7=250 Mail OK" )
D:\post>(set "8=354 End data with <CR><LF>.<CR><LF>" )
D:\post>(set "9=250 Mail OK queued as smtp10,dfsfdsdfsfdsfsdfdsdsf==.121322316541321 13213" )
D:\post>(set "10=221 Bye" )
D:\post>if not defined 10 (echo Sending email unsuccessful & goto :eof )
D:\post>echo !10! | findstr "^250" 1>nul 2>nul || (echo Sending email unsuccessful & goto :eof )
Sending email unsuccessful