Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



Email from dos?

Karmashock
09-11-2008, 06:20 PM
If this is in the wrong forum then please relocate it.

I have a DOS database that can't be replaced for a few years and was wondering if there is a good email program for dos?


Here are the features I'm looking for:

Scriptable so that it can be triggered automatically, do it's job, and then go away.

Require no installation... that is you place the executable, whatever support files, and it's config file in a folder and it's ready to go.

Resolves variables. If I tell it to send %emailmessage% and %emailmessage% was previously set=Call mike now ... it will send the message "call mike now" instead of the variable name. That should also include the recipient's address... so %recipient% should resolve to recipient@host.com


Anyone know of a good program that can do this?

Ideally I'd like it's execution to look something like this:

Emailprog.exe %recipient% %emailmessage%

With whatever switches would be kept.

Karmashock
09-11-2008, 07:59 PM
I found a program called "blat" which does everything... I LOVE this program.

I just enter this into the script:
Blat -server %smtpserver% -f %sendaddress% -port 25 -pw %emailpassword% -to %recipient% -i %replyaddress% -subject "%emailsubject%" -body "%emailmessage%"

And everything works perfectly.

Ad
09-11-2008, 07:59 PM
  

jobeard
09-11-2008, 11:07 PM
Very considerate of you to follow-up with your findings,
This makes you a contributor to the community -- nicely done :)

Karmashock
09-12-2008, 05:31 AM
First, I love this community and I mine the brains here whenever I'm confused about something. So it's the very least I can do...

I'm using this with email to SMS and email to Fax solutions too so it's actually very powerful this way.


We have some people in the field and now this 1990 something database can automatically SMS updates to them and automatically fax work orders to some of our even MORE privative sub offices. It's really awesome when you think about it.
http://www.buyersmls.com/americantv/ateam/Daily%20Radar%20Feature%20-%20How%20to%20Catch%20the%20A-Team_files/han1.jpeg
I love it when a plan comes together.

jobeard
09-12-2008, 12:19 PM
btw: there are other solutions for 'scripted email' using Perl or PHP.

eg: Perl
# send_email() Version 1.5 #
# Written by Craig Patchett #
# and Matthew Wright

# This subroutine is part of The CGI/Perl Cookbook from John Wiley & Sons. #

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

Sony working on digital store for music, movies, books

Details of Intel's 32nm Atom emerge, on track for 2011

More Tech News

  
 Software Downloads

Norton Virus Definitions 2003-07 November 20, 2009

AVG Anti-Virus Updates November 20, 2009

Norton Virus Definitions 2008-09 November 20, 2009

avast! Virus Definitions November 20, 2009

McAfee SuperDAT Update 5808

Kaspersky Anti-Virus Update November 20, 2009

Google SketchUp 7.1.6087

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.