1,blat install methods:
1) Copy the file "Blat.exe" to your "\WINNT\SYSTEM32" directory, or to
any other directory in your path.
2) Optionaly, run "Blat -install smtp.yoursite.tld youruserid@yoursite.tld"
2,How We uer it;
C:\Users\Administrator>blat c:\ccc.txt -to ge.long@zeei.com.cn -attach "c:\a.rar" -s "test subject" -u user@163.com -pw XXX -charset gb2312
其中attach:附件,-s:主题,
或者:
set from=xxx@qq.com
set user=xxx@qq.com
set pass=xxx
set to=xxx@qq.com
set subj=测试
set mail=mail_body.txt
set server=smtp.qq.com
rem set attach=attach.rar
set debug=-debug -log blat.log -timestamp
rem blat %mail% -to %to% -base64 -charset Gb2312 -subject %subj% -server %server% -f %from% -u %user% -pw %pass% -attach %attach% %debug%
blat %mail% -to %to% -charset gb2312 -s %subj% -server %server% -f %from% -u %user% -pw %pass% %debug%
search help:
blat --help
3,download
http://download.csdn.net/detail/jc_benben/9393871