How can I enable the mail() function ???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
psicloone
Forum Newbie
Posts: 5
Joined: Mon Jun 15, 2009 9:13 am

How can I enable the mail() function ???

Post by psicloone »

I`m on ubuntu and I installed postfix. When I tried it with telnet - everything worked fine.

However, I still can`t use the php mail() function. How can I fix it?
patrickmvi
Forum Commoner
Posts: 32
Joined: Mon Jun 22, 2009 6:45 am
Location: Fort Lauderdale, FL

Re: How can I enable the mail() function ???

Post by patrickmvi »

It's most likely due to the way you have things configured in your php.ini file. Are you getting any errors when trying to execute the mail function or is it just not functioning?
Post Reply