From some of line code, we can easily send simple text email, online image and HTML email from us to other.

Provide receiver email address in $to variable.
Provide your name and email address in $from variable.
Provide proper image source path.

Output

Whats going on - HTML
Hello কি খবর কেমন আছ?
Image