From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Howard E. Arnold" Newsgroups: gmane.os.tru64.managers Subject: Application sending response with email Date: Wed, 22 May 2002 11:56:06 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1022081889 30172 127.0.0.1 (22 May 2002 15:38:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 22 May 2002 15:38:09 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17AYBk-0007qQ-00 for ; Wed, 22 May 2002 17:38:09 +0200 Original-Received: (qmail 30261 invoked by uid 5); 22 May 2002 15:38:39 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 30253 invoked from network); 22 May 2002 15:38:39 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 22 May 2002 15:38:39 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GWI001OPRGETG@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 22 May 2002 11:38:39 -0400 (EDT) Original-Received: from smtp.9netave.com (smtp.njd.xo.com [216.156.2.48]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GWI00L0KRGB9X@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 22 May 2002 11:38:36 -0400 (EDT) Original-Received: from arnoldh (host66.209-113-184.oem.net [209.113.184.66]) by smtp.9netave.com (8.9.3/8.8.8) with ESMTP id LAA43132 for ; Wed, 22 May 2002 11:49:57 -0400 (EDT) Original-To: Tru64-Unix-Managers X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:287 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:287 I have an application that writes text files as confirmation letters and I would like to write a script to send them out. I was planning on using the following: telnet mail.myisp.com 25 <<_EOF_ EHLO me.atmydomain.com MAIL FROM: RCPT To: DATA quit _EOF_ What I don't know is how to input the text file into this message. I have tried to redirect it using DATA < file.txt, but that didn't work. Should or could something like this work. Thanks, Howard Arnold Consultant Engineer Email: arnoldh@celerent.com Phone: (603)685-6060 ext 206