Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Good old Tru64 mail command under win32?
@ 2002-04-25 14:49 João André Correia Rodrigues
  2002-04-25 18:04 ` Jerry Leslie
  0 siblings, 1 reply; 2+ messages in thread
From: João André Correia Rodrigues @ 2002-04-25 14:49 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Good old Tru64 mail command under win32?
  2002-04-25 14:49 Good old Tru64 mail command under win32? João André Correia Rodrigues
@ 2002-04-25 18:04 ` Jerry Leslie
  0 siblings, 0 replies; 2+ messages in thread
From: Jerry Leslie @ 2002-04-25 18:04 UTC (permalink / raw)


[-- 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-25 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox