views:

3562

answers:

3

I'm running my own LAMP server locally.

Something i need to setup?

Should it be able to send email using php-mail, without havin to configure smtp.

A: 

Check your phpinfo() information for STMP and the port. Do a test.php file and try to execute this.

mail('[email protected]', 'My Subject', 'Hello World');
Ólafur Waage
May want to change the email address though, I hear example.com doesn't take too kindly to spam..
jim
http://en.wikipedia.org/wiki/Example.com
Ólafur Waage
A: 

http://drupal.org/node/11570

That thread will help you out.

Drupal basically patches into the php mail function, so as with that you either need a mail server installed locally with your lamp setup, or to point apache towards an external or smtp server in your php.ini file.

jim
A: 

Ah fixed it, well i didn't-one of our developers did.

Apparently Drupal only uses 'Send Mail' so you have to have it installed, wont use php-mail.

hilikus