Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. Reading Mails using PHP

Reading Mails using PHP

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
phphelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anudivya
    wrote on last edited by
    #1

    Hai Friends :) good to see you all.. :-D i am doing one webmail project using php.. for that i need to read mails from that particular email and show it in my inbox.. my question is how to read mails from Cpanel using PHP.. any help will be useful to me.. :^) thank u in advance ;P

    K 1 Reply Last reply
    0
    • A anudivya

      Hai Friends :) good to see you all.. :-D i am doing one webmail project using php.. for that i need to read mails from that particular email and show it in my inbox.. my question is how to read mails from Cpanel using PHP.. any help will be useful to me.. :^) thank u in advance ;P

      K Offline
      K Offline
      Kevin Schaefer
      wrote on last edited by
      #2

      Do you know where the email actually resides? Is this a linux system or a Windows system? I know for Linux, there are several open source webmail projects, my favorite is Roundcube. If you have your mind set on actually writing it yourself, (again, assuming a Linux server), you would need to be able to parse the mbox files where postfix (I'm assuming you are using postfix) stores email at (/var/spool/mail). I've never done that, but I know you'll need to make sure your web browser (apache?) has permissions to read those files... Does that help?

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups