LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-18-2004, 02:37 AM   #1
TVScoundrel
LQ Newbie
 
Registered: Apr 2004
Posts: 12

Rep: Reputation: 0
Question Admin please delete this thread, 't was the wrong forum


Hi everybody,

I have a website on a linux Redhat 9 runing apache with PHP4.

I wish to use the mail() command with PHP but I can't seem to be able to configure my PHP to work with our local mailserver wich is EXCHANGE on a Windows Server 2003 box.

I tried changing my PHP.ini file

SMTP = localMailserverIP

sendmail_from = account@localMailserver (this is a POP enabled account)

but it doesn't work. I am able however to send mail when using a mailclient with the same info from the redhat box.

Anybody have an idea?

Cheers,
TVScoundrel

Last edited by TVScoundrel; 06-18-2004 at 05:11 AM.
 
Old 06-18-2004, 01:22 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
The smtp setting in php.ini only seems to be for windows. On Linux/unix boxes php uses sendmail. When you tried sending a message did you use sendmail ot just a mail client?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending mail from linux using MS Exchange relay host a2k2 Linux - General 0 08-16-2004 01:55 PM
Sending mail with PHP on linux machine through exchange on Windows server 2003 TVScoundrel Linux - Networking 2 06-18-2004 12:02 PM
Using mail filters with Exchange 2003 ? tux1982 Linux - General 0 06-07-2004 08:15 PM
Linux Mail Server and Exchange Mail vvandam Linux - Networking 10 07-11-2003 04:42 PM
POstfix not sending to a local exchange server hawkpaul Linux - Software 10 06-04-2003 07:54 AM


All times are GMT -5. The time now is 02:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration