Closed dkalliv closed 3 years ago
Can you view the message source? You can view the raw data of message from web browser in PC. Please remove the private data from message source and post it here. I want to check what's the problem in that message.
Below I've attached the message source of the particular message, however no messages retrieved from this provider seem to work...
Return-Path: 2xx@xxxxxxxxxxxx.xx Received: from [212.51.135.9] (account 2xx@xxxxxxxxxxxx.xx) by xxxxxxxxxxxx.xx (CommuniGate Pro XIMSS 6.2.15) with HTTPU id 161881748 for 3xx@xxxxxxxxxxxx.xx; Sun, 27 Dec 2020 22:42:28 +0100 X-Mailer: CommuniGate Pronto! HTML5 6.2.4612 Subject: test 5 MIME-Version: 1.0 From: 2xx@xxxxxxxxxxxx.xx To: "3xx@xxxxxxxxxxxx.xx" 3xx@xxxxxxxxxxxx.xx Date: Sun, 27 Dec 2020 22:42:28 +0100 Message-ID: ximss-161881787@switchplus-mail.ch Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit
tst
It should be completed. Is it completed?
It is complete, it's rather short, since it is sent from another account on the same mailserver. Below is an example sent from a different mailserver (same problem). I extracted the message source with Thunderbird, as I don't know how to do it with the browser...
Return-Path: xxxx@xxxxxxxxxx.xx Received: from malta.iway.ch ([212.25.24.40] verified) by switchplus-mail.ch (CommuniGate Pro SMTP 6.2.15) with ESMTP id 161943087 for xxx@xxxxxxxxxxxxx.xx; Mon, 28 Dec 2020 13:10:11 +0100 Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 9A1D720017B for xxx@xxxxxxxxxxxxx.xx; Mon, 28 Dec 2020 13:10:11 +0100 (CET) X-Virus-Scanned: iway amavisd-new at malta.iway.ch X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled X-Spam-Report:
This is a multipart message in MIME format.
------=_NextPart_000_0001_01D6DD1A.C267F790 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit
tst (lazy form of test)
------=_NextPart_000_0001_01D6DD1A.C267F790 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40">
<META = HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 = (filtered medium)"><body lang=3DDE-CH = link=3D"#0563C1" vlink=3D"#954F72" style=3D'word-wrap:break-word'>tst (lazy form of =
test)
Hi mobizt, I'm not sure if I'm missing something, but when receiving messages via IMAP, I can't get any properties populated apart from msg.msgNo and msg.UID. I tried using an ESP32 and ESP8266 (Wemos D1 Mini) with the Read_Single_Email example and library Version 1.0.8. Interestingly debug (333) outputs all the properties (see console output below). With your old library (ESP32-Mail-Client) I am able to access all the properties, but I would like to use the new library. Any help would be greatly appreciated.
Kind regards
Dkalliv
Connecting to IMAP server...
Get the capability...
Logging in...
Reading the list of mailboxes...
Available folders: INBOX
Selecting the INBOX folder...
Info of the selected folder Total Messages: 5 Predicted next UID: 6 Flags: \Answered, \Flagged, \Deleted, \Seen, \Draft, $MDNSent, $Hidden, $Media, $Forwarded, Junk, $Label1, $Label2, $Label3
Fetching message 1, UID: 5
Downloading messages...
Saving message header to file...
Logging out...
Message fetch cmpleted
################################ Messsage Number: 1 Messsage UID: 5 Messsage ID: Accept Language: Content Language: From: From Charset: To: To Charset: CC: CC Charset: Date: Subject: Subject Charset: Text Message: tst Text Message Charset: utf-8 Text Message Transfer Encoding: 8bit HTML Message: HTML Message Charset: HTML Message Transfer Encoding:
Free Heap: 260020