Code Monkey home page Code Monkey logo

Comments (11)

jstedfast avatar jstedfast commented on June 10, 2024

I'll need a protocol log to analyze.

from mailkit.

modmoto avatar modmoto commented on June 10, 2024

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.

IngoManthey avatar IngoManthey commented on June 10, 2024

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.

modmoto avatar modmoto commented on June 10, 2024

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.

IngoManthey avatar IngoManthey commented on June 10, 2024

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.

jstedfast avatar jstedfast commented on June 10, 2024

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.

jstedfast avatar jstedfast commented on June 10, 2024

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.

modmoto avatar modmoto commented on June 10, 2024

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.

jstedfast avatar jstedfast commented on June 10, 2024

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.

modmoto avatar modmoto commented on June 10, 2024

Ok, thanks for the explanation. Good to know that :) and thanks again for the fast replies and solution!

from mailkit.

mdekok avatar mdekok commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.