Please excuse the fact I'm probably asking a simple question however I cannot seam to find a solution to my problem.
I am trying to send an email via a POST to a 3rd party, the 3rd party will let me send SUBJECT, RECIPETANTS and HTML BODY. what I would like to do is add to send attachments, from my research it is possible to do this with BASE64 and using a MULTIPART MIME however I really cant find any up to date and clear info.
I guess what I am asking for is some expert opinion on the best way to accomplish an email with non-inline attachments within my given limitations
this is what I have tried
Content-Type: multipart/mixed; boundary=047d7b41cc5c82ae5d051712c40c
--047d7b41cc5c82ae5d051712c40c Content-Type: text/plain; charset=UTF-8
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque odio urna, bibendum eu ultricies in, dignissim in magna. Vivamus risus justo, viverra sed dapibus eu, laoreet eget erat. Sed pretium a urna id pulvinar. Best regards
--047d7b41cc5c82ae5d051712c40c
Content-Type: image/.pdf; name="Job Quote for $2,122.26 by SalesTechPro " Content-Disposition: attachment; filename="Job Quote for $2,122.26 by SalesTechPro ..pdf" Content-Transfer-Encoding: base64 X-Attachment-Id: a1e95393-bf80-4844-991a-f41ef177662b
JVBERi0xLjUKMyAwIG9iago8PC9UeXBlIC9QYWdlCi9QYXJlbnQgMSAwIFIKL01lZGlhQm94IFswIDAgNTk1LjAwIDg0Mi4wMF0KL1Jlc291cmNlcyAyIDAgUgovQ29udGVudHMgNCAwIFI+Pgplbm(lots of letters) MDAxMDg2NCAwMDAwMCBuIAowMDAwMDExNDA5IDAwMDAwIG4gCjAwMDAwMTE0MjkgMDAwMDAgbiAKMDAwMDAxMTU1NSAwMDAwMCBuIAowMDAwMDExNjMxIDAwMDAwIG4gCnRyYWlsZXIKPDwKL1NpemUgMjAKL1Jvb3QgMTkgMCBSCi9JbmZvIDE4IDAgUgo+PgpzdGFydHhyZWYKMTE3MzUKJSVFT0YK --047d7b41cc5c82ae5d051712c40c--