5.5.1 Invalid command
Permanent: retrying will not helpThe server did not accept a command in the conversation.
Usual causes
- A misbehaving mail script or client.
- Trying to send before logging in, on a server that requires it.
What to do
- Use a mail library or an email API.
- Log in first, on the port your provider documents.
Usually the fault of: sender.