Skip to content

"Email is not valid hostname.'gmail.com"'  #11945

Closed
@sumeetmobiwebtech

Description

@sumeetmobiwebtech

Preconditions

  1. Magento version 2.1.7
  2. Add a customer with an gmail address ending with .come like xxxxx@gmail.com
    (We are making a rest api of our Magento 2 when we enter email id like xxxxx@gmail.com then we are getting that error - )

Expected result

  1. Getting errors -
    "Email is not valid hostname.'gmail.com"' looks liks a DNS hostname but we cannot match the TLD against known list.'gmail"' does not not look like a valid local network name."Email" is not a valid email address.

Is anyone is there how to resolve this ?

Actual result

  1. Customer Add Successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions