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.

In reply to Re: Sending mail on a bad server... by TriggerDunpoe
in thread Sending mail on a bad server... by TriggerDunpoe

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.