http://www.perlmonks.org?node_id=595422


in reply to Re^4: Send email on Windows Server
in thread Send email on Windows Server

Hmm, any chance of tackling the problem from the other direction? Have your perl script output a file if anything needs mailing, and have a separate (non-perl) process that scans for the output file and emails it if it exists.

Take a look at: Sending-Email-without-Client

<update>I just tried out using the Pickup directory - that seems to work fine.</update>

map{$a=1-$_/10;map{$d=$a;$e=$b=$_/20-2;map{($d,$e)=(2*$d*$e+$a,$e**2 -$d**2+$b);$c=$d**2+$e**2>4?$d=8:_}1..50;print$c}0..59;print$/}0..20
Tom Melly, pm@tomandlu.co.uk