前段时间为了批量发邮件,正好研究过这个工具^_^
1. blat可以在第一次运行时用install命令将密码等信息写入注册表,以后只调用相应的profile就可以发送了。保存在注册表的时候会加密的,起码不会出现把明文写到批处理
里面的问题
blat.exe /? | find "profile"
Blat -install <server addr> <sender's addr> ]]
Blat -profile
]]]]
: set server, sender, number of tries and port for profile
default profile can be specified with a '-'
-p <profile> : send with server, user, and port defined in <profile>
: use username and password if defined in <profile>
-profile : list all profiles in the Registry
2. 发送附件可以用-attach来指定,其他的几个选项在帮助里面都有
blat.exe /? | find "attach" | more
-attach <file> : attach binary file(s) to message (filenames comma separated)
-attacht <file> : attach text file(s) to message (filenames comma separated)
-attachi <file> : attach text file(s) as INLINE (filenames comma separated)
-af <file> : file containing list of binary file(s) to attach (comma
-atf <file> : file containing list of text file(s) to attach (comma
-aef <file> : file containing list of embed file(s) to attach (comma
: send multipart messages, breaking attachments on <size>
[
Last edited by Cappuccin0 on 2009-4-19 at 10:58 ]