Why are my emails blank?

I tried to test the password reset function, but didn’t work, i tried registering a new user, all the email sneds is “noname” thats it, no text anything, ant thats the same for all things: lost passord, pirep,registration e.t.c

Heres an image: (i am using free host infinityfree if any1 can help me, that would be very appreciated, because i cant login to my account anymore..)

https://ibb.co/kq6TLR

/|\ for reset password

and for registration:

https://ibb.co/cpifZm

 

It is actually is very annoying, i hope this isnt the host error, and also this is how my email_lostpassword.php looks: (incase of something)

\<?php if(!defined('IN\_PHPVMS') && IN\_PHPVMS !== true) { die(); } ?\> Dear \<?php echo $firstname .' '. $lastname; ?\>, Your password was reset, it is: \<?php echo $newpw?\> You can login with this new password and change it. Thanks! \<?php echo SITE\_NAME?\> Staff

That content/text is just not in the email ;(

Oh and just to note, it works fine on apple mail app

From what I could find by doing a search, it seems that most others with this issue have wrong content-type. Could be an idea to look into