ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   PHP mail() function does not work on ISPManager servers (http://forum.ispsystem.com//showthread.php?t=1064)

Chains 05-27-2010 03:28 AM

PHP mail() function does not work on ISPManager servers
 
We've used ISP Manager for a while and have never been able to get mail() to work in php. This means that blogs installed on the server cannot accept contact form emails and comment notifications don't arrive.

How do we fix it so the server can send mail? This works in a default installed lamp stack, but even after numerous Google searches I can't find a solution.

Thanks.

Chains 05-27-2010 07:43 PM

This has nothing to do with Yahoo mail. The server needs to send mail using the PHP mail() function. The server also sends email with mail boxes for users of the various domains on the server like:user@example.com.

This also has nothing to do with Outlook. This is the server not being able to run this code: test.php

<?php mail ("you@example.com","test subject","This is a message.") ?>

slava 05-28-2010 04:57 AM

What you see in the email server logs? See /var/log/maillog or /var/log/exim4/mainlog when you run php script with email function.

natedigby21 08-06-2010 05:18 AM

Quote:

/var/log/maillog
Sorry but I cannot see this one here.

natedigby21 08-06-2010 05:19 AM

My bad, did not notice the other one:

/var/log/exim4/

found it.. Got to get it running.

Thanks for help.

Regards,


All times are GMT +2. The time now is 07:26 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.