Mathias Peterson
New member
I want to send a mail with PHP using Kerio MailServer. This is my code:
<?php
mail("*****@hotmail.com","subject","message","from:*******@hotmail.com");
?>
But when I try that, it says:
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Relaying to <****@hotmail.com> denied (authentication required) in C:\wamp\www\mail.php on line 2
Do I need to edit some settings in php.ini, or some other Kerio files? If so, can anyone please help me?
<?php
mail("*****@hotmail.com","subject","message","from:*******@hotmail.com");
?>
But when I try that, it says:
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Relaying to <****@hotmail.com> denied (authentication required) in C:\wamp\www\mail.php on line 2
Do I need to edit some settings in php.ini, or some other Kerio files? If so, can anyone please help me?