|
Hi,
You must use search command.
Something like that:
imapClient.Search(true,null,"(\unseen)")
this gives you UID's of unseen messages, after it you can fetch them.
|
|
|
|
|
hello ,
i have tried with this --->imap.Search(true, null, "(\\unseen)");
but it give exception following.
"NO UID SEARCH unrecognised arguments".
i want to debug this library but i couldn't.
what should i do ?
Regards ,
Jay panchali
modified on Friday, January 7, 2011 4:34 AM
|
|
|
|
|
You may try imap.Search(false
May be that server won't support UID extention.
Also you may try "\\unseen" without parentheses, but server shuld accpet both syntax.
|
|
|
|
|
hello ,
thanks i have done with search mail which is unread now i got this exception ,so what should i have to do to increase seconds to fetch mail because i don't want to drop or skip any mail. tell me how many changes i have to implement.?
"Failed to parse message within 30 seconds."
note :mail is also not so high volume it has just 1mb attachment only.
modified on Tuesday, January 11, 2011 12:50 AM
|
|
|
|
|
hello
can i do something like move 1 email which is in unread folder on my server and i want to move particular mails to other folder lik unread to inbox folder..pls help me about this as it is my current R&D topic
|
|
|
|
|
You should use IMAP client MoveMessages method todo it.
Normally you need to know message UID first, then you can move it.
|
|
|
|
|
hi ....
thank u for such a fast reply ..
i really thank u ..i m jst new in this field...thts y ..
|
|
|
|
|
hello Ivar,
This is some gr8 lib ..i want something lik tht and nw my question is tht is it about free ? is it trial based or something restrict to use ?..
may i used it for my firm ..?
|
|
|
|
|
Hi,
Yes it's free and no restrictions.
|
|
|
|
|
|
|
|
I have searched high and low all over the internet looking for a tool like this, there are very few and the other ones that exist out there are way too complicated to be worthwhile.
|
|
|
|
|
I hope that it will work ok for you ... .
|
|
|
|
|
Thanks for making this available. It saved me a bunch of time.
Only issue I have with it is it seems to use PKZip compatibility within the zip file. Removing that dependancy would make it much more easy to manipulate with open source tools.
|
|
|
|
|
Hi,
About zip i don't know, it uses sharp zip lib ... .
|
|
|
|
|
Hi Ivar,
Thank you for your code. Is it possible to modify the saved format of the .eml messaages?
If I could save it as: [sendername][subject].eml or other format, it would be awsome.
|
|
|
|
|
Hi,
What quaranttes uinquness of filename than ?
Also subject can contain file names what file name can't
|
|
|
|
|
i was about to write something similar except for one added feature... how hard would it be to expand this tool to include duplication prevention... say for example i want to mirror one server to another, but the old server is still receiving e-mail...
being i am not a C# developer (only vb.net) i cant follow your code 100% and would rather pass something on to you if it can be done...
|
|
|
|
|
|
no luck...
foudn a bug though. if the folder is empty, it seems to bomb out...
|
|
|
|
|
Hi Ivar,
Thank you, I found the code very useful.
Regards
Jan
|
|
|
|
|
Personally, I think your tools are good, but your articles are improvable.
|
|
|
|
|
Hi,
Probably .... but just i'm not best text guy.
There is no code section, otherwis i would uploaded it to there.
Ok probably this is not best place to upload code, must chekc around.
|
|
|
|
|