前段时间为了批量发邮件,正好研究过这个工具^_^
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 ]
I studied this tool some time ago for bulk email sending ^_^
1. Blat can use the install command to write password and other information to the registry when running for the first time, and then only call the corresponding profile to send later. When saved in the registry, it will be encrypted, at least there will be no problem of writing plaintext into the batch file
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. To send an attachment, you can use -attach to specify, and the other several options are all in the help
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 ]