I'm currently putting together a small Perl script
that sends an e-mail with a user-entered value as the
from: value. I want to test my syntax by using my
sendmail wrapper with the -t flag, but I don't know
how to tell it I'm done with a message. What command
do I issue to tell the mailwrapper
Alex Le Fevre [EMAIL PROTECTED] wrote:
I'm currently putting together a small Perl script that sends an e-mail with
a user-entered value as the from: value. I want to test my syntax by using my
sendmail wrapper with the -t flag, but I don't know how to tell it I'm done
with a message. What
EOF -- close the fd.
If I'm actually typing my info in -- after calling
/usr/bin/sendmail -t from a command line -- is that
Ctrl-z?
Alex
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
On Tue, Mar 20, 2001 at 10:03:13AM -0800, Alex Le Fevre wrote:
EOF -- close the fd.
If I'm actually typing my info in -- after calling
/usr/bin/sendmail -t from a command line -- is that
Ctrl-z?
Ctrl-d
Alex
__
Do You Yahoo!?
Get
* Alex Le Fevre [EMAIL PROTECTED] [010320 19:03]:
EOF -- close the fd.
If I'm actually typing my info in -- after calling
/usr/bin/sendmail -t from a command line -- is that
Ctrl-z?
No. Ctrl-z just stops the program.
Ctrl-d is what you want.
-Johan
--
Johan Almqvist
http
OK, that's cool...but now I have (presumably) one last
question. I've got my script printing From: $usermail
to /usr/bin/sendmail, and it's working well enough
both to trap the address the user enters and put it
into the From: field. My question is, what field to I
need to put $usermail into so
Alex Le Fevre [EMAIL PROTECTED] wrote:
OK, that's cool...but now I have (presumably) one last question. I've got my
script printing From: $usermail to /usr/bin/sendmail, and it's working well
enough both to trap the address the user enters and put it into the From:
field. My question is, what