From: LESLIE@JRLVAX.HOUSTON.RR.COM (Jerry Leslie)
Subject: Re: Good old Tru64 mail command under win32?
Date: Thu, 25 Apr 2002 18:04:57 GMT [thread overview]
Message-ID: <dzXx8.13200$g72.487929@typhoon.austin.rr.com> (raw)
In-Reply-To: 42f5479.0204250649.1af74c99@posting.google.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1599 bytes --]
=?ISO-8859-1?Q?Jo=E3o_Andr=E9_Correia_Rodrigues?= (hobbes_7_8@yahoo.com) wrote:
: Hi all:
:
: I was used to a very cool feature of Tru64, which was the mail
: command. I remember that having a correctly formated message (e.g.,
: like if you save a Usenet post in its original format) named
: "message.txt", one could do something like:
:
: mail someone@acme.com < message.txt
:
: ... and the person would receive the message with the original headers
: (subject, etc.). However now I only have access to Windows + Outlook +
: Exchange machines, so I was wondering if there is any way to do the
: same. Maybe using a feature of Outlook unknown to me, or using a
: completely different tool?
: Thanks in advance and regards,
:
: Jo�o Andr� Correia Rodrigues
You could use a command-line mailer like Blat! or cwsmail, whose
arguments are:
1. smtp-host
2. email address of sender; e.g. from-user@host
3. email address of recipient; e.g. to-user@host
4. file (optional)
The source and a Win32 executable are available:
ftp://clio.rice.edu/pub/cwsmail.c
ftp://clio.rice.edu/pub/cwsmail.exe
Here's how to compile it on Windows, along with a sample execution,
with the line wrapped for readability:
c:\> cl -DWIN32 cwsmail.c wsock32.lib
c:\> cwsmail moe.rice.edu sandmann@clio.rice.edu leslie@clio.rice.edu
message.txt
It also works on unix and Open VMS (with the SMTP service enabled in
a VMS TCP/IP stack).
--Jerry Leslie leslie@clio.rice.edu (my opinions are strictly my own)
Note: leslie@jrlvax.houston.rr.com is invalid for email
prev parent reply other threads:[~2002-04-25 18:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-25 14:49 Good old Tru64 mail command under win32? João André Correia Rodrigues
2002-04-25 18:04 ` Jerry Leslie [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox