E
Experienced but Undocumented
I'm using the following script which outputs the response from the SMTP
server to the browser. What should I do to make it work silently? Using
PERL 5.6.1 on Redhat Linux 7.3.
Thanks
open(MAIL, "|/usr/sbin/sendmail -bs") or die "Could not launch Mailer";
print MAIL "HELO LONGLOSTFRIEND\n";
print MAIL "MAIL FROM: $mailfrom\n";
print MAIL "$rcpt_to";
print MAIL "DATA\n";
print MAIL "From: $from\n";
print MAIL "Reply-to: $replyto\n";
print MAIL "Bcc:\n";
print MAIL "Subject: $subject\n";
print MAIL "\n";
print MAIL "$message\n";
print MAIL ".\n";
print MAIL "QUIT\n";
close MAIL;
server to the browser. What should I do to make it work silently? Using
PERL 5.6.1 on Redhat Linux 7.3.
Thanks
open(MAIL, "|/usr/sbin/sendmail -bs") or die "Could not launch Mailer";
print MAIL "HELO LONGLOSTFRIEND\n";
print MAIL "MAIL FROM: $mailfrom\n";
print MAIL "$rcpt_to";
print MAIL "DATA\n";
print MAIL "From: $from\n";
print MAIL "Reply-to: $replyto\n";
print MAIL "Bcc:\n";
print MAIL "Subject: $subject\n";
print MAIL "\n";
print MAIL "$message\n";
print MAIL ".\n";
print MAIL "QUIT\n";
close MAIL;