Board index   FAQ   Search  
Register  Login
Board index System Administration Server installation and configuration

XAMPP - can't send emails with mail()

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

XAMPP - can't send emails with mail()

Postby pawcio1357 » Sat Sep 22, 2012 11:52 am

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?
pawcio1357
New php-forum User
New php-forum User
 
Posts: 1
Joined: Sat Sep 22, 2012 11:44 am

Return to Server installation and configuration

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron