multipart 메일의 구조

[0] => javax.mail.internet.MimeBodyPart@4188af58 [0:ContentType] => multipart/alternative; boundary=047d7b15b0d3eb14f604dd81782d [0:DataHandler] => javax.activation.DataHandler@41855fa0 [0:FileName] => null [0:Content] => javax.mail.internet.MimeMultipart@41829c58 [0:0] => javax.mail.internet.MimeBodyPart@41740fd0 [0:0:ContentType] => text/plain; charset=UTF-8 [0:0:DataHandler] => javax.activation.DataHandler@4173cb10 [0:0:FileName] => null [0:0:Content] => 실제 메일 본문 [0:1] => javax.mail.internet.MimeBodyPart@41740a10 [0:1:ContentType] => text/html; charset=UTF-8 [0:1:DataHandler] => javax.activation.DataHandler@41817c08 [0:1:FileName] => null [0:1:Content] => <div dir=”ltr”>실제 메일 본문</div> [1] => javax.mail.internet.MimeBodyPart@4187fdb0 [1:ContentType] => text/xml; charset=US-ASCII; name=”log4j.xml” [1:DataHandler] => javax.activation.DataHandler@417dbcf0 [1:FileName] => log4j.xml [1:Content] => <?xml version=”1.0″ encoding=”UTF-8″ ?><!DOCTYPE log4j:configuration SYSTEM “log4j.dtd”><log4j:configuration xmlns:log4j=”http://jakarta.apache.org/log4j/”></log4j:configuration> [2] => javax.mail.internet.MimeBodyPart@41868dd0 [2:ContentType] => application/pdf; name=”=?UTF-8?B?5Y2w5Yi3IC0gY2xvdWQucGRm?=” [2:DataHandler] => javax.activation.DataHandler@418f7270 [2:FileName] => =?UTF-8?B?5Y2w5Yi3IC0gY2xvdWQucGRm?= [2:Content] => com.sun.mail.util.BASE64DecoderStream@418693f0 ]]>

Related Posts