hmailserver to PHP script

Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
Post Reply
yipking
New user
New user
Posts: 5
Joined: 2008-04-21 22:14

hmailserver to PHP script

Post by yipking » 2008-10-01 08:55

Not sure this is the right board to post this question.
I would like to write up a PHP script that can read incoming email from hmailserver.
Is this possible?

Thanks

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Re: hmailserver to PHP script

Post by ^DooM^ » 2008-10-01 09:11

Sure it is, squirrelmail has been doing it for years.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

yipking
New user
New user
Posts: 5
Joined: 2008-04-21 22:14

Re: hmailserver to PHP script

Post by yipking » 2008-12-31 00:25

Thanks Doom
Please allow me to be more specific on my question.
I now know how to write a script to check email periodically, but the ideal solution would be that hmailserver can somehow "forward" the incoming email to a script to process.

Any pointer to the document or examples are highly appreciated.
Thx
Kevin

GlenC
Senior user
Senior user
Posts: 680
Joined: 2004-08-17 23:31
Location: Santiago, Chile

Re: hmailserver to PHP script

Post by GlenC » 2008-12-31 01:15

yipking wrote:
Any pointer to the document or examples are highly appreciated.
Thx
Kevin
Martin wrote a sample script here that does what you are asking

http://www.hmailserver.com/forum/viewtopic.php?t=2960

yipking
New user
New user
Posts: 5
Joined: 2008-04-21 22:14

Re: hmailserver to PHP script

Post by yipking » 2009-01-02 22:55

Just can't say how grately I am, martin!

Post Reply