1

Previously, I was using uuencode command to send multiple attachments from VNC to Windows using email and it worked fine.

However, when i try to send multiple attachments from NX to Windows using the same command, it did sent a mail but the content of the mail is more like ASCII code.

Is there probably any other way for me to send multiple attachments from NX or even other than VNC to an email account?

closed as unclear what you're asking by Gilles, Jeff Schaller, Sparhawk, Satō Katsura, Kusalananda May 26 '17 at 7:29

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    I don't understand the question. What do NX and VNC have to do with email? And what is the problem with “the content of the mail is more like ASCII code” — the point of uuencode is to get something that could reasonably be described as “ASCII code”? – Gilles May 25 '17 at 22:20
0

For sending multiple attachments in the same message from a Unix/Linux system, you also have the alternative of sending them via the command line.

Using uuencode you just have to concatenate the several uuencoded attachments from the command line; as in:

(uuencode file1 /dev/null ; uuencode file2 /dev/null ; uuencode file3 /dev/null )| mail -s "subject" myemail@example.com

If missing uuencode, to install it on Debian:

sudo apt install sharutils

Not the answer you're looking for? Browse other questions tagged or ask your own question.