Skip to content

Instead of cyrillic email contains '?' characters #2

@apetrichkovich

Description

@apetrichkovich

I've found a bug in class SendPulse, method smtpSendMail:
html = Base64.getEncoder().encodeToString(html.getBytes());

You should change it to:
html = Base64.getEncoder().encodeToString(html.getBytes(CharEncoding.UTF_8));
or
html = Base64.getEncoder().encodeToString(html.getBytes("UTF-8"));

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