Skip to content

Email To: for a contact without name #2131

@chandon

Description

@chandon

What type of report is this:

Q A
Bug report? Y
Feature request? N
Enhancement? N

Description:

When a contact has an email but no firstname and no lastname, email is send to " " < the@email.com >.
When firstname and lastname are empty, the "To:" field should be email only, without " " and < >

Steps to test this PR:

  1. Create a user without firstname and lastname
  2. Send an email with mautic.
  3. Check To header => To: " " < email@email.com > . It should be To: email@email.com to avoid display problem with most email clients

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues or PR's relating to bugsready-to-testPR's that are ready to test

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions