Git Product home page Git Product logo

Comments (5)

pzb avatar pzb commented on July 20, 2024

Fixed in http://github.com/pzb/mail should be picked up in upcoming merge

from mail.

mikel avatar mikel commented on July 20, 2024

Please try with 2.1.5.2

from mail.

 avatar commented on July 20, 2024

I've just upgraded to 2.2.6.1 and the problem is still there. All non-standard headers are still in all lowercase. Have these patches really been merged?

from mail.

jeremy avatar jeremy commented on July 20, 2024
> m = Mail::Message.new
=> #<Mail::Message:2221166180, Multipart: false, Headers: >
> m['X-Foo-Bar'] = 'baz'
=> "baz"
> m.header.encoded
=> "X-Foo-Bar: baz\r\n"

from mail.

pmatsinopoulos avatar pmatsinopoulos commented on July 20, 2024

I can see that this bug still exists on 2.5.4. Instead of In-Reply-To the header is in-reply-to and instead of References the header is references.

However, the problem has to be with the assignment version of setting values to mail:

mail.in_reply_to = '123' 

ends up in a lower case header, whereas

mail['In-Reply-To'] 

works ok.

I believe that this issue should be reopened.

from mail.

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.