After a long time i still cannot catch mails via mailcatcher. Mail is sent, but it is not cought. I'm using xampp, and here are my settings in php.ini:
SMTP = localhost
smtp_port = 1025
sendmail_path = /usr/bin/env catchmail -f some@from.address
and PHP
$message = "Line 1\r\nLine 2\r\nLine 3";
$message = wordwrap($message, 70, "\r\n");
$sent = mail('caffeinated@example.com', 'My Subject', $message,'webmaster@example.com');
if($sent) {
echo "<h1>Sent...</h1>";
}
UPDATE
I am testing this on Windows OS