in reply to Sendmail to non-working email address
jtruesub SendMail{ my %MAIL = @_; my $RESULT = "SendMail to".$MAIL{'TO'}; use IPC::Open2; open2(*READA,*WRITEA,"/usr/lib/sendmail -oi -t"); print WRITEA "To:$MAIL{'TO'}\n"; print WRITEA "From:$MAIL{'FROM'}\n"; print WRITEA "Subject:$MAIL{'SUBJECT'}\n\n"; print WRITEA "$MAIL{'BODY'}\n"; close WRITEA; while ($line = <READA>){$RESULT .= "<li>$line\n";} close READA; return $RESULT; }############################ end SendMail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: Sendmail to non-working email address
by merlyn (Sage) on Sep 04, 2003 at 18:41 UTC | |
|
Re: Re: Sendmail to non-working email address
by smellysocks (Beadle) on Sep 04, 2003 at 19:38 UTC | |
by jdtoronto (Prior) on Sep 05, 2003 at 03:37 UTC |