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

    Join Date
    Jun 2008
    Location
    oregon
    Posts
    35
    Rep Power
    7

    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
    Stumpier old Moderator
    Devshed Supreme Being (6500+ posts)

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

    Your hosted email server must support imap.
    ======
    Doug G
    ======
    It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

IMN logo majestic logo threadwatch logo seochat tools logo