I'm trying to send an HTML Mail using the Simple Mail interface, and wanted to force the content-type to be text/html, but this value is overridden by function messaging_mail_headers.
I have managed to get around this by implementing hook_mail_alter, but I shouldn't have to do this.
Comments
Comment #1
jose reyero commentedYou can override it using _message_alter() and setting the headers in $message->params['mail']['headers']
I hope this will do, let me know if you need anything else