/usr/bin/sendmail -t

2001-03-20 Thread Alex Le Fevre
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

Re: /usr/bin/sendmail -t

2001-03-20 Thread Charles Cazabon
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

Re: /usr/bin/sendmail -t

2001-03-20 Thread Alex Le Fevre
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/

Re: /usr/bin/sendmail -t

2001-03-20 Thread Kirill Miazine
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

Re: /usr/bin/sendmail -t

2001-03-20 Thread Johan Almqvist
* 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

Re: /usr/bin/sendmail -t

2001-03-20 Thread Alex Le Fevre
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

Re: /usr/bin/sendmail -t

2001-03-20 Thread Charles Cazabon
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