Question : 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 [email protected]    

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 [email protected] -attacht file.txt

it is not working....

i'm so confused now...

Answer : blat smtp

the password is actually only if you need to enter authentication to send email, it has nothing to do with accessing the file.

Try this:
blat -attach c:\log\file.txt -to [email protected]

and post the output back here.  That will help troubleshoot the issue.

If you get an error while sending the mail then do this using the password and username for your email server:
blat -attach c:\log\file.txt -to [email protected] -u "username" -pw "password"

I think what you need to do is enter the full path to the file you want attached.
Random Solutions  
 
programming4us programming4us