Hi,
I am looking for a way to receive emails to a PHP script. Anyone know how this can be done?
Thanks,
Bandito
Hi,
I am looking for a way to receive emails to a PHP script. Anyone know how this can be done?
Thanks,
Bandito
The short answer is no, the long answer is still no. What you'll want to do is recieve mail normally and then check that mailbox with a php script. Make sure you have php-imap installed.
Apollo(ss): Ubuntu 8.10, Pentium T2330, 2GB RAM, 200GB(Laptop)
Hestia: Ubuntu 8.04.1, 2.4Ghz P4, 1GB RAM, 500GB, (SMB/FTP/Torrent) {Rebuilding}
Poseidon: Ubuntu Server 8.04.1, 512MB, LAMP, Mail (VPS)
That's the conclusion I was coming too. So what is the best webmail server to install on Ubuntu. I am installing Courier right. Any suggestions.
Thanks,
Bandito
You can receive emails to a PHP script using a pipe!
For example on our email servers we use OSTicket and have the following pipe setup:
support@domain.com -> |/usr/bin/php -q /home/domain.com/support/www/api/pipe.php
This is using exim MTA.
Last edited by Philio; November 17th, 2008 at 01:36 PM.
Roundcube is a nice free one: http://roundcube.net/
Bookmarks