I have an issue with sendmail on my server (ubuntu 12.10) with php, mysql,and wordpress installed. Basically I want to create a contact form in my blog to receive emails from visitors directly into my gmail account but it doest work! I created a php file called testmail.php to recall it from the browser:
<?php
$to = '
[email protected]';
$subbject = '
TEST MAIL';
$msg = '
test test
test test
test test
test test
test test
test test
test test
test';
$isMailed = mail($to, $subbject, $msg, 'From:me <
[email protected]>');
if($isMailed)
echo 'mail has been send to: ' . $to;
else
echo 'mail has NOT been send..';
?>
But I dont receive anything! The /var/log/mail.log says:
NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA-v4: cannot bind: Address already in use
What do i do wrong? Where do I need to check? What info do you need more?
I checked also into the spam folder, nothing.
Thank you!