accessword
asked on
blat smtp
Hi All,
i'm trying to use Blat in order to email something from server to myself every day.
So I've got the blat.exe in system32 and I typed the following:
blat -install smtp34.on.he.com myemail@me.com
then i hit enter but.... i need the following file to be attached everytime with the email and the file resides in the c:\log\file.txt
How do I attach this file in there? What do I use in command prompt to make sure that computer will attach it and send it to me, I've tried:
blat -to myemail@me.com -attacht file.txt
it is not working....
i'm so confused now...
i'm trying to use Blat in order to email something from server to myself every day.
So I've got the blat.exe in system32 and I typed the following:
blat -install smtp34.on.he.com myemail@me.com
then i hit enter but.... i need the following file to be attached everytime with the email and the file resides in the c:\log\file.txt
How do I attach this file in there? What do I use in command prompt to make sure that computer will attach it and send it to me, I've tried:
blat -to myemail@me.com -attacht file.txt
it is not working....
i'm so confused now...
ASKER
which password do i put in: the one from sonic wall or the one from computer that i'll need the file from?
when i execute this command do i get the file right away to my email?
when i execute this command do i get the file right away to my email?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
there's no reply as it only stays like that and doesn't do anything... hmmmm
This is an example of how we mail notifications about our backup using variables. Don't know if it helps.
blat %NOTIFICATION_HEADER_PATH% \operator_ worksheet. txt -t %EMAIL_TO% -i %EMAIL_FROM% -s "(Print 1st) MEDIA MANAGEMENT PRINTOUT - Operator Worksheet"
We use the set commands in a .bat file. for example: set NOTIFICATION_HEADER_PATH=j :\nsr\scri pts\notifi cation_hea ders
blat %NOTIFICATION_HEADER_PATH%
We use the set commands in a .bat file. for example: set NOTIFICATION_HEADER_PATH=j
the -u and -pw are only if you need to enter authentication to send mail (SMTP authentication)