I uploaded perldiver to my client's server to find where sendmail was and it found
/usr/bin/sendmail
/usr/share/man/man8/sendmail.8.gz
/usr/ports/mail/sendmail
I did the whole Net::SMTP thing like what was suggested, but all it did was cause that subroutine to not load. =(
Here's what I have now in sub "six" (6th page =P)
open (MAIL, "|$mailprog -t") or &dienice("Can't access $mailprog!\n");
print MAIL "To: $FORM{'my_email'}\n";
print MAIL "Reply-to: $FORM{'email'}\n";
print MAIL "From: \"$FORM{'fname'} $FORM{'lname'}\" \<$FORM{'email
+'}\>\n";
print MAIL "Subject: Transaction Notification\n\n";
print MAIL "$emailbody\n";
close(MAIL);
In the main part of the code I have this:
my $mailprog = '/usr/bin/sendmail';
I forgot to mention that this still doesn't work.