PDA

View Full Version : Read mail



louis
12-18-2004, 04:44 AM
Hi,

Is it possible to set the mails that would send to blaat@mydomain.com would set in database?

I would open the mails in my own php page.

Is it possible?
Grtz Louis

nobaloney
12-18-2004, 10:41 AM
Possible, but not necessarily trivial.

What you need to do is write a program that would store the emails in a database.

Then you'll have to pipe your email to the program.

You can do it with an uploadable php or perl program in your own userspace so you shouldn't have to have any kind of special access to do it.

Jeff

jmstacey
12-18-2004, 05:35 PM
The automail.php and automail.pl files in the osTicket download my help give you some ideas on your application. (http://www.osticket.com)
The php script logs in via pop3 and downloads your mail (requires a cron entry) and the perl file you pipe to using an alias (forwarder).