LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 03-03-2008, 11:21 AM   #1
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Auto-email in DOS?


Totally non-Linux related, but I need some assistance ...

I have a rather unique situation, at least in my experience. We are using a program that is able to monitor it's own services, and perform certain tasks when an event occurs. In this situation, a service is stopped, and is supposed to restart, but does not. We are working with the vendor to fix the issue. However, for the time-being, we need to know when the service stops so we can restart it in a timely manner.

So, the program is capable of running DOS-mode commands. In this fashion, we would like to configure it to send an email upon the calling event.

I found that issuing the following command "start mailto:<email address>" will start the default email program, such as Outlook Express. But the command only opens a compose window, and does not automatically send the email.

So, what we need is a command or utility that can auto-send an email with a single DOS command.

Any ideas?
 
Old 03-03-2008, 11:47 AM   #2
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
I find this one really interesting so I did a little googling which in fact yielded some results. As you mentioned Outlook Express I guess you're not using DOS but some sort of Windows DOS prompt on that machine(s)?

Sending mails from real DOS was what really caught my attention but I guess that's just impossible
 
Old 03-03-2008, 12:06 PM   #3
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
There is a little app called blat that will send mail from a command prompt/script.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
auto-generate email report guy_ripper Linux - Software 4 01-23-2008 10:07 PM
qmail + email DoS branden_burger Linux - Networking 0 12-01-2006 12:13 PM
email auto response manicman Linux - Software 1 05-06-2006 12:42 PM
auto send email at bootup carboncopy Linux - Software 7 01-30-2005 12:39 AM
Auto Ip Email secrets Linux - Networking 1 06-29-2003 01:17 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration