TheLinuxDuck
01-22-2001, 04:31 PM
I came across this qool thing when writing a suggestion form script for a friend, thought it was tres qool. http://www.linuxnewbie.org/ubb/smile.gif
if(open (MAIL, "|-", "/usr/sbin/sendmail -oi -n -t")) {
print MAIL $buffer;
close(MAIL);
}
Of course, data sent must contain:
To:toname@domain.ext
From:fromname@domain.ext
message body
It is pretty rockin' groovy, though. http://www.linuxnewbie.org/ubb/smile.gif
I like perl.
------------------
TheLinuxDuck
I have a belly button.
:wq
if(open (MAIL, "|-", "/usr/sbin/sendmail -oi -n -t")) {
print MAIL $buffer;
close(MAIL);
}
Of course, data sent must contain:
To:toname@domain.ext
From:fromname@domain.ext
message body
It is pretty rockin' groovy, though. http://www.linuxnewbie.org/ubb/smile.gif
I like perl.
------------------
TheLinuxDuck
I have a belly button.
:wq