I want sent email with Html tags, I install mailsystem and htmlmail modules,
according to some tutorial that I read I provide tpl
.
anyway
The main problem is when I select HTMLMailSysytem
in Site-wide default MailSystemInterface class
no email sending, but when I put it in DefaultMailSystem
mail sent,
I try to find out why this happened in my custom module I try
$result = drupal_mail('cdigitdev', 'message_key', $to, user_preferred_language($user), array('body' => $body, 'subject' => $subject, 'headers' => array('Cc' => $header_cc, 'Bcc' => $header_bcc,'Content-Type' => 'text/html; charset=UTF-8; format=flowed'), $from, TRUE));
ym($result);
The result is
But I didn't receive any email !!!!
I think this is related to mail server that when I try to send html server drupal(php) tell it is sended but I did not receive any thing , is it right?