From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,83060c83e98f0f94 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-04-25 11:06:41 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!cyclone.austin.rr.com!typhoon.austin.rr.com.POSTED!53ab2750!not-for-mail From: LESLIE@JRLVAX.HOUSTON.RR.COM (Jerry Leslie) Subject: Re: Good old Tru64 mail command under win32? Newsgroups: comp.unix.tru64 References: <42f5479.0204250649.1af74c99@posting.google.com> X-Newsreader: TIN [VMS 1.3 950824BETA PL0] Message-ID: Date: Thu, 25 Apr 2002 18:04:57 GMT NNTP-Posting-Host: 24.167.2.5 X-Complaints-To: abuse@rr.com X-Trace: typhoon.austin.rr.com 1019757897 24.167.2.5 (Thu, 25 Apr 2002 13:04:57 CDT) NNTP-Posting-Date: Thu, 25 Apr 2002 13:04:57 CDT Organization: Road Runner - Texas Xref: archiver1.google.com comp.unix.tru64:7386 =?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