mailkit Questions

5

I'm trying to access gmail emails using imap and the code is failing at the ssl handshake without showing me any errors. Really appreciate if anyone could please help with this. I've built this usi...
Oakley asked 25/11, 2019 at 6:28

4

Solved

Im using mailKit in asp mvc core to collect email from a IMAP mailbox. I return the message using the command var message = inbox.GetMessage(uid) This returns all the results of the message. F...
Grimsby asked 28/9, 2017 at 16:26

3

I have to build a .Net console application that runs on server side as a batch, and sends email to recipients using Office365 and MailKit. Our company has recently introduced MultiFactor Authentica...
Swordcraft asked 27/4, 2021 at 8:31

2

I am trying to use MailKit to send an email message via "smtp.office365.com". Here is the code I'm using. using (var client = new SmtpClient(new ProtocolLogger("smtp.log"))) { client.ServerCertif...
Oedema asked 21/3, 2019 at 19:8

5

Solved

I am trying to connect to iCloud via SmtpClient The settings I am using are as follows: Server name: smtp.mail.me.com SSL Required: Yes If you see an error message when using SSL, try using TLS o...
Tiepolo asked 22/7, 2015 at 1:47

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

2

Solved

I'd like to use MailKit to send an email through our Exchange server, using the credentials of the process. Building up a System.Net.Mail.SmtpClient and NetworkCredential with domain/username/passw...
Bovine asked 19/3, 2021 at 7:49

2

When I try to send an email message via Google and the MailKit library on a production containerized application I get this exception: MailKit.Security.SslHandshakeException: An error occurred whi...
Extrinsic asked 8/1, 2021 at 18:3

4

Solved

I have a web application that sends e-mails to users via Exchange Online (Office365) using MailKit and Basic Authentication. Our company is MS partner and therefor is obligated to turn off Basic Au...

3

Solved

I'm trying to send an email with Gmail account. I was able to send emails with yahoo, however, it doesn't work anymore, for some unknown reason. Which i posted a question about that as well, but no...
Brenda asked 16/12, 2019 at 19:7

1

Solved

I have a daemon that reads the inbox of an email address and performs actions to the emails. I'm using MailKit to connect to the exchange server with IMAP but Microsoft has shut down basic authenti...
Silvie asked 14/7, 2022 at 17:47

2

Solved

Up to this point I was happily connecting to my Gmail account with a method similar to this: public async Task<IEnumerable<MimeMessage>> GetMessagesAsync() { using var imapClient = new...
Fortis asked 8/6, 2022 at 9:23

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

5

I'm using NLog an target to send log to some emails using smtp.google.com:587 SMTP server. When I'm using standard System.Net.Mail.SmtpClient library it's working without any problems but when usin...
Lakeesha asked 27/3, 2019 at 16:34

5

Solved

I'm trying to send an email through my Outlook.com email address using MailKit. I've followed all the examples I've seen online and this is what I have: public async Task SendEmailAsync(string em...
Bucko asked 9/2, 2019 at 20:4

1

I seem to be running in circles.. I tried Install-Package -Name 'MailKit' -Source 'nuget.org' but it was unable to find package source nuget.org I tried a local installation from a download, which ...
Mainis asked 17/2, 2021 at 22:30

1

Solved

I am using Mailkit library to send e-mails. This is the code to do so: public async Task SendAsync(IdentityMessage message) { if (message == null) return; LinkedResource inline = new LinkedRe...
Joli asked 27/1, 2021 at 11:7

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

3

Solved

We are thinking about moving to O365; however, we developed software that uses our current Exchange server to send email both to external users as well as to a support box when errors occur. I've ...
Gaud asked 14/1, 2020 at 14:4

1

Solved

I am using MailKit as SMTP client to send emails. I see there are two properties XMessagePriority and MessagePriority what is the difference between these two and does one override the other?
Acetyl asked 19/11, 2020 at 21:50

2

Solved

I'm trying to move mails to another folder but i can´t find a simple way to check if target folder exists, i presumed that the given folder path is a root folder, i try with this: public void Move...
Thumbsdown asked 2/8, 2018 at 0:3

1

Solved

I'm trying to use Mailkit to get emails from my Gmail: private readonly string[] Scopes = { GmailService.Scope.GmailReadonly }; private UserCredential GetGmailCredential() { UserCredential cred...
Forehand asked 16/3, 2020 at 15:31

1

Solved

I read on the Microsoft website that the SmtpClient was obsolete and they recommended using the MailKit for it's replacement. I'm in the process of writing an application to make use of the MailKit...
Belisle asked 12/7, 2019 at 13:35

1

Solved

I have recently used Mailkit lib in our project in order replacing .NET SmtpClient. We have 2 business cases to use the SmtpClient to send emails. In one instance we use SmtpClient to send queued e...
Leaving asked 7/1, 2019 at 21:53

© 2022 - 2025 — McMap. All rights reserved.