Questions tagged [mailsystem.net]

MailSystem is a suite of .NET components that provide users with an extensive set of email tools. MailSystem provides full support for SMTP, POP3, IMAP4, NNTP, MIME, S/MIME, OpenPGP, DNS, vCard, vCalendar, Anti-Spam (Bayesian , RBL, DomainKeys), Queueing, Mail Merge and WhoIs.

http://mailsystem.codeplex.com/

15 questions
5
votes
1 answer

MailSystem.NET subject encoding

I'm currently using MailSystem.NET SMTPClient to send email, the email content contains Chinese character in both Subject and Body. By the following code, I'm able to set the Email's body to be Encoded correctly, but Subject is still not Encoded and…
captivatedbyUBB
  • 153
  • 2
  • 9
4
votes
2 answers

How mark gmail message as unread (unseen) MailSystem.NET

I searched a lot how to read an email from gmail and then mark it as unread (unseen), now that I found I wanted to share with everyone.
Leandro Almeida
  • 123
  • 1
  • 7
1
vote
1 answer

Trying to fetch email that cause NewMessageReceived to fire using MailSystem.NET library

I'm trying to fetch emails as soon as they arrive in my inbox using MailSystem.NET library. Everything works fine IMAP client gets connected but my NewMessageReceived event is never fired. Please Help Below is the code: public static Imap4Client…
DevSab
  • 121
  • 6
1
vote
1 answer

Activeup .net : Is it possible to search by Date and Time : hour and minute for mail?

I'm using the ActiveUp.Net.Mail to connect gmail and get mails from Inbox . I want to get mails after a specific date , hour and minute . I tryed for a specific date and it worked succesfully but when I added a time on my query it was stopped This…
1
vote
1 answer

Find emails by message Id using using IMAP and MailSystem.NET

I'm using IMAP and MailSystem.NET to read emails in c#. How do I search emails by message id? (msg.MessageId) using (Imap4Client imap = new Imap4Client()){ imap.ConnectSsl(protocol, port); imap.LoginFast(email, password); …
user2382627
1
vote
1 answer

ActiveUp.Pop3Client Authenticate results to -ERR Protocol error. 14

I'm using MailSystem.NET library for sendting and recieving e-mails. Everything works fine except Pop3Client authentication using SSL when there is a backslash in the username. Let's say that I have the following code: var client = new…
JiKra
  • 1,618
  • 3
  • 29
  • 45
1
vote
1 answer

Efficient FETCH query and parsing results

I'm tying to use MailSystem.NET to read ALL mail (except for stuff in Drafts, I guess) and extract the UUID, the Date, the Sender, all Recipient emails. I would like to have it fetch, beginning at the most recent and continue scanning backwards,…
Jason Kleban
  • 20,024
  • 18
  • 75
  • 125
0
votes
0 answers

S/Mime with attachment sign using MailSystem.Net

I'm new to s/mime and need to digitally sign email with xml attachment, but unfortunately this email has a wrong hash value (according to response of external system). I digged into the code of the library and found that it creates a sign for…
Andrey
  • 65
  • 1
  • 8
0
votes
0 answers

TCP connection Hangs up but not throwing time out exception C# (ActiveUp.Net.Mail)

code hangs forever until close the program for tcp call's and not throwing any exception i have tried reconnection for every email fetch var client = new Imap4Client(); client.SendTimeout = 180000; client.ReceiveTimeout =…
0
votes
1 answer

MailSystem.Net is there a way to check the status (if it is read or unread) of an email?

If anyone is familiar with MailSystem.Net, can you help me? I would like to see the status of an email that is fetched with Imap4 and Pop3. I would like to see if the fetched email has already been read or is still unread. int nIndex = 10; Header…
D.S.
  • 29
  • 6
0
votes
1 answer

How do I implement the MailSystem.NET components as references?

I need to use the ActiveUp.Net.Mail namespace, and I tried to add it but I am not able to find any DLL files in the MailSystem.NET archive/folder and I just recently started working with C# so is there something that I'm missing? Downloaded from…
Lendrit Ibrahimi
  • 157
  • 1
  • 12
0
votes
2 answers

Mailkit: fetch messages and copying them to MySQL, attachments to drive

I've been using this code of MailSystem.Net so far to get emails from an Imap INBOX and added options to retrieve mail using $"SENTSINCE {Date}". string mailBox = "INBOX"; public IEnumerable GetMailsSince(string mailBox) { return…
penCsharpener
  • 409
  • 7
  • 15
0
votes
0 answers

Signing email with MailSystem.NET generates invalid signature

I am trying to sign and send an email with MailSystem.NET. The mail is sent with a signature but the receiving email clients won't accept the signature Gmail error: The sender does not match the digital signature. Thunderbird error: The signature…
Murray
  • 1,948
  • 1
  • 12
  • 18
0
votes
0 answers

Imap Select Folder Which's Name Contains Turkish Character using MailSystem.NET

I'm using MailSystem.Net to receive my mails. When I try to select a folder which contains turkish character it returns me an error. My code is here: string folderName = "[Gmail]/Yıldızlı"; Mailbox inbox =…
fena coder
  • 217
  • 4
  • 17
-1
votes
3 answers

C# Imap Sort command with special characters

I'm working on a problem with imap sort extention: My command is the following: var query = "icône"; //byte[] bytes = Encoding.Default.GetBytes(query); //query = Encoding.UTF8.GetString(bytes); var command =…
DRK
  • 324
  • 4
  • 15