in reply to Re: File I/O question
in thread File I/O question

Alexander,

Thanks a lot, that did the trick. And thanks for the tip about the linefeeds. We are an all-Solaris shop for now, but you never know what upper management will decide when it comes to messing with our environment.

Thanks!

Replies are listed 'Best First'.
Re^3: File I/O question
by hnd (Scribe) on Jul 08, 2009 at 11:06 UTC
    a better way to send mail is to use sendmail directly
    if you are on linux you can dosudo apt-get xmail and then use the following perl script
    use Mail::Mailer; $mailer=Mail::Mailer->new("sendmail"); $mailer->open ({ From=> <from address here>, To=> <to address here>, Subject=> <subject here>, }) or die "cant open mailer\n"; $body=<>; print $mailer $body; $mailer->close();
    the "sendmail" is to be replaced with the mail program like xmail (i use xmail)
    --------------------------------------------------------
    i'am worst at what do best and for this gift i fell blessed...
    i found it hard it's hard to find well whatever
    NEVERMIND