Comments (11)
I'll need a protocol log to analyze.
from mailkit.
Interesting, I do have the same thing and thought it was me going from 3 to 4.4. But 4.3 is indeed working for me aswell.
How can I get the protocoll log to help you analyse? The return value of Send Async is a 200 queued with the queue id.
I am using mails by strato. I am mentioning this as Ingo seams like a german name and maybe he uses the same provider.
from mailkit.
Ich benötige ein Protokollprotokoll zur Analyse.
I'll need a protocol log to analyze.
Hi,
How can I create a protocol that will help you? We also use strato.
from mailkit.
Do you know where you can look up errors in strato? Maybe this could be helpful. It looks like the mail gets passed the queue but maybe there is something else happening where strato is unhappy at the end.
from mailkit.
Do you know where you can look up errors in strato? Maybe this could be helpful. It looks like the mail gets passed the queue but maybe there is something else happening where strato is unhappy at the end.
I'm just a software developer and don't have access to strato.
from mailkit.
Okay, I've taken a look and it looks like the issue is that a change I made to support the REQUIRETLS extension is what is causing this issue:
C: MAIL FROM:<user@domain> SIZE=278 REQUIRETLS
The REQUIRETLS extension is a really odd extension because it isn't like most other extensions where you need to opt-in. Instead, it's a feature where you need to opt-out by including a message header:
TLS-Required: No
If I add that header, it works.
it should also work if I do this before I send:
client.Capabilities &= ~SmtpCapabilities.RequireTLS;
Here's what I think the issue is:
The REQUIRETLS
extension is meant to force the use of TLS from origin to the final destination.
This means that if any SMTP server between the server that the client submits the message to and the SMTP server of the recipient doesn't support REQUIRETLS
, then the message fails to be delivered.
I think I'll need to add a property to SmtpClient to EnableRequireTls (or a better name).
from mailkit.
Not sure when I'll get a chance to make a new release, so in the meantime you can either use 4.3.0 or use 4.4.0 with either of the 2 work-arounds that I mentioned in my previous comment.
When I manage to release v4.5.0, the work-arounds will no longer be necessary.
from mailkit.
Ok nice, I will test it out tonight. Don’t know if I want to turn off tls, but I will definitely give you feedback.
thanks!
from mailkit.
You don't need to turn off TLS to make this work.
The RequireTLS feature is unrelated to SmtpClient using TLS itself, it's a feature that tells the remote SMTP server that each hop needed to deliver the message to the final destination mailbox requires a TLS connection.
This is normally not something that is required and is why this feature is causing messages for you guys not to get delivered - SMTP servers do not implement this feature.
from mailkit.
Ok, thanks for the explanation. Good to know that :) and thanks again for the fast replies and solution!
from mailkit.
I have the same problem using Strato as well. I can confirm setting
client.Capabilities &= ~SmtpCapabilities.RequireTLS;
as a work-around after connecting is working for version 4.4.0.
from mailkit.
Related Issues (20)
- MimeMessage.TextBody not returning body HOT 3
- Code style: use <inheritdoc cref="..."> instead of copying doc HOT 5
- I get a couple of compile errors when updating MailKitLite from 4.3.0 to 4.4.0 HOT 2
- MimeMessage.Subject == null throws off the MailVisitor.
- Regression: Nested signed mail showed as nameless.eml HOT 3
- Question: Logging EHLO Response in DB HOT 2
- XLIST IMAP command being sent automatically on AuthenticateAsync HOT 3
- UTF-8 not supported ?! HOT 1
- client_credentials flow fails for SMTP Office 365 HOT 1
- Special Character on Password HOT 3
- MailKit Login Issue: Stalling on Inbox Access HOT 2
- Cannot delete message from IMPAP account. HOT 4
- Accessing the IP address of devices logged into the e-mail account HOT 1
- Recieved MimeMessage contains wrong embedded Images HOT 1
- IMAP client connected and authenticated but Inbox returns null HOT 4
- in the sample project of imapidle, is it possible to add a sample method for how to cancel the "IDLE" mode. thanks! HOT 2
- SmtpProtocolException - Last Smtp Response before failure HOT 6
- SMTP not working with Strato.de HOT 4
- SmtpClient Exception Behavior Change in 4.4.0 HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailkit.