General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 20th, 2003, 09:20 AM
alisafwan alisafwan is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: pakistan
Posts: 18 alisafwan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
E mail Server

hi every body
my name is ali and i am from pakistan
could u plz help me in making e mail server in php mysql and apache currently i am working on windows 2000 platform

thanks
ali safwan

Reply With Quote
  #2  
Old June 20th, 2003, 09:25 AM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 7
You need an email server first of all. PHP and MYSql won't help you there. There are some good free ones for windows. Try mailenable: http://www.mailenable.com/

Then for users to access their mail through a webmail interface you can setup IMP: http://www.horde.org/imp/

It is free and is developed in PHP using mysql as the backend.
__________________
__________________________________________________ _
Wil Moore III, MCP | Integrations Specialist | Senior Consultant
Are You Listed...? | DigitallySmooth Inc.

Reply With Quote
  #3  
Old June 20th, 2003, 09:29 AM
alisafwan alisafwan is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: pakistan
Posts: 18 alisafwan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks

thanks laidbak

its so nice of u to guide me

i will try it and let u know
but what's the function to recive a mail



alisafwan

Reply With Quote
  #4  
Old June 20th, 2003, 10:35 AM
jinx jinx is offline
it's not a tumor
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 22 jinx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Mail Setup

I personally have a FreeBSD server. I run Sendmail, for the mail server, which comes installed by default on FreeBSD (you just have to turn it on). I am using QPopper as my POP3 client to receive mail. Both seem to work great! You could also do the same setup on a linux system as well as others I am sure.

For windows, sendmail isn't available, and I haven't used one personally, so I can't help you there.

http://www.sendmail.org
http://www.qpopper.com


Last edited by jinx : June 20th, 2003 at 10:41 AM.

Reply With Quote
  #5  
Old June 20th, 2003, 10:45 AM
alisafwan alisafwan is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: pakistan
Posts: 18 alisafwan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks jinx

sir i am really greatful to u for helping me
l will try it and let u know actully i am working on my final project of Engineering and Mail server is one of its module

so nice of u

ali safwan

Reply With Quote
  #6  
Old June 20th, 2003, 11:10 AM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 34 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
personally I'm using Mandrake linux 8.0, with qmail and vpopmail installed.. better security imho

Reply With Quote
  #7  
Old June 20th, 2003, 01:19 PM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 7
Re: thanks

Quote:
Originally posted by alisafwan
thanks laidbak
i will try it and let u know
but what's the function to recive a mail

No problem, glad to help
In order for a user to send mail to someone, that user needs to have access to what is called an SMTP server. SMTP servers basically wait for a connection to be made on port 25. Once an email client (such as outlook) contacts an SMTP server it does a few things.

1. If authentication is required it will send username/password
2. It needs a domain to send the message to
3. It needs a username @ (at) that domain to send to
4. It needs a message
5. It also needs to know from who this message is sent

Once that is done, the smtp server creates a mail packet and sends it off.

Reply With Quote
  #8  
Old July 7th, 2003, 04:33 AM
alisafwan alisafwan is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: pakistan
Posts: 18 alisafwan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
PLZ HELP

Hi ever Body!
once again i need your help

i am trying to mail by php using apache mysql and on windows 2000 envoirment

the setting of my php.ini files are

//*****************




[mail function]
; For Win32 only.
SMTP = city.ciit.pk
; for Win32 only


; For Win32 only.
sendmail_from = me@localhost.com ; for Win32 only

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =



//****************



and i am using mail sever given on the address below

http://www.mailenable.com/


and my mail code is

//*************************************************


<?

$letter = "
Congratulations on successfully ";
$mailheaders = "From: Admission Officer CIIT \r\n";
//$mailheaders .= "Reply-To: bcs_f99_008@comsats.edu.pk";
mail("bcs_f99_008@comsats.edu.pk","Interview Call", $letter, $mailheaders);
echo 'mail send 1';
?>




but i am getting error


Warning: Failed to Connect in c:\program files\apache group\apache\htdocs\1\mail\emails.php on line 14
mail send 1



plz help me i am too worried

thanks

Reply With Quote
  #9  
Old July 7th, 2003, 06:49 AM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 7
Try changing me@localhost.com to a valid one.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > E mail Server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT