tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Howard E. Arnold" <arnoldh@celerent.com>
Subject: Application sending response with email
Date: Wed, 22 May 2002 11:56:06 -0400	[thread overview]
Message-ID: <NEBBKBPAMLAEPFNHOPFBEEOODNAA.arnoldh@celerent.com> (raw)

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: <user@atmydomain.com>
RCPT To: <user@anotheruser.com>
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



                 reply	other threads:[~2002-05-22 15:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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