I have a problem with Mercury. I installed XAMPP and configured Mercury so as to be able to send emails to external addresses. When i click on File->Send Mail Message, everything works perfectly - info about the message shows up in the logs and the message is successfully delivered to a gmail account. A problem occurs when I try to send an email in php using mail(). The function returns true, as if the message was actually sent, but it is not and nothing even shows up in Mercury's logs, so it seems the mail() function isn't properly sending the message to the mail server.
Here are the lines I added to php.ini
- Code: Select all
SMTP = localhost
smtp_port = 25
sendmail_from = postmaster@localhost
What is wrong?