PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

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:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old February 27th, 2003, 04:48 AM
mylibya mylibya is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Libya
Posts: 3 mylibya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
EMail based application using PHP

Hi

I been trying to use mail() function in PHP. I read that I need to have Sendmail or QMail.
Now I developing my application using Apache+PHP+MySql,

My question is SendMail or Qmail is part of Apache server, and when I read that I need to have a 'mail server' ist a server of its own or what realy it is.

I sorry if my question sound primitve, all the books I used does not explain these issue properly. All they say is that mail() function would relieve from all the hastle!! OK but how to go about it.

Thanx

Reply With Quote
  #2  
Old February 27th, 2003, 07:50 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 47 m 52 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
No, neither sendmail or Qmail are included in apache. They are a completely seperate server..

My recomendation would be to use Qmail, because it's not too hard to configure, and you can use webmin if you really want to, to configure it.

You can download the source for qmail at www.qmail.org

Also check out Dan Bernsteins articles on qmail located at : http://cr.yp.to/qmail.html

and I also suggest reading life with qmail article located at : http://www.lifewithqmail.org/


Mail servers and web servers are two seperate apps, but can be ran on the same machine. My suggestion would be to use qmail. That's what I use anyway..

Reply With Quote
  #3  
Old March 2nd, 2003, 05:56 PM
Malignant Malignant is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Hastings, UK
Posts: 9 Malignant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question

Does Qmail only run on Linux servers?

Reply With Quote
  #4  
Old March 3rd, 2003, 07:07 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 47 m 52 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
Yep.

Reply With Quote
  #5  
Old March 3rd, 2003, 03:57 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Malignant,

Are you using the mailserver for public use, or is this just for development purposes?

If you're only using it for development/testing, just modify your PHP.INI file to use your ISP's outgoing SMTP server to send your emails.

[mail function]
; For Win32 only.
SMTP = xx.xxx.xxx.xxx

Change the x's to reflect the outgoing mail server for your ISP.
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #6  
Old March 3rd, 2003, 04:23 PM
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 47 m 52 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
Oops..* didn't even realize you could do that..* lol.. thanks Frankie! I just learned something new today

Reply With Quote
  #7  
Old March 3rd, 2003, 05:07 PM
Malignant Malignant is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Hastings, UK
Posts: 9 Malignant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I assume Windows based servers would use Sendmail instead then?

Reply With Quote
  #8  
Old March 3rd, 2003, 05:34 PM
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 47 m 52 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
sendmail is a linux mail server... there *are* versions of it for windows tho.. But windows machines usually use exchange or something similar..

Reply With Quote
  #9  
Old April 12th, 2004, 06:04 AM
Bengaltiger Bengaltiger is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 6 Bengaltiger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by FrankieShakes
Malignant,

Are you using the mailserver for public use, or is this just for development purposes?

If you're only using it for development/testing, just modify your PHP.INI file to use your ISP's outgoing SMTP server to send your emails.

[mail function]
; For Win32 only.
SMTP = xx.xxx.xxx.xxx

Change the x's to reflect the outgoing mail server for your ISP.

Hey, i am using aol, so does it mean i changed it to mail.aol.com?? that doesnt work. Please tell me how i can fix this problem!!! it is urgent!

-Bengaltiger

Reply With Quote
  #10  
Old April 12th, 2004, 12:52 PM
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 47 m 52 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
You would need to contact aol to find out what your outgoing SMTP server is, I'm not really sure what it would be in your case

Reply With Quote
  #11  
Old May 10th, 2004, 04:13 PM
sschroed sschroed is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 1 sschroed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy using outgoing.verizon.net

Hi, I am using my WinXP Pro machine for development purposes using a php content management system that uses the mail() function to send mail to new users on the system.

I have verizon DSL, so I changed the value of the SMTP directive in PHP.ini to outgoing.verizon.net . When that did not work I changed it to 206.46.170.8 which is what I get when I ping the server.

I've also tried localhost and 127.0.0.1. I am running an SMTP server through IIS.

None of these settings made mail() work.

Any ideas?

Thanks.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > EMail based application using PHP


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 6 hosted by Hostway