login about faq

Hello,

When calling the UnpackHtml method on certain emails, I get a failure message. Not setting ckx-imap-attach* headers because this is a full email

What does this mean please?

Update Error log below

2014-07-01 14:40:56.806 MSGViewer[902:60b] ChilkatLog:
  FetchSingle:
    DllDate: May  1 2014
    ChilkatVersion: 9.5.0.37
    UnlockPrefix: Anything for 30-day trial
    Architecture: Little Endian; 32-bit
    Language: IOS Objective-C
    VerboseLogging: 1
    msgId: 9856
    bUid: 1
    autoDownloadAttachments: 1
    fetchSingleEmailObject:
      msgId: 9856
      isUid: 1
      fetchSingleComplete:
        autoDownloadAttachments: 1
        fetchComplete:
          autoDownloadAttachments: 1
          fetchCompleteA:
            fetchCommand: aacd UID FETCH 9856 (FLAGS INTERNALDATE BODY.PEEK[])
            ImapCmdSent: aacd UID FETCH 9856 (FLAGS INTERNALDATE BODY.PEEK[])
            sendCommand: Elapsed time: 0 millisec
            getCompleteFetchResponse:
              ImapCmdResp: * 7830 FETCH (UID 9856 INTERNALDATE "01-Jul-2014 01:52:31 +0000" FLAGS () BODY[] {4282}
              flagsAndSizeData: * 7830 FETCH (UID 9856 INTERNALDATE "01-Jul-2014 01:52:31 +0000" FLAGS () BODY[] {4282}
              flags: 
              msgSize: 4282
              isSsl: 1
              ImapCmdResp: (4282 bytes)
              receiveMessageData: Elapsed time: 172 millisec
              Finished receiving MIME.
              ImapCmdResp: )
              ImapCmdResp: aacd OK Success
              receiveRemainder: Elapsed time: 0 millisec
            --getCompleteFetchResponse
          --fetchCompleteA
        --fetchComplete
      --fetchSingleComplete
      fetchSingleComplete: Elapsed time: 2417 millisec
      createFromMimeText:
        createFromMimeObject:
          unwrapSecurity:
            FromHeader: HiFX <info@hifx.com.au>
            ToHeader: brisbane@gmail.com
          --unwrapSecurity
          Setting email body (A)
        --createFromMimeObject
      --createFromMimeText
      ckx-imap-internaldate: 01-Jul-2014 01:52:31 +0000
      ckx-imap-uid: 9856
      ckx-imap-isUid: YES
      Not setting ckx-imap-attach* headers because this is a full email..
      parseMime: Elapsed time: 2 millisec
    --fetchSingleEmailObject
    Success.
  --FetchSingle
--ChilkatLog

asked Jun 26 '14 at 00:07

Mark1973's gravatar image

Mark1973
1123

edited Jul 01 '14 at 01:08


The "not setting ckx-imap-attach*" headers are only informational. If a full email exists, then it includes the attachments and the attachment information is available in the email itself.

If UnpackHtml failed, then it's because of some other reason. I would recommend posting the full contents of the LastErrorText here.

PS> Make sure to encapsulate the LastErrorText in "pre" tags to make it readable.

link

answered Jun 27 '14 at 13:15

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

The email is a plain text email - that was the problem :)

UnpackHtml fails and returns Success No

link

answered Jul 01 '14 at 01:10

Mark1973's gravatar image

Mark1973
1123

If UnpackHtml returned a failed status, look at the LastErrorText for the call to UnpackHtml.

What is shown above is the LastErrorText for the call to FetchSingle. The name of the method call is the first thing shown:

2014-07-01 14:40:56.806 MSGViewer[902:60b] ChilkatLog:
  **FetchSingle:**
    DllDate: May  1 2014
    ChilkatVersion: 9.5.0.37
    ...
    
link

answered Jul 02 '14 at 08:32

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: Jun 26 '14 at 00:07

Seen: 8,645 times

Last updated: Jul 02 '14 at 08:32

Related questions

powered by OSQA