Go Back   Velocity Reviews > Newsgroups > Computer Security
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Computer Security - Need e-mail to autosend on bootup...

 
Thread Tools Search this Thread
Old 01-04-2004, 08:56 AM   #1
Default Need e-mail to autosend on bootup...


I have a simple alarm application. What I am looking for is a simple
program that will run on a Windows PC and automatically send out an
e-mail when the computer is powered up. Getting the e-mail program to
autorun is obviously not a problem as I can put a shortcut in the
startup folder (This is Windows 9. It needs to be configured to use
an existing SMTP/POP3 account which does not appear to be a problem.

My old Eudora mail 4.2 doesn't look like it will do this. Are there
any off-the-shelf email programs that will autocheck and send from the
outgoing mail que when opening up?

Beachcomber




Beachcomber
  Reply With Quote
Old 01-04-2004, 09:13 AM   #2
Colonel Flagg
 
Posts: n/a
Default Re: Need e-mail to autosend on bootup...
In article <>,
says...
> I have a simple alarm application. What I am looking for is a simple
> program that will run on a Windows PC and automatically send out an
> e-mail when the computer is powered up. Getting the e-mail program to
> autorun is obviously not a problem as I can put a shortcut in the
> startup folder (This is Windows 9. It needs to be configured to use
> an existing SMTP/POP3 account which does not appear to be a problem.
>
> My old Eudora mail 4.2 doesn't look like it will do this. Are there
> any off-the-shelf email programs that will autocheck and send from the
> outgoing mail que when opening up?
>
> Beachcomber
>
>
>



Why do an email? Are you looking for notification of the machine booting
or a specific email? If you're just looking for a notification of the
boot, you could use a command line utility that "gets" a specific HTML
page or a specific image file from a web server you maintain... you
could do this with a simple shortcut in the start-up folder.

I don't know the name of a program for windows/dos that works from
command line and "gets" the webpage for you, but an example of one in
unix is called "wget". "wget" will, by the command line, "get" a
webpage, image, whatever from webserver. This in turn would be viewable
in the web server logs for the domain. Call it a "web bug" for boot
time. Very simple to do.




--
Colonel Flagg
http://www.internetwarzone.org/

Privacy at a click:
http://www.cotse.net

Q: How many Bill Gates does it take to change a lightbulb?
A: None, he just defines Darkness? as the new industry standard..."

"...I see stupid people."


Colonel Flagg
  Reply With Quote
Old 01-04-2004, 01:37 PM   #3
Beachcomber
 
Posts: n/a
Default Re: Need e-mail to autosend on bootup...

>
>Why do an email? Are you looking for notification of the machine booting
>or a specific email? If you're just looking for a notification of the
>boot, you could use a command line utility that "gets" a specific HTML
>page or a specific image file from a web server you maintain... you
>could do this with a simple shortcut in the start-up folder.
>


Thanks for the reply. I will elaborate. This is part of a very
simple homebrew security system.

The reason I would like to do e-mail is to send a security alert to my
pager when power is applied to the computer. The computer itself is
an ancient Gateway P-120 running Windows 98 and does not contain a
modem card. (They were basically giving the machines away at work, so
I thought I could put it to good use for almost zero cost).

I can easily have it launch a web page on bootup. What I am looking
for is a way of also auto launching my default e-mail program (Eudora)
and hitting the send button. Sorry if this was less than clear!

Beachcomber




Beachcomber
  Reply With Quote
Old 01-04-2004, 03:10 PM   #4
d3fc0n
 
Posts: n/a
Default Re: Need e-mail to autosend on bootup...
On Sun, 04 Jan 2004 08:56:02 GMT, (Beachcomber)
wrote:

>I have a simple alarm application. What I am looking for is a simple
>program that will run on a Windows PC and automatically send out an
>e-mail when the computer is powered up. Getting the e-mail program to
>autorun is obviously not a problem as I can put a shortcut in the
>startup folder (This is Windows 9. It needs to be configured to use
>an existing SMTP/POP3 account which does not appear to be a problem.
>
>My old Eudora mail 4.2 doesn't look like it will do this. Are there
>any off-the-shelf email programs that will autocheck and send from the
>outgoing mail que when opening up?
>
>Beachcomber
>

www.bo2k.com, get the plugin called rattler.


d3fc0n
  Reply With Quote
Old 01-04-2004, 07:06 PM   #5
Mimic
 
Posts: n/a
Default Re: Need e-mail to autosend on bootup...
"Beachcomber" <> wrote in message
news:...
>
> >
> >Why do an email? Are you looking for notification of the machine booting
> >or a specific email? If you're just looking for a notification of the
> >boot, you could use a command line utility that "gets" a specific HTML
> >page or a specific image file from a web server you maintain... you
> >could do this with a simple shortcut in the start-up folder.
> >

>
> Thanks for the reply. I will elaborate. This is part of a very
> simple homebrew security system.
>
> The reason I would like to do e-mail is to send a security alert to my
> pager when power is applied to the computer. The computer itself is
> an ancient Gateway P-120 running Windows 98 and does not contain a
> modem card. (They were basically giving the machines away at work, so
> I thought I could put it to good use for almost zero cost).
>
> I can easily have it launch a web page on bootup. What I am looking
> for is a way of also auto launching my default e-mail program (Eudora)
> and hitting the send button. Sorry if this was less than clear!
>
> Beachcomber
>
>


It doesnt have a modem ? Can i assume its part of a network then ?
Oh and you could use a crude php/perl./cgi script that will email you.
although it would be less than elegant

--
Mimic

"Without Knowledge you have fear, With fear you create your own nightmares."
"There are 10 types of people in this world. Those that understand Binary,
and those that dont."
"C makes it easy to shoot yourself in the foot. C++ makes it harder, but
when you do, it blows away your whole leg"





Mimic
  Reply With Quote
Old 01-04-2004, 08:17 PM   #6
Colonel Flagg
 
Posts: n/a
Default Re: Need e-mail to autosend on bootup...
In article <>,
says...
>
> >
> >Why do an email? Are you looking for notification of the machine booting
> >or a specific email? If you're just looking for a notification of the
> >boot, you could use a command line utility that "gets" a specific HTML
> >page or a specific image file from a web server you maintain... you
> >could do this with a simple shortcut in the start-up folder.
> >

>
> Thanks for the reply. I will elaborate. This is part of a very
> simple homebrew security system.
>
> The reason I would like to do e-mail is to send a security alert to my
> pager when power is applied to the computer. The computer itself is
> an ancient Gateway P-120 running Windows 98 and does not contain a
> modem card. (They were basically giving the machines away at work, so
> I thought I could put it to good use for almost zero cost).
>
> I can easily have it launch a web page on bootup. What I am looking
> for is a way of also auto launching my default e-mail program (Eudora)
> and hitting the send button. Sorry if this was less than clear!
>
> Beachcomber
>
>
>




Your pager company, does it provide an online way of paging you? Can you
inject your own text into the script and bookmark the submit? If so,
that would be yet another very easy way to do it. Go to their online
page, take a look at the code, see if you can inject the pager number
and a brief amount of info into the text area for the page into a URL.

If you can, just bookmark the injection/URL, put that bookmark in as a
shortcut in your start-up folder.


--
Colonel Flagg
http://www.internetwarzone.org/

Privacy at a click:
http://www.cotse.net

Q: How many Bill Gates does it take to change a lightbulb?
A: None, he just defines Darkness? as the new industry standard..."

"...I see stupid people."


Colonel Flagg
  Reply With Quote
Old 01-05-2004, 10:03 AM   #7
Hairy One Kenobi
 
Posts: n/a
Default Re: Need e-mail to autosend on bootup...
"Colonel Flagg" <> wrote in
message news:.. .
> In article <>,
> says...
> > >Why do an email? Are you looking for notification of the machine

booting
> > >or a specific email? If you're just looking for a notification of the
> > >boot, you could use a command line utility that "gets" a specific HTML
> > >page or a specific image file from a web server you maintain... you
> > >could do this with a simple shortcut in the start-up folder.
> > >

> >
> > Thanks for the reply. I will elaborate. This is part of a very
> > simple homebrew security system.
> >
> > The reason I would like to do e-mail is to send a security alert to my
> > pager when power is applied to the computer. The computer itself is
> > an ancient Gateway P-120 running Windows 98 and does not contain a
> > modem card. (They were basically giving the machines away at work, so
> > I thought I could put it to good use for almost zero cost).
> >
> > I can easily have it launch a web page on bootup. What I am looking
> > for is a way of also auto launching my default e-mail program (Eudora)
> > and hitting the send button. Sorry if this was less than clear!


> Your pager company, does it provide an online way of paging you? Can you
> inject your own text into the script and bookmark the submit? If so,
> that would be yet another very easy way to do it. Go to their online
> page, take a look at the code, see if you can inject the pager number
> and a brief amount of info into the text area for the page into a URL.
>
> If you can, just bookmark the injection/URL, put that bookmark in as a
> shortcut in your start-up folder.


That sounds the best solution. If you prefer the email approach, then there
are plenty of SMTP utilities out there - try Googling for "SMTP command line
free".

Although possibly not as good as a direct page (or, indeed, in addition to a
page), it's probably going to be a heck of a lot cleaner than starting-up
the whole of Eudora, say.

HTH

Hairy One Kenobi

Disclaimer: the opinions expressed in this opinion do not necessarily
reflect the opinions of the highly-opinionated person expressing the opinion
in the first place. So there!




Hairy One Kenobi
  Reply With Quote
Old 01-05-2004, 10:20 AM   #8
Lord Shaolin
 
Posts: n/a
Default Re: Need e-mail to autosend on bootup...
Beachcomber wisely said the following on 04/01/2004 08:56:
> I have a simple alarm application. What I am looking for is a simple
> program that will run on a Windows PC and automatically send out an
> e-mail when the computer is powered up. Getting the e-mail program to
> autorun is obviously not a problem as I can put a shortcut in the
> startup folder (This is Windows 9. It needs to be configured to use
> an existing SMTP/POP3 account which does not appear to be a problem.
>
> My old Eudora mail 4.2 doesn't look like it will do this. Are there
> any off-the-shelf email programs that will autocheck and send from the
> outgoing mail que when opening up?
>
> Beachcomber
>
>


Make a batch file to use blat or postie.

ST

--
Get your Geek Goodies!
http://shop.security-forums.com

.: http://www.security-forums.com :.

Share your knowledge
It's a way to achieve
Immortality.


Lord Shaolin
  Reply With Quote
Old 01-05-2004, 03:36 PM   #9
Beachcomber
 
Posts: n/a
Default Re: Need e-mail to autosend on bootup...

>Beachcomber wisely said the following on 04/01/2004 08:56:
>> I have a simple alarm application. What I am looking for is a simple
>> program that will run on a Windows PC and automatically send out an
>> e-mail when the computer is powered up. Getting the e-mail program to
>> autorun is obviously not a problem as I can put a shortcut in the
>> startup folder (This is Windows 9. It needs to be configured to use
>> an existing SMTP/POP3 account which does not appear to be a problem.


Thanks to everyone that replied! For those who are interested, I
wound up using a simple Perl mailto program and installed Indigo Perl
on this machine. Indigo Perl comes with a built-in Apache web server
which I used to call the mailto script on my localhost.

One unexpected problem did crop up. On bootup, my Perl calling IE
page (located in Windows/start menu/programs/startUp) tried to load
but could not complete the call because the Apache web server was
still loading on this slow machine. This was easily fixed by
inserting an html client timed redirect (set for 30 seconds) on the
calling html program.

Here is the time-delay html forwarding code for those interested:

<html>
<head>
<META HTTP-EQUIV="Refresh" CONTENT="30;
URL=http://localhost/cgi-bin/smtp-mailto.pl">
</head>
<body>
</body>
</html>

Indigo Perl is available at http://www.indigostar.com/indigoperl.htm
(the latest version includes the integrated Apache Webserver and php)

I think it's pretty cool to be able to develop and test your Perl
scripts on a stand-alone PC before you transfer them to your main
server.

Beachcomber





Beachcomber
  Reply With Quote
Old 01-06-2004, 12:18 AM   #10
Hairy One Kenobi
 
Posts: n/a
Default Re: Need e-mail to autosend on bootup...
"Beachcomber" <> wrote in message
news:...

<snip>


> I think it's pretty cool to be able to develop and test your Perl
> scripts on a stand-alone PC before you transfer them to your main
> server.


Oh, so you usually just..?

Hmm.

--

Hairy One Kenobi

Disclaimer: the opinions expressed in this opinion do not necessarily
reflect the opinions of the highly-opinionated person expressing the opinion
in the first place. So there!

P.S. "B" is for "backup". Don't worry - you'll find out. We all did.
Hopefully just the once. ;o)




Hairy One Kenobi
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending mail susan_1516 Software 0 11-09-2008 01:29 PM
Windows Mail Neil MCTS 2 11-04-2007 02:51 AM
Domino mail 5.5 migration to exchange 2003 sanka General Help Related Topics 0 06-22-2007 10:54 AM
Mail Server clavox Software 0 09-06-2006 11:58 PM
Alice in Wonderland 2-DVD SE - will it have a $5 mail in rebate? Jason DVD Video 0 01-13-2004 04:26 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46