Wait for the hero, Mail_mimedecode how to use, hope to use this kind of friend pointing under

Source: Internet
Author: User
The constructor does not know how to pass this parameter, how to pass the content is not solved to
$mailhandle = new Mail_mimedecode ($intput);

Here is the header and body of the message obtained
Array ([0] = delivered-to:beizidream@gmail.com [1] = Received:by 10.194.118.165 with SMTP ID KN5CSP54354WJ        b Sun, 16:02:50-0700 (PDT) [2] = Return-path: <3mvirugclchodeh4fbooekjk14.2ec148p83h40c6c08b.2ec@yout ube-subscriptions.bounces.google.com> [3] = Received-spf:pass (Google.com:domain of 3MVIRUGCLCHODEH4FBOOEKJK1 4.2EC148P83H40C6C08B.2EC@youtube-subscriptions.bounces.google.com designates 10.42.90.198 as permitted sender)       client-ip=10.42.90.198 [4] = authentication-results:mr.google.com; Spf=pass (Google.com:domain of 3mvirugclchodeh4fbooekjk14.2ec148p83h40c6c08b.2ec@ Youtube-subscriptions.bounces.google.com designates 10.42.90.198 as permitted sender) smtp.mail=       3mVIRUgcLChoDEH4FBOOEKJK14.2EC148P83H40C6C08B.2EC@youtube-subscriptions.bounces.google.com; Dkim=pass header.i= @youtube. com [5] = X-received:from mr.google.com ([10.42.90.198]) by 10.42.90.198 with S MTP ID l6mr6351416icm.12.1376866970755 (num_hops = 1); Sun, 16:02:50-0700 (PDT) [6] = dkim-signature:v=1; a=rsa-sha256;        c=relaxed/relaxed; d=youtube.com;        s=20120806;        H=mime-version:list-unsubscribe:message-id:date:subject:from:to:content-type;        Bh=n7pitutrj87at0nzcjsajq42dci0/odbahsrnckq8me=; B=L514LLILXAWGLDKCZFGLFD9P1XL0RKPLZR5BR9IUL4PWNKT2YPCU6FVTBK/6HPA3CB svmh0wnwesx+ S15IFT8NNL8SPFVV77JODGEN74G315TBB5G07C97IJIZPGDZ3T1Y56ZR qzo4h0wkrl4fdnk/ hxuntbuetnjgfivc98094qxihg48rrzbeemoy696xx0osndrx4cc 6+ slhsgqvtzjz4hzx09f56lgtowvu05hwuq5iew2oelfbkettcsikwstguzq36lz/pvw/ryibbavitih7uii6/h6ihyn3fi73wqvtdrf/ Wu0zuql8j0o/nbovyhccc5uuns/ktos w56w== [7] = mime-version:1.0 [8] = X-received:by 10.42.90.198 wit h SMTP ID l6mr4798207icm.12.1376866969820;  Sun, 16:02:49-0700 (PDT) [9] = List-unsubscribe:
 
  
    [Ten] = Message-id: <90e6ba614c92a39e3904e440d28d@google.com> [One] = Date:sun, 2013 23:02:49 +0000 [] = Subject: =? GB2312? Q? adrian_crenshaw=a3=bacharacter_assassination_animation_?==? GB2312?  q?test=0d=0a?= [] = From:youtube
  
   
    [+] = To:zi Bei 
    
     [] = content-type:multipart/alternative; boundary=90e6ba614c92a39e3004 e440d28a) Array ([0] =--001a11c255345c277404e49f0c1b [1] = content-type:text/plain; charset=gb2312; format =flowed; Delsp=yes [2] = content-transfer-encoding:base64 [3] = [4] = = Sb7w3cbhb29nbgurimjiw8xqxc+idqoncrlpv7 tiympf0mxpoiagdqpodhrwczovl3bsdxmuz29v [5] = = Z2xllmnvbs9fl25vdglmawnhdglvbnmvzw1saw5rp2vtcj0xmtuymjc3mzi2mdc0otq1mjc3nizl [6] = = BWLKPUNKQ2S0T0X3AZDRQ0ZJBEFNUW9KNVCWQUFBJNBHDGG9JTJGZXHWBG9YZSZKDD0XMZC3MJCX [7] = = NJY1MTA5JNVIPTM3DQONCI0TLS0TLS0TLS0TLS0TLS0TLS0TLS0TLQ0KDQQ4/LJER29VZ2XLK7VH [8] = z/ LE47EIY83EXNCPTEFX09PKIA0KVP6JUMH0DHBZOI8VCGX1CY5NB29NBGUUY29TL18VBM90AWZP [9] = y2f0aw9ucy9lbwxpbms/ ZW1YPTEXNTIYNZCZMJYWNZQ5NDUYNZC2JMVTAWQ9Q0PDAZRPTHDRN2TD)
     

   
  
 


Reply to discussion (solution)

"Extracting the message body with the Mail_mimedecode class"

Your own analysis can also

$ar = Array (    ' sb7w3cbhb29nbgurimjiw8xqxc+idqoncrlpv7tiympf0mxpoiagdqpodhrwczovl3bsdxmuz29v ',    ' Z2xllmnvbs9fl25vdglmawnhdglvbnmvzw1saw5rp2vtcj0xmtuymjc3mzi2mdc0otq1mjc3nizl ',    ' Bwlkpunkq2s0t0x3azdrq0zjbefnuw9knvcwqufbjnbhdgg9jtjgzxhwbg9yzszkdd0xmzc3mjcx ',    ' NJY1MTA5JNVIPTM3DQONCI0TLS0TLS0TLS0TLS0TLS0TLS0TLS0TLQ0KDQQ4/LJER29VZ2XLK7VH ',    ' z/ Le47eiy83exncptefx09pkia0kvp6jumh0dhbzoi8vcgx1cy5nb29nbguuy29tl18vbm90awzp ',    ' y2f0aw9ucy9lbwxpbms/ Zw1yptexntiynzczmjywnzq5nduynzc2jmvtawq9q0pdazrpthdrn2td ',); $r = Array_map (' Base64_decode ', $ar); Echo Join (', $r);
Google + Hot news this week

View popular Information
Https://plus.google.com/_/notifications/emlink?emr=11522773260749452776&emid=CJCk4OLwk7kCFclAMQod5W0AAA &path=%2fexplore&dt=1377271665109&ub=37

------------------------

Change which e-mail Google + will send to you
Pieces: Https://plus.google.com/_/notifications/emlink?emr=11522773260749452776&emid=CJCk4OLwk7kC

Thank you, online article for two days, looked for several classes, no one can debug through.

I guess I have to analyze it myself.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.