7365079332& quot content type. text html, text plain. no x-mailer, & quot
Mar 17, 2015 . Set both the // Content-Type header, and the format (Swiftmailer) and plain (Mime Mail) //params. $message['headers']['Content-Type'] = 'text/html; charset=UTF-8'; $message['params']['format'] = 'text/html'; $message['params']['plain'] = NULL; // Provide a plain text version, both in params][plaintext (Mime . Mar 3, 2016 . Even without swiftmailer, we can test these properties. Have a look at how the core contact.module uses drupalGetMail() in its tests to get "sent" mails. We can assert that the body there contains the expected HTML, and that the content type header is set/not set as expected. I think we should do the template . Jun 7, 2017 . The Content-Type entity header is used to indicate the media type of the resource .. Syntax. Content-Type: text/html; charset=utf-8 Content-Type: multipart/form- data; boundary=something. RFC 7231, section 3.1.1.5: Content-Type, Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content . Nov 16, 2012 . swagger-ui - Swagger UI is a collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API. The primary subtype of text is "plain". This indicates plain (unformatted) text. The default Content-Type for Internet mail is "text/plain; charset=us-ascii". Beyond plain text, there are many formats for representing what might be known as " extended text" -- text with embedded formatting and presentation information.