Each send command routine requires the same steps. This commit moves repeated code into one function.
Attach a file by drag & drop or click to upload