Cannot use mail() function of PHP

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Cannot use mail() function of PHP

Postby psicloone » 19. June 2009 12:32

I have installed LAMPP on UBUNTU but I can`t send emails using the php mail() function:

mail('whatever@gmail.com', 'My Subject', $message);

Any help?
psicloone
 
Posts: 2
Joined: 19. June 2009 12:23

Re: Cannot use mail() function of PHP

Postby utan » 28. June 2009 18:04

You need to install a program like "postfix" and if you are in a dynamic line you would have to setup a smarthost, like from your ISP or perhaps gmail, which its the one i am using......
google it as postfix smarthost.... later.
You are invited to visit my site ...http://radioscatrachas.info

thanks a lot..
utan
 
Posts: 14
Joined: 02. June 2009 19:44


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests