php - maildev not catching sendmail

one text

I have an Ubuntu with sendmail and maildev installed. I'm running maildev :

$ maildev
MailDev webapp running at http://0.0.0.0:1080
MailDev SMTP Server running at 0.0.0.0:1025

I'm using PHP to send mail :

mail('myMail@gmail.com','test Mail ' . __FILE__,'test','From:me@my_domain.com');

with php.ini :

[mail function]
SMTP = localhost
smtp_port = 1025

However, the mail is not catched by maildev, sendmail is sending it and I got it on my real mail "myMail@gmail.com" (it does not appear on http://0.0.0.0:1080)

Any idea why?

Source