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

New Post: create email address using ImapX for private domain

$
0
0
My Requirement is to Create Email Address Dynamically from C# Code, so Do you have any solution for that ?

New Post: create email address using ImapX for private domain

New Post: imap without ssl with port 143

$
0
0
what do you mean by "could not access any messages"? You are opening the Trash and INBOX folders as read-only, which means you won't be able to change any flags if that's what you mean.

New Post: Announcment: ImapX 2.0.0.17

$
0
0
Does the Nuget package have all the changes made to the code since May 2014? I see that version 2.0.0.16 was released in May 2014 and there were multiple fixes since then, and was wondering if they ever made to Nuget? If not, do I have to get the Source from codeplex and compile it or is there an easier way?

New Post: Announcment: ImapX 2.0.0.17

$
0
0
I think the idea was that 2.0.0.17 would have all of the fixes since May of 2014, but it hasn't been released yet, so the current NuGet package does not contain those fixes.

New Post: Announcment: ImapX 2.0.0.17

$
0
0
Hi guys,

I am really sorry, but my schedule has been pretty tight the past months. I will have a holiday starting from Saturday, which means there finally will be time for my own projects and of course ImapX :)


Be patient,

Greets,

Pavel

New Post: imap without ssl with port 143

$
0
0
Hi makarti,

from your log, I do not see that you have tried to access any messages. It only contains the folder listing which is done after a successful login. Can you provide the full log and the piece of code you are using?


Greets,

Pavel

New Post: ImapX.Message.Body.Text - problem with content

$
0
0
Hi,
I have a small problem with ImapX.Message.Body.Text.
When I run the app on my computer is contains the string i would expect while on the other computer - for the same message - it contains same "extra information". For example it statrs with:
"ENVELOPE (".....
and within "plain content" of the message threre are some informaiton from message header probably.

How to get rid of this "extra inforamation" from the ImapX.Message.Body.Text?
Help, please! :-)
Thanks in advance!

New Post: Can't connect to any mail server

$
0
0
I am using the binary for .net 4.5 (downloaded 2.0.0.16) and I am not able to connect to neither one of the two servers I tried (POP or IMAP). My code is like this:
using (ImapX.ImapClient client = new ImapX.ImapClient(Server, Port, false))
                {
                    if (client.Connect())
                    {
                        if (client.Login(email, decryptedPassword))
                        {
                            // Do
                        }
                        else
                        {
                            // Login credentials failed
                            throw new ImapX.Exceptions.OperationFailedException(String.Format("Unable to log onto server \'{0}\', login {1}",
                                Server, email));
                        }
                    }
                    else
                    {
                        // Unable to connect to server
                        throw new ImapX.Exceptions.OperationFailedException(String.Format("Unable to connect onto server \'{0}\'",
                            Server));
                    }
                }               
Fairly similar to what is found here and here.

My server's address is the same as to what I have on Outlook and the port is 110 (tried my Gmail account on 995 and that didn't work either).

What am I doing wrong?

New Post: Can't connect to any mail server

$
0
0
I got it to work dropping the port number and useSSL parameters. Not sure why I can't specify those.

BTW, I just realized I haven't place this under the "Issues" section. My mistake.

New Post: Get Draft message thread ID

$
0
0
Hello all,

I am using ImapX to access Gmail. And I can be able to create Draft email already.
I would like to get the this new message thread id.

Can anyone advise?

Thanks in advanced.

New Post: Announcment: ImapX 2.0.0.17

$
0
0
Hi guys, specially @pavel_azanov!

Any news about new version? :)

New Post: Cannot save Attachements

$
0
0
Can I ask you for help about this issue with attachment !
Is there any in line solution, I mean without changing the source code ? I currently don't know how to compile the source...if you can give some guides...
                            fl_at.Download();
                            try
                            {
                                fl_at.Save(folderpath); // gives me an  The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters,             or an illegal character among the padding characters.
                            }
                            catch (Exception ex)
                            {
                                MessageBox.Show("Error : " + ex.Message);
                            }
I am connecting to the server, reading all msgs, but in current case I am trying to download a .pdf attachment and I get this error!
C# VS Express 2013-Desktop/ WIN10,64BIT

New Post: Imapx exception- outofmemoryException

$
0
0
Hello Pavel , reading emails in the inbox as I return an error out of memory . The message contains an attachment small .
I request your urgent help


System.OutOfMemoryException: Memoria insufficiente per continuare l'esecuzione del programma.
in System.Text.StringBuilder.ExpandByABlock(Int32 minBlockCharCount)
in System.Text.StringBuilder.Append(Char value, Int32 repeatCount)
in System.Text.StringBuilder.Append(Char value)
in ImapX.Parsing.BodyStructureParser.ReadQuotedString(Boolean trimSpaces) in \serveralias\mach2press\SORGENTI_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Parsing\BodyStructureParser.cs:riga 317
in ImapX.Parsing.BodyStructureParser.ReadString(Boolean trimSpaces) in \serveralias\mach2press\SORGENTI_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Parsing\BodyStructureParser.cs:riga 265
in ImapX.Parsing.BodyStructureParser.ReadLanguage() in \serveralias\mach2press\SORGENTI_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Parsing\BodyStructureParser.cs:riga 255
in ImapX.Parsing.BodyStructureParser.ParsePart(Int32 number, Int32 level) in \serveralias\mach2press\SORGENTI_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Parsing\BodyStructureParser.cs:riga 201
in ImapX.Parsing.BodyStructureParser.Parse(Int32 level) in \serveralias\mach2press\SORGENTI_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Parsing\BodyStructureParser.cs:riga 42
in ImapX.Parsing.BodyStructureParser.Parse(Int32 level) in \serveralias\mach2press\SORGENTI_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Parsing\BodyStructureParser.cs:riga 38
in ImapX.Message.TryProcessBodyStructure(String data) in \serveralias\mach2press\SORGENTI_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Message.cs:riga 451
in ImapX.Message.ProcessCommandResult(String data) in \serveralias\mach2press\SORGENTI_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Message.cs:riga 243
in ImapX.Message.NormalizeAndProcessFetchResult(IList1 data) in \\serveralias\mach2press\SORGENTI\_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Message.cs:riga 586
in ImapX.Message.Download(MessageFetchMode mode, Boolean reloadHeaders) in \\serveralias\mach2press\SORGENTI\_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Message.cs:riga 554
in ImapX.Folder.Fetch(IEnumerable
1 uIds, MessageFetchMode mode) in \serveralias\mach2press\SORGENTI_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Folder.cs:riga 441
in ImapX.Folder.Search(String query, MessageFetchMode mode, Int32 count) in \serveralias\mach2press\SORGENTI_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX\Folder.cs:riga 486
in ImapX.Sample.FrmMain.GetMails() in \serveralias\mach2press\SORGENTI_Esempi\ImapX 2.0.0.16 Source code (sample application included)\ImapX.Sample\FrmMain.cs:riga 457

New Post: imap without ssl with port 143

$
0
0
it's good, I hasn't called method Search()

New Post: Imapx exception- outofmemoryException

$
0
0
code with error ...
while (((currentChar = (char)_reader.Read()) != '"' || prevChar == '\\'))
                {
                    prevChar = currentChar;
                    sb.Append(currentChar);
                }
in BodyStructureParser.cs

New Post: Get Inbox to show new messages

$
0
0
I iterate through inbox messages, see below, to populate messages to a listview
~~~~~~~~~~~VB CODE~~~~~~~~~~~
                Dim nodeI As Integer = TreeView.SelectedNode.Index
                For Each mess In Client.Folders.Item(nodeI).Messages
~~~~~~~~~~~VB CODE~~~~~~~~~~~
This Works well.

After receiving a New Message, if click again on the inbox folder in the treeView which repopulates the listview the New Message does not appear. However, if I click(this is for the first time) all messages or important, the New Message is present.

I considered trying "client.SendAndReceive()" to refresh the inbox; I'm not sure to use function or even if it is the right way to get the INBOX to refresh.

New Post: Get Inbox to show new messages

$
0
0
I created a refresh button that in part executes the below code, and subsequently repopulates the listview. New messages do show up after using refresh button. I plan to get this working with Idle, OnNewMessagesArrived event.

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

What is "client.SendAndReceive()" for? How do I implement it?

New Post: Download Message Body

$
0
0
Hey!
How to download the Body of a Message and save it to a MySQL DB.
I can't download the Body Message correctly... any start point?

New Post: Download Message Body

$
0
0
VB CODE:

Dim aMessage As ImapX.Message
Dim exampleString as String

aMessage = Client.Folders.Item(i)
exampleString = If(aMessage.Body.HasHtml, aMessage.Body.Html, aMessage.Body.Text)
Viewing all 1144 articles
Browse latest View live


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