mimekit Questions

2

Solved

I am using MailKit/MimeKit 1.2.7 (latest NuGet version). Deleting an email with the ImapClient is pretty easy ... client.Inbox.AddFlags(uniqueId, MessageFlags.Deleted, silent: true); ... if you...
Tomokotomorrow asked 15/7, 2015 at 9:0

3

I've been using Mailkit 2.15 and now trying to upgrade to v3.4.1. When I upgraded, all its dependencies got installed including System.Runtime.CompilerServices.Unsafe v4.5.3. But when I execute the...
Plumbic asked 13/10, 2022 at 12:3

1

Solved

Love the MimeKit and MailKit libraries. Work great. Just discovered MimKitLite, but cannot find any info on that is "lite" about it. Is there an explanation somewhere? Thank you. I checke...
Bambara asked 16/3, 2023 at 4:54

2

Solved

How can I get the attachment content when using MimeKit? This is what I have: var mimeMessage = MimeMessage.Load(@"test.eml"); var attachments = mimeMessage.Attachments.ToList(); foreach (var att...
Palaeozoic asked 4/3, 2016 at 20:57

1

Solved

I ama able to sent SMTP emails using MailKit & MimeKit and outlook is the client tool receiving these mails. Below code has been used and my Inbox has emails received. var email = new MimeMessa...
Tenner asked 11/3, 2022 at 7:26

2

Solved

I need to export an EML file from IMAP using Mailkit, however there are no methods to export the emails. I didn't find any documentation either in MimeKit - Mailkit Documentation. Is it possible to...
Landlady asked 23/10, 2015 at 16:25

3

Solved

As the title, is MailKit supported to send file? If yes, how can I do it?
Songer asked 16/6, 2016 at 8:32

2

Solved

I am using MailKit/MimeKit 1.2.7 (latest NuGet version). I tried to embed an image in the HTML body of my email by following the sample from the API documentation (section "Using a BodyBuilder"). ...
Gifferd asked 14/7, 2015 at 12:36

1

I downloaded MimeKit and opened it in VS2019. I attempted to update the project from .NET 4.5 to .NET 4.7.2. After doing this, it won't compile. I get the following error: Your project does not re...
Ongun asked 22/7, 2019 at 15:35

1

Solved

is there a way to filter emails with attachments only? I'm using this code using (var client = new ImapClient()) { client.Connect(IMAPServer, IMAPport, IMAPSSL); client.AuthenticationMechanisms...
Foreignborn asked 17/12, 2018 at 9:10

4

Solved

BodyBuilder bodyBuilder = new BodyBuilder(); messageContent.Body = "<b>This is a test mail</b>"; bodyBuilder.HtmlBody = messageContent.Body; I tried to embed my body to a bodybuilder ...
Perigordian asked 15/12, 2016 at 9:24

0

I am using mailkit currently to retrieve emails. I am using this code : var message = inbox.GetMessage(i); Emails Email = new Emails; Email.From = message.From.ToString; Email.EmailDate = message....
Levitical asked 6/3, 2018 at 11:58

2

0 Code in Visual Studio 2015 1 I am using Mailkit latest version (1.18.1.1) for sending an email from my own email server. 2 The email server is having a self signed certificate, which is not TR...
Myna asked 26/9, 2017 at 8:23

2

Solved

I was playing around with MailKit/MimeKit and something is bugging me. I wanted to send e-mails with attachments using streams. MimeKit offers the BodyBuilderclass which makes it very easy to creat...
Deragon asked 11/6, 2017 at 16:18

1

I'm trying to create plugin which uses some functions from external dll-s. Because I don't know which plugin will be used I would like to dynamically load: main asp.net core project which dynami...
Glaudia asked 4/5, 2017 at 21:22

1

Solved

I have looked at other examples online, but I am unable to figure out how to download and store ALL the attachments from a MimeMessage object. I did look into the WriteTo(), but I could not get it ...
Robbierobbin asked 10/4, 2017 at 19:0

1

Solved

I would like to save the entire email to the disk with all the headers instead to relay to an SMTP server using MimeKit, is this possible?. I am aware that the Message itself can be written into a...
Wynd asked 3/7, 2016 at 5:49

1

Solved

While trying to send an e-mail using MailKit and MimeKit,is there a way to collect the SMTP Output?. ps: I am trying to migrate my email code from Easymail to Mimekit and Mailkit and I apologize i...
Haff asked 24/6, 2016 at 7:56

1

Solved

I am using the following code to obtain subject information. Is it possible to know if the email contains attachments, and perhaps more specifically excel spreadsheets (xls/xlsx) without download...
Prink asked 27/4, 2016 at 6:28

1

Solved

I'm try save attachments from message foreach(MimeKit.MimeEntity at message.Attachments) { at.WriteTo("nameFile"); } File saved, but when I open I get the error the file is corrupted or too l...
Downhearted asked 25/3, 2016 at 20:35

1

Solved

i'm using Mailkit library (Imap) for my project. I can comfortably send a new message by SmtpClient. currently I'm digging about how to reply to a particular mail. and is it possible to add mor...
Nardone asked 30/1, 2016 at 14:3

1

Solved

i'm using mimekit for receive and send mail for my project. I'm sending received mails with some modifications (to & from parts). And now i need to modify in body section. I'll replace specific...
Deathlike asked 14/1, 2016 at 12:52

1

Solved

I am using MailKit to read messages from a gmail account. Works great. But, I want to get the message status as whether its read, unread, important, starred etc. Is this possible with MailKit? I ca...
Ranie asked 8/1, 2016 at 12:11

1

Solved

Im trying to find a method in mailkit that executes the command "Execute append" in IMAP, in C# i would do it like: MailMessage mg = null; using (ImapClient cl = new ImapClient("imap.gmail.com"))...
Isaak asked 27/10, 2015 at 10:11

1

I have been making my own mail client recently and added a receive option, I used mimekit and mailkit as plugins and was able to download most of my mails with a reader that is supposed to show con...
Bootlick asked 11/9, 2015 at 18:26

© 2022 - 2024 — McMap. All rights reserved.