Quantcast
Channel: imapx Discussions Rss Feed
Viewing all 1144 articles
Browse latest View live

New Post: Download Message Body

$
0
0
Thanks for the answer @RGEN now all is Working fine, but I got an Exception here:
string body = aMessage.Body.HasHtml ? aMessage.Body.Html : aMessage.Body.Text;
This Only happens with the Password Recovery Email that is sent by StackOverflow (The Q&A website)
The Exception says:
System.FormatException: The input is not a valid Base64 string that contains a character that is not Base 64, more than two padding characters, or an invalid character among the padding characters.
Maybe a library bug?

New Post: When ever I try to refresh the inbox I get errors

$
0
0
On some messages I get this error: IMAPX222 NO Some messages could not be FETCHed (Failure)

With other messages the body is blank.

I few will have the body.

Even If I disconnect and reconnect the errors persist. I must close the app and restart to get the inbox working fully. What is wrong?


I created a refresh button that in part executes the below code, and subsequently repopulates the listview.

VB CODE:

For Each imapFolder In Client.Folders
    imapFolder.Messages.Download(, MessageFetchMode.Minimal)
Next
Is this the best way to do this?

New Post: Messages not deleting

$
0
0
I try to permanently delete messages but most of the time they do not delete. I've been testing with a google account.

code
message.Remove()

New Post: When ever I try to refresh the inbox I get errors

$
0
0
I am now getting this error - IMAPX8 BAD UID FETCH not allowed now.

I would appreciate any help.

Thank you

New Post: When ever I try to refresh the inbox I get errors

$
0
0
I was using this configuration
        IMAP.Behavior.FolderTreeBrowseMode = FolderTreeBrowseMode.Full
        IMAP.Behavior.AutoPopulateFolderMessages = True
I just added this
        IMAP.Behavior.AutoDownloadBodyOnAccess = True
I view a few messages in the inbox, then changed folder and viewed messages from important.
When I switch back to the Inbox and select a message, I then get the following error.

IMAPX68 NO Some messages could not be FETCHed (Failure)

other times I get the below but no body
IMAPX155 OK UID FETCH completed

New Post: Messages not deleting

$
0
0
Hi RGEN,

I assume that the folder is read-only. Can you check if the method returns true or false? If it is false, best if you can provide a log as described in the documentation.

Greets,

Pavel

New Post: When ever I try to refresh the inbox I get errors

$
0
0
Hi RGEN,

can you give me more details about the server you are connecting to? You seem to have some restrictions, or some IMAP commands are not supported.

Greets,

Pavel

New Post: Get Inbox to show new messages


New Post: Imapx exception- outofmemoryException

$
0
0
Hi donza,

Thank you, I will check it!

Greets,

Pavel

New Post: Announcment: ImapX 2.0.0.17

$
0
0
Hey guys,

sorry for the delay, there was a bunch of things to do. I will update the Nuget package as well as the binaries this Sunday.

Greets,

Pavel

New Post: When ever I try to refresh the inbox I get errors

$
0
0
First, Thank You for getting back to me. The work I'm doing with IMAPX is very important to me.
I really appreciate your help.


I'm testing with both gmail and yahoo. These issue occur with both.

New Post: Messages not deleting

$
0
0
Hi Pavel,

Thanks for getting back to me. May I send you my logs privately? I do not with to post them here.

Thanks,

RGEN

New Post: Announcment: ImapX 2.0.0.17

New Post: Get Inbox to show new messages

$
0
0
VB CODE:
Private Sub RefreshMailFolders(ByVal eAcc As EmailAccount)   '######## RefreshMailFolders '########
    Dim imapFolder As ImapX.Folder
    On Error Resume Next
    For Each imapFolder In eAcc.IMAP.Folders
        imapFolder.Messages.Download(, MessageFetchMode.Minimal)
    Next
    RefreshMailFoldersComplete(eAcc.MailAdress)
End Sub
I have disabled the above code as a method for checking for new messages I will attempt to get idle functionality working.

Despite this change, I am still getting blank messages(bodies) under the following circumstances:

1) I view some but not all messages from the INBOX
VB CODE:
Private Sub PreviewImapMessage(ByVal mess As ImapX.Message)
    'mess.Download(MessageFetchMode.Full)
    'set WebBrowser DocumentText 
    wbMail.DocumentText = If(mess.Body.HasHtml, mess.Body.Html, mess.Body.Text)
    'Headers in label
    Dim i As Integer = 0
    Dim Header As Object
    For Each Header In mess.Headers
        LabelHeaders.Text = LabelHeaders.Text & " " & mess.Headers.Item(mess.Headers.Keys(i))
        i = i + 1
    Next
End Sub
2) I view messages from any folder other then INBOX , then return to view previously unseen messages from INBOX

3) Some of these messages will be blank, If instead I close app and restart app and just attempt to view only messages from INBOX all messages will have their bodies.

New Post: When ever I try to refresh the inbox I get errors

$
0
0
I have stoped useing AutoPopulateFolderMessages and AutoDownloadBodyOnAccess, and instead I'm downloading the folder contents for a given folder just before it is populated to a listview. Things seem to be working now.

New Post: Get Inbox to show new messages

$
0
0
I have stoped useing AutoPopulateFolderMessages and AutoDownloadBodyOnAccess, and instead I'm downloading the folder contents for a given folder just before it is populated to a listview. Things seem to be working now.

New Post: When ever I try to refresh the inbox I get errors

$
0
0
I decided to try imapFolder.Messages.Download(MessageFetchMode.Minimal), instead of basic or full, when I load the folders and then execute the below code each time a message is selected in the listview.

If isNothing(Message.body) then Message.Download(MessageFetchMode.body)

This was a failure, the intermittent blank messages returned. I am forced to conclude that messages must be downloaded using, imapFolder.Messages.Download(), and that Message.Download() and AutoDownloadBodyOnAccess are buggy.

New Post: Messages not deleting

$
0
0
Hi Pavel,

With both Google and Yahoo MsgBox(message.Remove()) returns True.

With Google message.MoveTo(IMAP.Folders.Trash) works, however message.Remove() does not remove it from the trash.

With Yahoo neither works.

Thanks,

RGEN

New Post: Announcment: ImapX 2.0.0.17

$
0
0
pavel_azanov wrote:
Hey guys,

sorry for the delay, there was a bunch of things to do. I will update the Nuget package as well as the binaries this Sunday.

Greets,

Pavel
So Pavel, there was no update right? :-(

New Post: Announcment: ImapX 2.0.0.17

Viewing all 1144 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>