#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Location
    oregon
    Posts
    35
    Rep Power
    8

    Retrieving email from hosted server


    Hi, I am getting confused on how to do this. I have an email box set up on my hosted shared server account. From the server at my office I would like to run a php script that retrieves the emails, reads them, then performs some functions based on what's in the email messages. I have been looking at the php imap functions. So do I need to have the imap module installed on my office server, the hosted server, or both?
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,443
    Rep Power
    4539
    You need the php imap module on the server that runs the php code.

    Your hosted email server must support imap.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester

IMN logo majestic logo threadwatch logo seochat tools logo