Drupal Association members fund grants that make connections all over the world.
HTML MAIL feature is not working correctly. Some of the users are not receiving email. It is important as these are the account confirmation emails.
Error Message : "The mailsystem_html_to_text() function did not return any text. Please report this error to the Mail system issue queue."
I am trying to send a HTML email. The message body has some HTML Code. I am getting the above error and email is not sent to the user.
// Retrieve the responsible implementation for this message.
$system = drupal_mail_system($module, $key);
// Format the message body.
$message = $system->format($message);
// Send e-mail.
$message['result'] = $system->mail($message);