Gidday from Downunder
I have loaded the same script on two servers one will send to my home account and the
other won't.
I know sendmail path and perl path are correct in both instances while it won't send
to my home account it will send to my hotmail account.
Any Ideas!
#!/usr/bin/perl
Hello!
From the commandline, what is the output of
% /usr/sbin/sendmail -bv [EMAIL PROTECTED]
on the server which you cannot send anything?
Also useful, would be any error output that was generated... Hard to
say if this is a perl problem or sendmail, or...???
deb
Johnstone, Colin
On Fri, 2002-03-01 at 14:43, Joseph Bajin wrote:
I am trying to get this program to send mail. Unfortunately I am having
a hard time using sendmail. Could someone please help me out.
Thanks,
##Error Reporting
sub Notifyanddie {
my $message = shift;
open(MAIL,
I am trying to get this program to send mail. Unfortunately I am having
a hard time using sendmail. Could someone please help me out.
Thanks,
##Error Reporting
sub Notifyanddie {
my $message = shift;
open(MAIL, |/usr/lib/sendmail -t -i)
or die Couldn't open sendmail $!\n;
print MAIL