mailer-long-subject-base64.patch

This patch converts subject to base64 and handles the 76 chars limit. - Maxim Verevkin, 2010-02-12 09:43

Download (314 Bytes)

View differences:

mailer.rb 2010-02-12 14:21:30.334652607 +0600
346 346
      recipients []
347 347
      cc []
348 348
    end
349
    s = Base64.encode64(@subject)
350
    @subject = ''
351
    s.split.each { |part| @subject << "=?utf-8?B?#{part.strip}?=\r\n" }
349 352
    super
350 353
  end
351 354