mail icon indicating copy to clipboard operation
mail copied to clipboard

A Really Ruby Mail Library

Results 188 mail issues
Sort by recently updated
recently updated
newest added

Fixes #1404 by removing UTF-7 encoding exceptions, calling `transcode_to_scrubbed_utf8` like most of the other code, without changing the behavior of B encodings. Note: it's kind of ugly to have two...

More Work Needed

The following results in an `Encoding::InvalidByteSequenceError`: ```ruby Mail::Part.new("Content-Type: text/plain; charset=\"utf-7\"\r\n\r\n&5g-").decoded ``` The equivalent using quoted-printable makes use of the replacement character: ```ruby irb(main):005:0> Mail::Part.new("Content-Type: text/plain; charset=\"utf-8\"\r\n" + "Content-Transfer-Encoding: quoted-printable\r\n\r\n=E6").decoded =>...

This changes the header field name `Mime-Version` to `MIME-Version`. While an incorrect case here might not cause any trouble since header field names should be treated case-insensitively, the actual correct...

is there a way to remove a message or move it to a seperate folder? Could not find a solution for this. Is this possible somehow with a workaround or...

When I create a new Mail::Address object, a long list of warnings it output. For example, this code: #!/usr/bin/ruby -w require 'mail' Mail::Address.new '[email protected]' produces these errors: /var/lib/gems/2.5.0/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb:32454: warning: statement...

This PR fixes #1384 removing warnings from unused variables.

More Work Needed

Fixes #1398 This change removes the sequence of code that downcases the Content-Type header value. If I should believe the specs, it should serve no purpose. Only 2 specs break...

More Work Needed

I have an e-mail with PDF attachment, with the following `Content-Type` header: ``` Content-Type: application/pdf; name==?utf-8?B?RXhhbXBsZS5wZGY=?= ``` ``` % echo "RXhhbXBsZS5wZGY=" | base64 -d Example.pdf% ``` This header cannot be...

Hello, im trying to get the seqno, uid and flags. doing pure imap requests i can customise what i want, but im trying to use the Mail gem instead. the...

It seams to be a common practice to encode a single attachment into the email body without any attachment prefix header. The filename of the attachment is then defined as...