Re: Run Process in back ground
| From: | Nirmalya Lahiri | Date: | Tue, 12 Feb 2008 09:24:31 +0000 |
| Subject: | Re: Run Process in back ground | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269151@lists.php.net to get a copy of this message | ||
--- Richard Kurth <richardkurth@centurytel.net> 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