Git Product home page Git Product logo

csharp-smtp-server's People

Contributors

zabszk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

csharp-smtp-server's Issues

Email messages missing BCC addresses.

The IMessageTransaction interface and implementations do not implement BCC and the underlying server code does not parse the BCC addresses of the email. Instead the address are added to the To address collection.

Could not load type 'DnsClient.DnsClientOptions' while using Couchbase

I'm using Couchbase as database. Couchbase requires the nuget Packet "DnsClient", your CSharp-SMTP-Server requires your zabszk/DnsClient. Both have the namespace of "DnsClient". That way either one (Couchbase or CSharp-SMTP-Server) will always error out.

A possible fix would be to move the DnsClient into a namespace prefixed with zabszk.

Unhandled exception. System.TypeLoadException: Could not load type 'DnsClient.DnsClientOptions' from assembly 'DnsClient, Version=1.3.2.0, Culture=neutral, PublicKeyToken=4574bb5573c51424'.
   at CSharp_SMTP_Server.SMTPServer..ctor(IEnumerable`1 parameters, ServerOptions options, IMailDelivery deliveryInterface, ILogger loggerInterface, X509Certificate certificate)
   at MailserverTest.Program.Main(String[] args) in E:\Personal\evolin\MailserverTest\MailserverTest\Program.cs:line 19
   at MailserverTest.Program.<Main>(String[] args)
Aborted (core dumped)

No Subject in Email Messages.

The IMessageTransaction interface and implementations do not implement Subject and the underlying server code does not parse the subject of the email.

Email messages missing CC addresses.

The IMessageTransaction interface and implementations do not implement CC and the underlying server code does not parse the CC addresses of the email. Instead the address are added to the To address collection.

[Client receive loop] Exception: System.ArgumentOutOfRangeException, Length cannot be less than zero. (Parameter 'length')

Issue Description:
When our application is receiving an email from an Exchange Server, it throws the following exception:

[Client receive loop] Exception: System.ArgumentOutOfRangeException, Length cannot be less than zero. (Parameter 'length').

This issue persists even if the SPF check is disabled. Unfortunately, we do not have more detailed information at this time, and it appears to be related to SPF checks or email handling.

Steps to Reproduce:

  1. Receive an email from an Exchange Server.
  2. Observe the application's behavior.

Expected Behavior:
The application should handle incoming emails from the Exchange Server without any exceptions.

Actual Behavior:
The application throws a System.ArgumentOutOfRangeException exception with the message "Length cannot be less than zero."

Additional Information:

  • The issue appears to be related to SPF checks or email handling, but more specific information about the cause of the problem is not available.
  • This issue might be related to the specific content or structure of emails received from the Exchange Server, but we need assistance in diagnosing and resolving it.

Environment:

  • Application version: 1.1.5
  • Operating System: Linux and Windows
  • .NET Framework version: net7.0

Steps Taken to Resolve:

  • We have already disabled SPF checks to see if it resolves the issue, but it persists.
  • Reviewed logs and code for potential issues, but the root cause is unclear.

Nuget Package

Hey,

Would you mind setting this up as a Nuget package?

Email messages missing attachments.

The IMessageTransaction interface and implementations do not implement an Attachment collection and the underlying server code does not parse the attachments of the email.

Linux support?

Hi everyone,

I'm trying to use this library in a docker container on Linux.

the library is starting successful but when it comes to receive a mail it's throwing this exception:

[Client receive loop] Exception: System.IndexOutOfRangeException, Index was outside the bounds of the array.

Any Idea?

Thanks in advance

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.