LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-16-2004, 05:44 AM   #1
tanmaya
LQ Newbie
 
Registered: Sep 2002
Posts: 14

Rep: Reputation: 0
SMTP in php.ini not used


Hi All

I have specified SMTP=mail.xyxy.com in my php.ini
its still using the SMTP on the local system instead
of this server.

Any ideas

Regards,
Tanmaya
 
Old 11-16-2004, 06:33 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Re: SMTP in php.ini not used

Quote:
Originally posted by tanmaya
Hi All

I have specified SMTP=mail.xyxy.com in my php.ini
its still using the SMTP on the local system instead
of this server.

Any ideas

Regards,
Tanmaya

please specify your setup and problem more clearly!!!

regards
 
Old 11-16-2004, 06:52 AM   #3
tanmaya
LQ Newbie
 
Registered: Sep 2002
Posts: 14

Original Poster
Rep: Reputation: 0
I am using Redhat 7.3, with apache 1.3.33 with php 4.3.
I also have zend optimizer installed. i am qmail as local
mail server.
when i run phpinfo();, it shows the correct mail server(my isp's mail server).
but that is not used when sending mails via php's mail function. instead its using the local mail server.
 
Old 11-16-2004, 09:06 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

when u run phpinfpo it will show the mail server as that mentioned in
/etc/httpd/conf/httpd.conf

ServerAdmin root@localhost

this is in my case

and while using php's mail function,try passing the SMTP server string as that of ur ISP

regards
 
  


Reply



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
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 11:05 AM
Upgraded PHP from 4.3.4 to 4.3.10 and now it won't read php.ini gregmcavoy Linux - Software 11 01-22-2005 12:16 PM
php: different mail server from php.ini rayds Programming 0 09-14-2004 03:48 AM
I need help with php.ini Wagner Programming 2 10-14-2003 05:14 AM
where is php.ini? ShawnD Linux - Software 6 07-24-2002 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration