=?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