toonski has asked for the wisdom of the Perl Monks concerning the following question:
Now, according my hosting's FAQ, /usr/sbin/sendmail -oi -t is the correct path to use, and the unix commandline mail should work, but it still doesnt. I dont have mail::sendmail. What are my options?open(MAIL,"|/usr/sbin/sendmail -oi -t"); print MAIL "To: myemail@myemail.com\n"; print MAIL "From: serveremail@theserver.com\n"; print MAIL "Subject: Blah\n\n"; print MAIL "Put main message in here.\n" close (MAIL);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mailer not mailing.
by b10m (Vicar) on Jan 22, 2004 at 18:44 UTC | |
|
Re: Mailer not mailing.
by Limbic~Region (Chancellor) on Jan 22, 2004 at 18:40 UTC | |
by toonski (Beadle) on Jan 22, 2004 at 18:55 UTC | |
by Limbic~Region (Chancellor) on Jan 22, 2004 at 19:00 UTC | |
by toonski (Beadle) on Jan 22, 2004 at 19:22 UTC | |
by Limbic~Region (Chancellor) on Jan 22, 2004 at 19:28 UTC |