How can send output of :put command to a file

I have script listing transfer bytes of queue, and need send to file for export.
The script ending with :put command.
How can make this?
Thanks

via e-mail ?

something else?