заранее спасибо.
Сообщение изменено: And_Drew (18 мая 2009 - 21:15 )
Отправлено 18 мая 2009 - 21:13
Сообщение изменено: And_Drew (18 мая 2009 - 21:15 )
Отправлено 19 мая 2009 - 09:29
Отправлено 19 мая 2009 - 12:59
bodyfile.txt - текстовик с телом письма находящийся в той же папке, где и батникset to=-t "[email protected], [email protected], [email protected]"
set cc=-c "[email protected], [email protected], [email protected]"
set from=-f "[email protected]"
set subj=-s "Example subject"
set server=-server mail.hot.ee
set body=bodyfile.txt
set attach=-attach "attachfile.xls"
::::::::::::::::: Now we run Blat! :::::::::::::::::
blat %body% %server% %subj% %from% %attach% %to% %cc% -u [email protected] -pw "mypassword"