Solution:
Here is wordpress SMTP plugin for sending emails without local smtp server https://wordpress.org/plugins/blastex You can send from wp_mail() function with html (minimal Php version 5.1):
< ?php
$to = ‘hello@emal.com, hello@boom.com’;
$subject ‘Hello from email client’;
$html = ‘<h1>Hello message from smtp! </h1> Message from wordpress plugin!’;
// Install and activate plugin and send emails (1 – sent, 0- error)
$ok = wp_mail($to, $subject, $html);
// Show error
echo get_option(‘blastex_error’);
?>
Plugin gets mx hostname for sending email from dns servers. You can try!