I'm using a parsing service and we get the following headers string when an email is received:
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_NextPart_000_00EB_01CCE26A.183F8AD0"
X-Mailer: Microsoft Office Outlook 12.0
Unfortunately i'm weak at regex and wondering how to extract the boundary and content type to end up with just:
[:content_type] => multipart/mixed
[:boundary] => ----=_NextPart_000_00EB_01CCE26A.183F8AD0