Auto Send

  • Thread starter Thread starter Teddy379
  • Start date Start date
T

Teddy379

Hello,
I have a file that I should be able to access every some days on
another computer, how can I access it (like getting it sent to me or
something) without using those remote adminsrating programs??

The whole process should be done automatically without any windows or
pop ups...

How could that be achieved?

Thanks
 
Teddy379 said:
Hello,
I have a file that I should be able to access every some days on
another computer, how can I access it (like getting it sent to me or
something) without using those remote adminsrating programs??

The whole process should be done automatically without any windows or
pop ups...

How could that be achieved?

Thanks

Why don't you put the file on web server somewhere that you can access from
where ever?
There are several free sites and Comcast has spot for your files as well.
Just a thought.

Rich
 
Teddy379 said:
Hello,
I have a file that I should be able to access every some days on
another computer, how can I access it (like getting it sent to me or
something) without using those remote adminsrating programs??

The whole process should be done automatically without any windows or
pop ups...

How could that be achieved?

Thanks

You could use the Task Scheduler on the other PC to invoke a
command line mailer such as blat.exe to send the file to yourself.
Post again if you need more details.
 
You could use the Task Scheduler on the other PC to invoke a
command line mailer such as blat.exe to send the file to yourself.
Post again if you need more details.

Yeah I'd like more details... thank you..
 
Why don't you put the file on web server somewhere that you can access from
where ever?
There are several free sites and Comcast has spot for your files as well.
Just a thought.

Rich

hmm, free websites like?
 
Teddy379 said:
Yeah I'd like more details... thank you..

Here is a typical batch file to mail a file:

@ech off
set [email protected]
set [email protected]
set Subject=Teddy's Report %date%
set smtp=smtp.teddy.com

cd 2>"c:\Nullfile"
blat.exe "c:\Nullfile" -to %Receiver% -subject "%Subject%" -f
%Sender% -server %smtp% -attach "c:\test.xls"

You can download blat from any number of sites. To send this file to
yourself every day, invoke the above batch file with the Task Scheduler.
 
Here is a typical batch file to mail a file:

@ech off
set [email protected]
set [email protected]
set Subject=Teddy's Report %date%
set smtp=smtp.teddy.com

cd 2>"c:\Nullfile"
blat.exe "c:\Nullfile" -to %Receiver% -subject "%Subject%" -f
%Sender% -server %smtp% -attach "c:\test.xls"

You can download blat from any number of sites. To send this file to
yourself every day, invoke the above batch file with the Task Scheduler.

hmm, same problem I got, the smtp server, it always requires
authentication... How could I pass that?
 
Here is a typical batch file to mail a file:

@ech off
set [email protected]
set [email protected]
set Subject=Teddy's Report %date%
set smtp=smtp.teddy.com

cd 2>"c:\Nullfile"
blat.exe "c:\Nullfile" -to %Receiver% -subject "%Subject%" -f
%Sender% -server %smtp% -attach "c:\test.xls"

You can download blat from any number of sites. To send this file to
yourself every day, invoke the above batch file with the Task Scheduler.

where shall i put the blat.exe file?
 
Teddy379 said:
where shall i put the blat.exe file?

If the dog wants a bone, give it a bone!

@ech off
set [email protected]
set [email protected]
set Subject=Teddy's Report %date%
set smtp=smtp.teddy.com
set [email protected]
set pw=teddy

cd 2>"c:\Nullfile"
c:\Tools\blat.exe "c:\Nullfile" -to %Receiver% -subject "%Subject%" -f
%Sender% -server %smtp% -u %Account% -pw %pw% -attach "c:\test.xls"

You can place blat.exe whereever you like, as long as
you tell the batch file where to find it!
 
If the dog wants a bone, give it a bone!

@ech off
set [email protected]
set [email protected]
set Subject=Teddy's Report %date%
set smtp=smtp.teddy.com
set [email protected]
set pw=teddy

cd 2>"c:\Nullfile"
c:\Tools\blat.exe "c:\Nullfile" -to %Receiver% -subject "%Subject%" -f
%Sender% -server %smtp% -u %Account% -pw %pw% -attach "c:\test.xls"

You can place blat.exe whereever you like, as long as
you tell the batch file where to find it!

hmm, well I tried typing each line in the cmd.exe but then I reached
the cd 2>"c:\Nullfile" it said Access Denied, I tried to change the
directory and copy the blat files to the new directory but it didn't
work...
 
Teddy379 said:
hmm, well I tried typing each line in the cmd.exe but then I reached
the cd 2>"c:\Nullfile" it said Access Denied, I tried to change the
directory and copy the blat files to the new directory but it didn't
work...

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.
 
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
 
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
 
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
 
*** See below.

Teddy379 said:
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

*** AFAIK, you only need blat.exe. However, having
*** the other files won't hurt.
I put the 3 files in the C directory, which I have access to it...

*** What is this "C directory"? Please be specific!
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.

*** This is not surprising.- you forgot the file name! Having
*** all these files in the root directory of drive C: is not a good
*** idea. Put them into a folder "c:\SendMail" (for example),
*** then make this last instruction like so:
*** cd 2>c:\SendMail\NullFile.txt
*** The command then becomes
*** c:\SendMail\blat.exe c:\SendMail\NullFile.txt /.. /.. /..
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?

*** You should check if you can send something to the gmail
*** smtp server while using Outlook or Outlook Express. If
*** you can do it there then you can do it with blat.exe.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top