Re: Question re: PHP, Qmail and incoming email
| From: | Teodor Cimpoesu | Date: | Fri, 20 Oct 2000 15:59:41 +0000 |
| Subject: | Re: Question re: PHP, Qmail and incoming email | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21416@lists.php.net to get a copy of this message | ||
Hi Cybercandy!
On Fri, 20 Oct 2000, Cybercandy Ltd wrote:
> Hi I'm new to this group, and new to PHP so excuse me if I make any faux
> pas.
>
> I've looked throught the archive to my problem with no joy. I think my
> question is quite a simple one, if you know the answer.
>
> I want to produce a php script to process incoming emails to add a "ticket"
> number to them and to check if they already have a ticket number on them.
>
> My ISP uses: Unix, PHP3/4,Apache, Qmail.
note its name is
qmail' not Qmail'.
> I've worked out how to pipe emails from a certain address to a script, but I
> don't know
> how to get the script to handle the email once it arrives. Does the email,
> that is piped, appear as a predefined variable of some kind... any tips,
> advice or pointers toward documentation that a newbie could understand would
> be enormously helpful
you can have something like `|myscript.php' in your ~/.qmail file.
for more details check qmail docs [I particularely enjoy LWQ (life with qmail)]
there are plenity of links on www.qmail.org.
-- teodor