use sendAsBinary