468,740 Members | 1,991 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,740 developers. It's quick & easy.

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.
Mar 20 '08 #1
7 2621
ronverdonk
4,258 Expert 4TB
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
Mar 20 '08 #2
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.
Mar 20 '08 #3
ronverdonk
4,258 Expert 4TB
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
Mar 20 '08 #4
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.
Mar 20 '08 #5
ronverdonk
4,258 Expert 4TB
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
Mar 20 '08 #6
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.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\skill_search\test.php on line 7

Fatal error: require_once() [function.require]: Failed opening required 'C:/xampp/htdocs/lib/MailClass.inc' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\skill_search\test.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
Mar 20 '08 #7
ronverdonk
4,258 Expert 4TB
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
Mar 20 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.