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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. Things needed to create a webmail system

Things needed to create a webmail system

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
sysadminphphelptutorialquestion
7 Posts 3 Posters 32 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.
  • X Offline
    X Offline
    xiaomahe
    wrote on last edited by
    #1

    Hi, i am new to this site, and i love it.. I would like to ask few questions to guide me to finish my project. I want to create a PHP based webmail system, but i am not sure if it is just enough to code the webmail using php itself. I am wondering, do i need to install another program such as Postfix and Dovecot?? Coz 2 of them are email servers rite? and webmail need an email server to access to.. I want to create prototype webmail, hence this system will not really be online, maybe could be used in just local area network.. So, conclusion for all the questions: 1. DO i need to install the email server? 2. Can i just create an webmail system using PHP itself without installing Postfix and Dovecot? Thanks if you could help me. I'll be very happy

    M 1 Reply Last reply
    0
    • X xiaomahe

      Hi, i am new to this site, and i love it.. I would like to ask few questions to guide me to finish my project. I want to create a PHP based webmail system, but i am not sure if it is just enough to code the webmail using php itself. I am wondering, do i need to install another program such as Postfix and Dovecot?? Coz 2 of them are email servers rite? and webmail need an email server to access to.. I want to create prototype webmail, hence this system will not really be online, maybe could be used in just local area network.. So, conclusion for all the questions: 1. DO i need to install the email server? 2. Can i just create an webmail system using PHP itself without installing Postfix and Dovecot? Thanks if you could help me. I'll be very happy

      M Offline
      M Offline
      Marc Firth
      wrote on last edited by
      #2

      I don't so much have a solution as I am interested in what you are doing. I'd like to know how you get on with creating it (as I've thought about making one in future). From my knowledge of php: I don't think you can create an email system with php alone. I might be wrong (I hope). But still there's no point reinventing the wheel so I do strongly suggest investigating using dovecot/postfix. you should be able to use functions such as phps exec to run commands within postfix/dovecot etc Are you going to be building it open source?

      Neonlight

      X 1 Reply Last reply
      0
      • M Marc Firth

        I don't so much have a solution as I am interested in what you are doing. I'd like to know how you get on with creating it (as I've thought about making one in future). From my knowledge of php: I don't think you can create an email system with php alone. I might be wrong (I hope). But still there's no point reinventing the wheel so I do strongly suggest investigating using dovecot/postfix. you should be able to use functions such as phps exec to run commands within postfix/dovecot etc Are you going to be building it open source?

        Neonlight

        X Offline
        X Offline
        xiaomahe
        wrote on last edited by
        #3

        Hi Marc.. I was planning to do a simple webmail system for my project. It should works like normal webmail such as hotmail or yahoo, but it will be in the simplest design. I would like to implement encryption to that system, so it can only send an encrypted email. What i am wondering about is, do i need to install the mail server?? or can i just save all the email information (including email messages, user id, email, etc) into sql databases.. Because when user had login the webmail, all the emails information is downloaded from the mail server? correct me if i am wrong.. Hence, i guess mail server might be needed.. But as this is just a small project, i am not going to make an online system.. So it will be in local host.. So is it possible just to download all the emails information of an user from sql database? without had to download from the mail server.. I am doing this for my Final Year Project for my degree, so if anyone could help with the settings on how to build a webmail system using php? I would be very appreciate..

        M 1 Reply Last reply
        0
        • X xiaomahe

          Hi Marc.. I was planning to do a simple webmail system for my project. It should works like normal webmail such as hotmail or yahoo, but it will be in the simplest design. I would like to implement encryption to that system, so it can only send an encrypted email. What i am wondering about is, do i need to install the mail server?? or can i just save all the email information (including email messages, user id, email, etc) into sql databases.. Because when user had login the webmail, all the emails information is downloaded from the mail server? correct me if i am wrong.. Hence, i guess mail server might be needed.. But as this is just a small project, i am not going to make an online system.. So it will be in local host.. So is it possible just to download all the emails information of an user from sql database? without had to download from the mail server.. I am doing this for my Final Year Project for my degree, so if anyone could help with the settings on how to build a webmail system using php? I would be very appreciate..

          M Offline
          M Offline
          Marc Firth
          wrote on last edited by
          #4

          I did a bit of research. You dont need to install the webserver. Useful links: Take-AJAX-to-Your-Email-Inbox-Developing-a-Webbased-POP-3-Client/[^] http://www.phpbuilder.com/manual/ref.imap.php[^] http://uk.php.net/imap[^]

          Neonlight

          S 1 Reply Last reply
          0
          • M Marc Firth

            I did a bit of research. You dont need to install the webserver. Useful links: Take-AJAX-to-Your-Email-Inbox-Developing-a-Webbased-POP-3-Client/[^] http://www.phpbuilder.com/manual/ref.imap.php[^] http://uk.php.net/imap[^]

            Neonlight

            S Offline
            S Offline
            Syed M Hussain
            wrote on last edited by
            #5

            Hi Guys I'm assuming your all trying to develop an interface to a mailbox which has already be setup. Php provides the imap dll for windows which you can use to establish a connection to a mailbox. Alternatively if you know the raw commands for either imap or pop3 and you don't mind getting dirty then you can code it your self.

            www.cy2online.net

            X 1 Reply Last reply
            0
            • S Syed M Hussain

              Hi Guys I'm assuming your all trying to develop an interface to a mailbox which has already be setup. Php provides the imap dll for windows which you can use to establish a connection to a mailbox. Alternatively if you know the raw commands for either imap or pop3 and you don't mind getting dirty then you can code it your self.

              www.cy2online.net

              X Offline
              X Offline
              xiaomahe
              wrote on last edited by
              #6

              Yeah, for my project is similar to something like you mentioned, it works just like hotmail or any other webmail application, where people used the webmail to access to the mail server(which has been setup) I just want to make an offline mail server for my project, and i only want my LAN network to access the network. Strictly not for outsider.. And thanks Marc for the links..

              M 1 Reply Last reply
              0
              • X xiaomahe

                Yeah, for my project is similar to something like you mentioned, it works just like hotmail or any other webmail application, where people used the webmail to access to the mail server(which has been setup) I just want to make an offline mail server for my project, and i only want my LAN network to access the network. Strictly not for outsider.. And thanks Marc for the links..

                M Offline
                M Offline
                Marc Firth
                wrote on last edited by
                #7

                No problem. Let me know how you get on.

                Neonlight

                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