* Summary: Application sending response with email
@ 2002-05-24 13:06 Howard E. Arnold
0 siblings, 0 replies; only message in thread
From: Howard E. Arnold @ 2002-05-24 13:06 UTC (permalink / raw)
Thanks to all that reply. It seems that it is easier to do than I originally
thought.
I got many responses to do:
mailx -s "subject" -r user@mydomain.com user@otherdomain.com < text.file
Which is what I used to test and it work fine.
Now I have to figure out how to send an attachment..
Thanks to everyone that responded.
Original question:
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.
Howard Arnold
Consultant Engineer
Email: arnoldh@celerent.com
Phone: (603)685-6060 ext 206
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-24 13:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-24 13:06 Summary: Application sending response with email Howard E. Arnold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox