Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Previewing emails with addresses with names #170

Open
snebjorn opened this issue Apr 5, 2017 · 4 comments
Open

Previewing emails with addresses with names #170

snebjorn opened this issue Apr 5, 2017 · 4 comments

Comments

@snebjorn
Copy link

snebjorn commented Apr 5, 2017

If you have something like this in your header:
To: John Smith <[email protected]>

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

@jhondrake8205
Copy link

Thanks for pointing this out! It seems like a Zara character encoding issue in the mail header. I'd recommend encoding the header properly to resolve this error.

@jhonnymertin849
Copy link

Thanks for bringing this up! Previewing emails with addresses and names is crucial for ensuring a seamless user experience. Looking forward to the Washing Guide clear updates on #170.

@Jhonust
Copy link

Jhonust commented Mar 11, 2024

Great feature! Being able to preview emails with addresses and names makes managing emails much easier. Looking forward to trying it out Prince Of persia. Thanks for the update.

@peakyblinder04
Copy link

Adding a name to the email preview can definitely make messages feel more personal. Have you considered using invisible conditional logic to handle different formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants