You don't provide any errors so I am assuming that you do not have warnings turned on or that you are checking the return code of your open statement.open (MAIL, "|/usr/sbin/sendmail -oi -t") or die $!; # check to see i +f a success print MAIL 'To: myemail@myemail.com\n'; # double quotes i +nterpolate @myemail as a variable
You could always install Mail::Sendmail. In case you are wondering how to do that without root privelages - it's a FAQ
Cheers - L~R
In reply to Re: Mailer not mailing.
by Limbic~Region
in thread Mailer not mailing.
by toonski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |