/tool e-mail send file problem

Hello

I have problem with /tool e-mail send file
when I run this from command line :

  /interface print detail file=out
  /tool e-mail send subject="test" to="username@address.pl" from=
username@address.pl" server="email_server_ip" file=out

I got on email email message with attached file out1.txt (there is added “1” to end of filename) and attached file is empty.
of course there is file out.txt in main router directory and this file is
not empty.

Please help with this, is this bug ??

best regards
Slawomir Swider

Without testing - when your file is named “out.txt”, I suppose you should also use “file=out.txt” and not just “file=out” in the command line?

Best regards,
Christian Meis

Hi
The problem is sending attachment not generating file, but i checked your suggestions, there is output from my mikrotik

[admin@MikroTik] > interface print detail file=out.txt         
invalid file name
[admin@MikroTik] > interface print detail file="out.txt"
invalid file name
[admin@MikroTik] >

btw i’m using v. 2.9.19, can some one check this on 2.9 version ??

regards
Slawek Swider

[admin@MikroTik] > interface print detail file=out
[admin@MikroTik] >

That seems to work here on 2.9.19.

Sam

The problem is sending attachment not generating file

Slawek

problem solved

it was problem with my email client incredimail, (i dont know why ?)

regards
Slawek