ffsend icon indicating copy to clipboard operation
ffsend copied to clipboard

[Feature Request] Providing option to mail the download link to reciepient through terminal

Open brohithkr opened this issue 1 year ago • 3 comments

It would be really convenient if users could provide an email while providing a file to upload so that the generated link is mailed to recipients email all through terminal. It would be something like: ffsend upload hello.txt --mailto [email protected]

brohithkr avatar Nov 27 '23 18:11 brohithkr

I would be happy to work on this feature if its considered to be a useful.

brohithkr avatar Nov 27 '23 18:11 brohithkr

I would be happy to work on this feature if its considered to be a useful.

I would actually find this feature useful via the GUI under "Send". You can do something like this here: https://www.swisstransfer.com/ I think it would be possible to implement this in Send as well. What do you think?

Skyfay avatar Dec 28 '23 20:12 Skyfay

You could do this automatically in Thunderbird with my FileLink provider for Send add-on, but this of course does not work in the terminal. To send the link from the command line, you may want to consider writing a simple wrapper script for ffsend to collect the download link and then send it to the recipients with a dedicated program for sending e-mail, such as the Send Msg CLI.

tdulcet avatar Dec 29 '23 10:12 tdulcet