Questions tagged [mailkit]

MailKit is a cross-platform .NET mail-client library optimized for mobile.

MailKit is a cross-platform .NET mail-client library optimized for mobile, it is built on top of MimeKit.

785 questions
0
votes
1 answer

Creating GMail folders with Mailkit

I have an email provider that uses SMTP and IMAP from Mailkit. The main function I am using at the moment is to read messages from the inbox, and depending on the contents of the email they will go into a 'Processed' or an 'Ignored' folder. In…
Irish Yobbo
  • 403
  • 1
  • 6
  • 21
0
votes
1 answer

Error on connect mail with mailkit?

my code is : Pop3Client client = new Pop3Client(); client.Connect("pop.gmail.com", 995, true); client.Authenticate("MyMailAccont@gmail.com", "Password"); .... error on Authenticate.eeror is: Additional information: POP3 server did not respond with…
shahroz
  • 359
  • 1
  • 6
  • 17
0
votes
1 answer

MailKit + MimeKit dll download

i have searched thoroughly for an answer but i have not found one. I was able to download the project files for the c# project but i will like to use the MailKit library for receiving mails in Windev so the need for the dll for an easier…
jason
  • 1
  • 1
  • 3
0
votes
1 answer

Getting chain status "RevocationStatusUnknown" on IMAP with SSL authentication on production server

In my system, the client tells the configuration for a e-mail service, that is responsable to deliver and receive the log communications inside the system. I'm getting this error when I try to test the connection with an SSL IMAP server, from a…
0
votes
2 answers

The type initializer for 'MimeKit.ParserOptions' threw an exception

I am testing using an existing System.Net.Mail.MailMessage with MimeKit's support for direct casting to a MimeMessage in addition to using MimeKit's DkimSigner and MailKit's Smtp client. I am getting "The type initializer for 'MimeKit.ParserOptions'…
eric1825
  • 405
  • 3
  • 13
0
votes
1 answer

Exchange MailKit reacts slowly

When I'm using MailKit against an Exchange server, I see following flow from the exchange server log, showing an excessive long time between starttls and capability (about 15s), and some times this same procedure takes about 20ms, which is a huge…
grmihel
  • 784
  • 3
  • 15
  • 40
0
votes
0 answers

Problems with Mailkit IMAP - Authentication with string is not possible

I have a strange problem with my IMAP authentication here. I cannot authenticate if I´m trying to use string variables. I really need to type in my account and my password which does really make no sense to me. THIS DOES NOT WORK! using (var…
0
votes
1 answer

How to parse the body of an email in Gmail, download and delete

I am using Mimekit to receive mail from Gmail using C# for IOT notifications, which seems to be working. I would like to do the following: Log in to Gmail Search inbox mail containing a specific keyword in subject or body. Parse the body like you…
user3407537
  • 51
  • 1
  • 13
0
votes
1 answer

How to select sharednamespace

Using IMAP - We have many shared mailboxes under the shared 'user' namespace with a '.' delimiter. I'm trying to write some software that will migrate these shared mailboxes to Exchange server. I'm trying to open a specific mailbox/folder within…
user219396
  • 57
  • 1
  • 7
0
votes
1 answer

Block spammer using IMAP

Is it possible to block a sender as spam using imap (by the wonderful MailKit api), in any way? Currently I'm just moving these spam mails in a specific folder, but this doesn't prevent emails from the same sender to sent another mail. I know it is…
grmihel
  • 784
  • 3
  • 15
  • 40
0
votes
1 answer

Mailkit Fetch "Unexpected token in IMAP response: [qstring: "Multipart message"]"

I'm getting an ImapProtocolException with a message: "Unexpected token in IMAP response: [qstring: "Multipart message"]" when issuing zInbox.Fetch(uids, MailKit.MessageSummaryItems.UniqueId Or MailKit.MessageSummaryItems.BodyStructure Or…
jzero
  • 61
  • 8
0
votes
0 answers

Sending an email using MailKit in Xamarin Studio on Mac C#

I am trying to write an android app in Xamarin Studio for Mac that will send an email once a button is clicked. I have the button and the app will run when the button is clicked if I don't try to send the email. However, when I add the MailKit…
0
votes
1 answer

MailKit/MimeKit.NET - Remove quoted messages within a replying email (from Outlook)

I want to strip the entire past mails to get the original mail body without any quotations using MailKit/MimeKit. Getting the mails (via IMAP) is already done and working fine. But in case of a replying mail, the history of the written mails should…
SiL3NC3
  • 690
  • 6
  • 29
0
votes
1 answer

C# get string from txt, then copy into new txt

I have a tiny problem with my idea ;) I want to read som emails from gmail (using Mailkit) and save them into multiple files. Ok you may think "wtf is going on",... I want to extract the orders via mail and save them as single files for sort off…
0
votes
2 answers

Using MailKit to retrieve emails from gmail

I'm using below code to retrieve the emails. But I'm getting a Socket exception when trying to connect the server (client.Connect(uri, cancel.Token);). Unhandled Exception: System.Net.Sockets.SocketException: Connection timed out using…
user1925406
  • 713
  • 3
  • 15
  • 33