Skip to content

Previewing emails with addresses with names #170

@snebjorn

Description

@snebjorn

If you have something like this in your header:
To: John Smith <john@example.org>

And want to preview the email using the preview feature.

public class PreviewConroller : Controller 
{
    public ActionResult Example()
    {
        dynamic email = new Email("Example");
        // set up the email ...

        return new EmailViewResult(email);
    }
}

Then you'll get this error: An invalid character was found in the mail header: '<'

I believe it's related to #108

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions