Skip to content

raise error for email from like "Name" address@domain #7

Description

@tomlion

submitted by hpyhacking, I copied from tomlion#11

mails_viewer (0.1.1)

below is mail sample

Date: Fri, 19 Apr 2013 14:29:19 +0800
from: "Name" no-reply@domain.com
To: sample@gmail.com
Message-ID: <5170e43f804bd_77573ff5820349d874999@local.mail>
Subject: Subject
Mime-Version: 1.0
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

I use below setting to my ActionMailer

default :from => "\"Name\" no-reply@domain.com"

This mail can show in Gamil, but mails_viewer raise error

undefined method join for "\"Name\" no-reply@domain.com":String

Screen Shot 2013-04-19 at 2 36 29 PM

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions