In a data transmission apparatus, an input unit inputs data, and a transmission
unit transmits the inputted data to a destination. A discrimination unit discriminates
an attribute of the inputted data, and a storage unit stores the inputted data
to a predetermined memory. A control unit controls a transmission operation of
the transmission unit in accordance with a discrimination result obtained by the
discrimination unit, such that the transmission unit transmits to the destination
the inputted data or information indicating a storage location used by the storage unit.