Re: Run Process in back ground

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Richard Kurth <richardkurth@xxxxxxxxxxxxxx> wrote:

> Is there a way that I can call a function that will send an email
> and 
> then move on redirecting to another website without having to what
> for 
> the email to send?
> SendEmail($memberemail,$MailFrom,$MailHost);
> header("Location:http://domain.com";);
> 
> -- 

Richard,
 You can do it in other way. The steps are....
1> Just keep the emails in database.
2> Write another shell/PHP script which will fetch email from
database and send the email using local/remote MTA.
3> Run this script from cron as background process.


---
Nirmalya Lahiri
[+91-9433113536]


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux