Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$message->getAttachments() doesn't recognize some attachments #74

Closed
foxycode opened this issue Feb 15, 2015 · 6 comments
Closed

$message->getAttachments() doesn't recognize some attachments #74

foxycode opened this issue Feb 15, 2015 · 6 comments
Labels
Milestone

Comments

@foxycode
Copy link

Delivered-To: [email protected]
Received: by 10.202.195.68 with SMTP id t65csp871342oif;
        Sun, 15 Feb 2015 02:21:54 -0800 (PST)
X-Received: by 10.236.209.35 with SMTP id r23mr13006152yho.26.1423995713978;
        Sun, 15 Feb 2015 02:21:53 -0800 (PST)
Return-Path: <[email protected]>
Received: from mail-yk0-x245.google.com (mail-yk0-x245.google.com. [2607:f8b0:4002:c07::245])
        by mx.google.com with ESMTPS id h70si1767496yhq.9.2015.02.15.02.21.52
        for <[email protected]>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 15 Feb 2015 02:21:53 -0800 (PST)
Received-SPF: pass (google.com: domain of [email protected] designates 2607:f8b0:4002:c07::245 as permitted sender) client-ip=2607:f8b0:4002:c07::245;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of [email protected] designates 2607:f8b0:4002:c07::245 as permitted sender) [email protected];
       dkim=pass [email protected]
Received: by mail-yk0-f197.google.com with SMTP id 19sf76654028ykq.0
        for <[email protected]>; Sun, 15 Feb 2015 02:21:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=yyy.cz; s=google;
        h=sender:mime-version:message-id:date:subject:from:to:content-type
         :content-disposition:content-transfer-encoding:x-original-sender
         :x-original-authentication-results:precedence:mailing-list:list-id
         :list-help:reply-to;
        bh=CplHfCqscVv63ZCvirQ+kOAnaGy+fQ75nMYfE7lYq9k=;
        b=DPypTwmlwUGYaPk2qqgJqjKDY8Ep3k9qefc6KQQC86Eah/OGM/Garig6jT13iLwyET
         FtYsvRn2T8w64BnJyOPecm78M8L2huzBewNvoelkeWJ/iOy7Q6aBvs6QRfSlofEj5h6J
         fY+smO5ygB3vV83l940XlOny+DBIqVpOEbMHY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=sender:x-gm-message-state:mime-version:message-id:date:subject:from
         :to:content-type:content-disposition:content-transfer-encoding
         :x-original-sender:x-original-authentication-results:precedence
         :mailing-list:list-id:list-help:reply-to;
        bh=CplHfCqscVv63ZCvirQ+kOAnaGy+fQ75nMYfE7lYq9k=;
        b=PsyED0jEeSUp2AIAVSDPml90JG3aUJohwjIW25jlclqk1URF/aE8cqXQ18ZRXb+aN0
         NrQMYWpzaTH7Lhm8P4zhx4RwSpg/5ARF3DcBn1sq3pvrbyq+EPb8VVCRaNzFfBDgvyhy
         PzjAOcj+ePn5JHgF72Vcwe1otXzrNjdwmOlac8InvAXB7o3m9BJSJDRXDr1njey6nTrs
         rxkRG/m00hudFhUfS8mIOcBDzRQlxhv2Qyieqx9MOD5GWx3yahNIdOlxGMp2aKygIjdi
         Ido74o8k7Toxg9+i8ezRe0u2PPPXKvcvS6C3jfDFur3itznWrigANhKx72579XfwwUG5
         hBGw==
Sender: [email protected]
X-Gm-Message-State: ALoCoQk7KfRa8eCPbeV/RdlsyKq6gQuK7klaYSAFQPzgRNVhuflMuZp/M0VpRUca9zwJDjYrEv/u
X-Received: by 10.236.36.39 with SMTP id v27mr16650675yha.24.1423995712566;
        Sun, 15 Feb 2015 02:21:52 -0800 (PST)
X-BeenThere: [email protected]
Received: by 10.107.170.129 with SMTP id g1ls1295636ioj.69.gmail; Sun, 15 Feb
 2015 02:21:52 -0800 (PST)
X-Received: by 10.107.168.207 with SMTP id e76mr22648201ioj.60.1423995712409;
        Sun, 15 Feb 2015 02:21:52 -0800 (PST)
Received: from mail-ie0-f201.google.com (mail-ie0-f201.google.com. [209.85.223.201])
        by mx.google.com with ESMTPS id s10si8220288igg.4.2015.02.15.02.21.52
        for <[email protected]>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 15 Feb 2015 02:21:52 -0800 (PST)
Received-SPF: pass (google.com: domain of [email protected] designates 209.85.223.201 as permitted sender) client-ip=209.85.223.201;
Received: by iecrl12 with SMTP id rl12so7777265iec.0
        for <[email protected]>; Sun, 15 Feb 2015 02:21:52 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.182.50.161 with SMTP id d1mr16824193obo.28.1423995711904;
 Sun, 15 Feb 2015 02:21:51 -0800 (PST)
Message-ID: <[email protected]>
Date: Sun, 15 Feb 2015 10:21:51 +0000
Subject: Report domain: yyy.cz Submitter: google.com Report-ID: 2244696771454641389
From: noreply-dmarc-support via xxx <[email protected]>
To: [email protected]
Content-Type: application/zip; 
    name="google.com!yyy.cz!1423872000!1423958399.zip"
Content-Disposition: attachment; 
    filename="google.com!yyy.cz!1423872000!1423958399.zip"
Content-Transfer-Encoding: base64
X-Original-Sender: [email protected]
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of [email protected] designates 209.85.223.201 as
 permitted sender) [email protected];       dkim=pass
 [email protected];       dmarc=pass (p=REJECT dis=NONE) header.from=google.com
Precedence: list
Mailing-list: list [email protected]; contact [email protected]
List-ID: <xxx.yyy.cz>
X-Google-Group-Id: 98899750969
List-Help: <http://support.google.com/a/yyy.cz/bin/topic.py&topic=25838>, <mailto:[email protected]>
X-Original-From: [email protected]
Reply-To: [email protected]

UEsDBAoAAAAIABRPT0bdJB+DSwIAALgKAAAuAAAAZ29vZ2xlLmNvbSFzdW5mb3guY3ohMTQyMzg3
MjAwMCExNDIzOTU4Mzk5LnhtbO1WwY6bMBC971dEuQcDIQSQQ3rqF7RnZIwh7oJt2WY32a+viQ2h
u9moqnarqOop8Gbmjd/4OQbuj127eCJSUc52y8DzlwvCMK8oa3bL79++rpLlYp8/wJqQqkT4MX9Y
LKAkgktddESjCmk0YAblsikY6kjecN60xMO8g2ACbQ7pEG1zxg1De1pVHZJ4pXox0H2Zl9k8V3PU
EhWYM42wLiireX7QWmQAuErvUgkQKCkDiKlnIj1x2tunXRjF8SbxDfFbMtvFaaJVHoZRFKfxdhtE
myiOgnWSQnAJ23SjmxQSscYpM1BJGsryIArXyTb0fdPMImOcsOocTTfJOjWUw7slA7+yTd3mA4aC
txSfCtGXLVUHMi2Em1GxXPVGytHDL4bMIjaMqkfa5RIC++BAJeozNvxaSOSS/CBYQyAcoi6QGjGB
dR4MyoaH80qvrcrMEnM5LlDy52kEivcSk4KKPIz9bVYnpZ9Fvr/OsB9kWbgOTa8pZSzCvGemLQT2
YYRdZ/KE2t6MrxoDw0yoElxRbTxtvMaImckMmeUNIxFIKZMwTceJr11gGtFM7aueZr9GjZBWhGla
U3OiprIDQRWRRS15N9+nOex43lRD1OtDIYnqW30hfLXY2xZw7h4YnCT3Mqma08GZ3g+gvhgMvFYy
JI82+R3HpL4XbDdesIm84SB/tE9Gr99wSm3+k646xQbu0Sl/uptW0Sfu5tXzH6b3dP7vd1f/+vl/
KU83eRnpzbX6uY5JzMeJZ25PLwji920S/r8m/tVrAoLLR+hPUEsBAgoACgAAAAgAFE9PRt0kH4NL
AgAAuAoAAC4AAAAAAAAAAAAAAAAAAAAAAGdvb2dsZS5jb20hc3VuZm94LmN6ITE0MjM4NzIwMDAh
MTQyMzk1ODM5OS54bWxQSwUGAAAAAAEAAQBcAAAAlwIAAAAA
@ddeboer ddeboer added this to the 1.0 milestone Feb 16, 2015
@JRawly
Copy link

JRawly commented Apr 2, 2015

In the past, I have used the helpful information on http://www.electrictoolbox.com/php-imap-message-body-attachments/ to be able to obtain the attachments that are "Inline" or sent using an odd email format (such as from Apple mail)

@harjeevan360
Copy link

Is $message->getAttachments() implemented yet or not ?

@JRawly
Copy link

JRawly commented Sep 16, 2015

Unfortunately we had to go with a different library for our application - https://github.com/barbushin/php-imap

@harjeevan360
Copy link

Hi JRawly,

Thank you for the reference.

@pedrosoares
Copy link

I fix that in this fork. https://github.com/pedrosoares/imap

@Slamdunk
Copy link
Collaborator

Fixed in #140 thank you for your feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants