How to create email system

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ryan2345
    New Member
    • Mar 2008
    • 26

    How to create email system

    Hi,
    I ve been working on a project. In that i wanted to send users an email about their account information and the new products that will get launched.
    In our college while showing the project we wont be getting a net connection to show the messages have already been sent or not.
    We have been adviced to use a smtp server to send mails.
    But i could not understang how to actually do it.
    Is it possible to send mails without hosting the project on net.
    What can be the solutiom plz let us know.
    Looking forward for your help.
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Querstion is if it is possible to install an SMTP server on your own system. That way you don't need your ISP's server. See this acrticle about using your own SMTP server.

    Ronald

    Comment

    • ryan2345
      New Member
      • Mar 2008
      • 26

      #3
      Thanks for your response.
      I read the article. I had a doubt that after i install PostCast on my system then i would be able to view the mesages in my outlook. The email addresses that are stored in the database doesnt exist in real world. So will it work then also.
      We were even told to use phpmailer for it.

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        As I understood from your post, you do not have access to a SMTP server, hence my reply.

        But when you do, then it is a lot easier to use phpMailer and use an existing SMTP server.

        Ronald

        Comment

        • ryan2345
          New Member
          • Mar 2008
          • 26

          #5
          I dont have an smtp server. I can install it from the link you gave. I have downloaded phpmailer.
          But i dont know actually how to proceed with creating this sytem.
          Can you plz guide me step by step. Im totallly lost.

          Comment

          • ronverdonk
            Recognized Expert Specialist
            • Jul 2006
            • 4259

            #6
            If you don't have any clue, start with learning PHP.
            If you know PHP, phpMailer is widely used and has some excellent tutorials like THIS ONE .

            It contains all documentation and sample code for setting up and using the package.

            Ronald

            Comment

            • ryan2345
              New Member
              • Mar 2008
              • 26

              #7
              I went through the article and tried the code
              But it gave me the following error.

              Warning: require_once(C:/xampp/htdocs/lib/MailClass.inc) [function.requir e-once]: failed to open stream: No such file or directory in C:\xampp\htdocs \skill_search\t est.php on line 7

              Fatal error: require_once() [function.requir e]: Failed opening required 'C:/xampp/htdocs/lib/MailClass.inc' (include_path=' .;C:\xampp\php\ pear\') in C:\xampp\htdocs \skill_search\t est.php on line 7

              I saved the files as was written in it.
              Can u plz help me with this.
              Can you suggest some good tutorial or video in which everything is given in detailed.
              Thanku

              Comment

              • ronverdonk
                Recognized Expert Specialist
                • Jul 2006
                • 4259

                #8
                This is a good tutorial including all documentation you need! How can you expect even more detail than in that tutorial?

                But it, of course, assumes that you know something about PHP and its mail() function. When you don't, take a PHP class first.

                The error message simply means that you do not have the file test.php in the expected directory. Making this file by yourself is part of the tutorial.

                Ronald

                Comment

                Working...