I did several tests with the sen to afrine function. Everything seems fine an i got a Thank you Message. But no Sen to a frien E-Mail.
(and nothing in the spam filter).
First thing you need to check is making your emails working well on your server. Please login to backend of your site, access to Users -> Users Manager, create a new user to see whether that user receives email or not ?