Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Mail Not Being Received (php.ini problem)
Old 02-12-2007, 08:05 AM Mail Not Being Received (php.ini problem)
PrinceOfBH's Avatar
Novice Talker

Posts: 8
Trades: 0
Hi,

One of the devs changed some setting in the php.ini file and now we cant send mails using the mail() function. He said all he added was sendmail=/usr/*sumthin* -t . I have removed that line but still we cant solve the problem. He suggests we need to change SMTP settings but I just dont want to fiddle with it any more. Please can you suggest something

Thanks
PrinceOfBH is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-13-2007, 12:56 AM Re: Mail Not Being Received (php.ini problem)
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,898
Name: Keith Marshall
Location: Connecticut
Trades: 0
What OS are you operating on? If its Windows, then setting your SMTP to your ISP should be fine.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 02-17-2007, 08:37 AM Re: Mail Not Being Received (php.ini problem)
Novice Talker

Posts: 8
Trades: 0
Maybe you like to post a phpinfo link here so we can take a look at the server settings
__________________
tanfwc
[
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
]
tanfwc is offline
Reply With Quote
View Public Profile
 
Old 02-17-2007, 07:29 PM Re: Mail Not Being Received (php.ini problem)
Ultra Talker

Posts: 256
Location: Auckland, New Zealand
Trades: 0
There's 3 options in php.ini for setting SMTP/sendmail,

sendmail_from, sendmail_path and SMTP

For Windows, you use only sendmail_from (the from email address) and SMTP (usually your ISP's SMTP server or your own SMTP server)

For Linux you use sendmail_from and sendmail_path (usually "/usr/sbin/sendmail -t -i" with quotes) but you could use SMTP if you don't use sendmail or sendmail compatible MTAs.

I guess cause it's sendmail and not sendmail_path that it's the problem.

Cheers,

MC
__________________
#------------------------------signature---------------------------------------------------------------------------------#
Quote:
I am well recognised for what I don't do than what I do. Chores are just one of those things.
mastercomputers is offline
Reply With Quote
View Public Profile Visit mastercomputers's homepage!
 
Reply     « Reply to Mail Not Being Received (php.ini problem)
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13555 seconds with 12 queries