Code Monkey home page Code Monkey logo

Comments (4)

foens avatar foens commented on August 10, 2024

Could you provide an example email?
And it would be greatly appreciated if you provided a pull request with a test showing that it works as intended, thanks.

from hpop.

fodiimre avatar fodiimre commented on August 10, 2024

Hi,

Thank you for your response. Unfortunately I'm not a Git expert. I was able to connect to the repository and made that modifications, but I was unable to push them (I guess). I was unable to create a new pull request too. I created two screenshots while I was testing my modification: https://onedrive.live.com/?cid=4D52BCB99B55F031&id=4D52BCB99B55F031%21116

I couldn't find any public email address which is related to that project, but if you provide one I can send test emails. I think any email from https://www.live.com/ with an attachment is a valid test email.

Thank you for your help.

from hpop.

foens avatar foens commented on August 10, 2024

The problem is that I currently do not a have a C# environment to test or code in. Thats why I wanted you to create a pull request.

from hpop.

marcosbrigante avatar marcosbrigante commented on August 10, 2024

There is indeed a problem with attachment names when calling ToMailMessage(). Unfortunately, I could not track it down as it happened only on my production server (it worked on my machine =P ).
When the attachment name contained a word with an accent ("ĂȘ" on my case) and a space after it, the name of the attachment became the string below (obtained from my production log file):

"=?utf-8?B?RkQwOTM0MjE1OTAwMDE2OV8yMDE1MDEyM18yMDE1MDEyMzA0MDE0NV9J?= =?utf-8?B?QklVTkEgUFJFVklEw4pOQ0lBIEZJQ0ZJTS5YTUw=?="

When I saw this open issue here on github I removed ToMailMessage calls, then it worked perfectly.

Please contact me if you want more information about my environment.

from hpop.

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.