in reply to Re: sending bulk emails in a specified time
in thread sending bulk emails in a specified time
If your webserver is running an OS that supports it then you could use fork something like :
#!/usr/bin/perl -w use CGI qw(redirect); use strict; $| = 1; if (my $pid = fork) { print redirect 'http://www.whatever.com'; } else { close STDIN; close STDOUT; # do your mail sending here }
Closing STDIN and STDOUT is important so the server knows to close the connection to the browser
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: sending bulk emails in a specified time
by fullyloaded (Initiate) on Feb 08, 2002 at 22:18 UTC |