Application sending response with email

From: Howard E. Arnold <arnoldh_at_celerent.com>
Date: Wed, 22 May 2002 11:56:06 -0400

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_at_atmydomain.com>
RCPT To: <user_at_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_at_celerent.com
Phone: (603)685-6060 ext 206
Received on Wed May 22 2002 - 15:38:42 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT