this may be a dumb assumption, but if the mail account is on the command line computer, wouldn't cp work?
and if the file is not on the command line computer, don't you need an email client to create a wrapper?
Someone here pointed me to WinSCP2 to use to move files from windows clients to/from SME, works great wherever I have privileges, BLAT is very useful too