Results 1 to 5 of 5

Thread: Webmail server and PHP support

  1. #1
    Join Date
    Aug 2007
    Beans
    72

    Webmail server and PHP support

    Hi,

    I am looking for a way to receive emails to a PHP script. Anyone know how this can be done?

    Thanks,


    Bandito

  2. #2
    Join Date
    Mar 2007
    Location
    Hillsboro, OR
    Beans
    169
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Webmail server and PHP support

    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)

  3. #3
    Join Date
    Aug 2007
    Beans
    72

    Re: Webmail server and PHP support

    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

  4. #4
    Join Date
    Jan 2008
    Location
    Sittingbourne, UK
    Beans
    196
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Webmail server and PHP support

    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.

  5. #5
    Join Date
    Jan 2008
    Location
    Sittingbourne, UK
    Beans
    196
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Webmail server and PHP support

    Quote Originally Posted by bandito40 View Post
    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
    Roundcube is a nice free one: http://roundcube.net/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •