Giter Site home page Giter Site logo

Comments (8)

frenkel avatar frenkel commented on June 30, 2024

I do not see the three blocks when receiving replies from within Brimir. Do you use a language that requires a different encoding or something like that?

from brimir.

rennhak avatar rennhak commented on June 30, 2024

No actually plain (British) english. I tried it with my local MUA Mutt and GMail web interface. Both show this triplicate behavior unfortunately. I think this happens when your email is set to text mode not html mode. What can I do to help clarify?

from brimir.

rennhak avatar rennhak commented on June 30, 2024

Here is an example of the triplicate content I ment:
(extracted immediately after Brimir handed it to Postfix).

regular_text: Date: Thu, 13 Feb 2014 00:08:03 +0100
regular_text: From: [email protected]
regular_text: To: [email protected]
regular_text: Message-ID: <[email protected]>
regular_text: In-Reply-To: <[email protected]>
regular_text: References: 
regular_text: Subject: Reply
regular_text: Mime-Version: 1.0
regular_text: Content-Type: text/plain;
regular_text:  charset=UTF-8
regular_text: Content-Transfer-Encoding: 7bit
regular_text: 
regular_text: 
regular_text: ----==_mimepart_52fbfed3b0611_47b7116dec888886
regular_text: Content-Type: text/plain;
regular_text:  charset=UTF-8
regular_text: Content-Transfer-Encoding: 7bit
regular_text: 
regular_text: Test
regular_text: 
regular_text: Some test.
regular_text: 
regular_text: Another test line.
regular_text: 
regular_text: 
regular_text: 
regular_text: ----==_mimepart_52fbfed3b0611_47b7116dec888886
regular_text: Content-Type: text/plain;
regular_text:  charset=UTF-8
regular_text: Content-Transfer-Encoding: 7bit
regular_text: 
regular_text: Test
regular_text: 
regular_text: Some test.
regular_text: 
regular_text: Another test line.
regular_text: 
regular_text: 
regular_text: 
regular_text: ----==_mimepart_52fbfed3b0611_47b7116dec888886
regular_text: Content-Type: text/html;
regular_text:  charset=UTF-8
regular_text: Content-Transfer-Encoding: 7bit
regular_text: 
regular_text: <p>Test</p>
regular_text: 
regular_text: <p>Some test.</p>
regular_text: 
regular_text: <p>Another test line.</p>
regular_text: 
regular_text: 
regular_text: ----==_mimepart_52fbfed3b0611_47b7116dec888886--

from brimir.

frenkel avatar frenkel commented on June 30, 2024

We're using default Ruby on Rails mail funcionality to send these types of mails. Are you stripping away more header tags maybe, which could cause this?

from brimir.

frenkel avatar frenkel commented on June 30, 2024

Today I observed the same problem as what you reported. I'll look into it tomorrow.

from brimir.

rennhak avatar rennhak commented on June 30, 2024

Yes, Rails uses sendmail hooks from system. Above mail was captured from Brimir output directly. Thanks for taking a look at it, appreciate it.

from brimir.

frenkel avatar frenkel commented on June 30, 2024

Apparently this bug was introduces by using mail instead of message in the after_action hook. I've added a test for it and fixed it in master. Thanks for reporting!

from brimir.

rennhak avatar rennhak commented on June 30, 2024

Thank you for pushing a fix for that. Tested and verified that current 112ec83 works as expected without having either issue #47 or #48.

Previous version I had deployed was c19a9aa which had both bugs.

from brimir.

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.