Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Sending mail on a bad server...

by TriggerDunpoe (Novice)
on Jun 28, 2004 at 01:35 UTC ( [id://370071]=note: print w/replies, xml ) Need Help??


in reply to Sending mail on a bad server...

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://370071]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-18 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found