From some of line code, we can easily send simple text email from us to others.

Provide receiver email address in $to variable.
Provide your name and email address in $from variable.

Output

This is Subject
Hello!
How are you?