It does not matter where that file resides - just select some
location to which you have full access, and make sure it's
the same in both places in the batch file.
Well okay, I've tried it again and it didn't work...
I download the blat files, they were 3 files, blat.exe, blat.dll,
blat.lib
I put the 3 files in the C directory, which I have access to it...
I put the file send.bat in the C and also test.txt which sould be sent
as an attachment...
I ran the cmd and I started the send.bat file and that's wot I got:
C:\>send.bat
C:\>set
[email protected]
C:\>set
[email protected]
C:\>set Subject=Teddy's Report 08/01/2008
C:\>set smtp=smtp.googlemail.com
C:\>set
[email protected]
C:\>set pw=******
C:\>cd 2>"c:\"
The system cannot find the path specified.
C:\>c:\blat.exe "c:\" -to (e-mail address removed) -subject "Teddy's
Report 08/01/2
008" -f
Blat v2.6.2 w/GSS encryption (build : Feb 25 2007 12:06:19)
Blat saw and processed these options, and was confused by the last
one...
Report
Do not understand argument: Report
Win32 console utility to send mail via SMTP or post to usenet via NNTP
by
P.Mendes,M.Neal,G.Vollant,T.Charron,T.Musson,H.Pesonen,A.Donchey,C.Hyde
http://www.blat.net
syntax:
Blat <filename> -to <recipient> [optional switches (see below)]
Blat -SaveSettings -f <sender email addy> -server <server addr>
[-port <port>] [-try <try>] [-profile <profile>]
[-u <login id>] [-pwd <password>]
or
Blat -install <server addr> <sender's addr>
[<try>[<port>[<profile>]]] [-q]
Blat -profile [-delete | "<default>"] [profile1] [profileN] [-q]
Blat -h
C:\>
[email protected] -server smtp.googlemail.com -u
(e-mail address removed) -
pw ****** -attach "c:\test.txt"
'(e-mail address removed)' is not recognized as an internal or external
command,
operable program or batch file.
So wot shall I do now? one another thing, the gmail smtp server needs
authentication enabled... is it enouhg to type in my email and
password only?
Thank you