I have this error sh: /usr/sbin/sendmail: No such file or directory
. I'm not Admin of that server. This is my php code:
<?php $do = $email;
$temat = 'Aktywuj swoje konto!';
$od = 'From: x@domain.com';
$serwer = 'mailng.domain.com';
ini_set('SMTP', $serwer);
$wiadomość = 'Hello $użytkownik. Musisz aktywować konto klikając link poniżej.
http://localhost/projekt/index.php?id=$id&kod=$klucz';
mail($do, $temat, $wiadomość, $od);`