sendto plugin: Fix bugs in new sendto plugin option