日期:2014-05-16  浏览次数:20434 次

坐等大侠,Mail_mimeDecode 怎么使用,希望用过这个类的朋友指点下
构造函数的时候不知道该怎么传这个参数,怎么传都没有解出内容来
$mailhandle = new Mail_mimeDecode($intput);

下面是获取到的邮件的header和body
Array
(
    [0] => Delivered-To: beizidream@gmail.com
    [1] => Received: by 10.194.118.165 with SMTP id kn5csp54354wjb;        Sun, 18 Aug 2013 16:02:50 -0700 (PDT)
    [2] => Return-Path: <3mVIRUgcLChoDEH4FBOOEKJK14.2EC148P83H40C6C08B.2EC@youtube-subscriptions.bounces.google.com>
    [3] => Received-SPF: pass (google.com: domain of 3mVIRUgcLChoDEH4FBOOEKJK14.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 SMTP id l6mr6351416icm.12.1376866970755 (num_hops = 1);        Sun, 18 Aug 2013 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 with SMTP id l6mr4798207icm.12.1376866969820; Sun, 18 Aug 2013 16:02:49 -0700 (PDT)
    [9] => List-Unsubscribe: <http://www.youtube.com/email_unsubscribe?uid=kRXgrwCG_Dm3jiwgQAd57A&action_unsubscribe=obHjTl_QJfjCuVOTnVZ-xVMYjNN8MTM3Njg2Njk2OUAxMzc2ODY2OTY5&feature=em-subs_digest>
    [10] => Message-ID: <90e6ba614c92a39e3904e440d28d@google.com>
    [11] => Date: Sun, 18 Aug 2013 23:02:49 +0000
    [12] => Subject: =?GB2312?Q?Adrian_Crensha