Multipart messages are created implicitly when there are at least two of any combination of payload and attachments. The default Content-Type sent is multipart/mixed unless a multipart Content-Type header is defined in the
message. An explicit Content-Type header of type multipart/form-data changes the behavior to emulate an HTML form submission. In this case all
parameters in the payload are treated as HTML INPUT parameters, and attachments are treated as files.