SMTP Error Code: 504 4.5.1

what's your mail server saying?

Lookup for "504 4.5.1"

Temporary Error - This status code indicates a transient issue and may resolve itself.

Basic Status Code Details (504)

Command parameter not implemented

Enhanced Status Code Details (4.5.1)

Invalid command

A mail transaction protocol command was issued which was either out of sequence or unsupported. This is useful only as a permanent error.