Reindero wrote:I've added in the php.ini file the following line:
[mail function]
sendmail_path = /bin/sendmail
and created the directory /sendmail (was not there).
When testing the mail (trough admin) it said that mail() was succesfull.
But I have the distinct fealing that sendmail should not be a dit. but a file (.php) since I did not recieve any mail. Any ideas?
What is currently in /bin/sendmail? if the sendmail package is not there, php will not do anything with the email.
I found that MantisBT always reports that email was successful , even when nothing happens.
The MantisBT experts recommend using a php script (/mantis/htdocs/scripts/send_emails.php) in a cron job to send email.
Reindero wrote:Yeah, running windows. I believe 2008....(server)
Then I would use an SMTP setup. There are a few out there, not just gmail, that could do the job for you.
Or you can search for someone willing to help you setup the email server within W2008
When testing the mail (trough admin) it said that mail() was succesfull.
But I have the distinct fealing that sendmail should not be a dit. but a file (.php) since I did not recieve any mail. Any ideas?
crewman wrote:When testing the mail (trough admin) it said that mail() was succesfull.
It always says it was successful even when no email actually was sent. It is only checking to see if the function worked not if the process called by the function worked.
crewman wrote:
But I have the distinct fealing that sendmail should not be a dit. but a file (.php) since I did not recieve any mail. Any ideas?