Aix send mail attachment uuencode download

Then join the message file which is the body of the email along with the uuencoded file which. Mail command to send attachements unix and linux forums. Need to send attachment in mail without using uuencode via script in aix6. The a options is easier to use that the uuencode command. Please refer the the uuencode man page for more information. The trouble is, i have to send through smtp but the image file isnt getting decoded by my mail client ive tried in thunderbird and in various webmail interfaces, same result. If you dont have the mutt command installed, use the following command to email files as attachment from unix command prompt or shell scripts.

Email multiple file attachments from solairs aix hpux unix. On redhat and related distributions, uuencode is part of the sharutils package. This is useful before using bnu or uucp mail to send the file to a remote system. H ey quick question how do i mail files from ibm aix hpux unix as attachments from my shell scripts or command line. If you have mimeconstruct, then it is relatively easy. Introduction to linux a hands on guide this guide was created as an overview of the linux operating system, geared toward new users as an exploration tour and getting started guide. Basic syntax to send emails from linux machine using mailx command is show below. If uuencode is not installed you have to install the package. If you have mutt email client installed, try the mutt command as described here. However on my linux machine this isnt happening it is sending the email with the uuencode output as the body of the email and no attachments. Ibm certified specialist aix system administration archdiocese of boston ph. What you are doing is asking mail to put into message body whatever uuencode produces.

Email multiple file attachments from solairs aix hpux. How do you send an attachment via e mail from aix to windows. I am using the following command to send pdf attachment with a mail. If it doesnt contain the right headers, it will become plaintext mail body. Use mutt command to send files as mail attachments under linux unix oses. On ubuntu, i was able to successfully send mail with attachment using. I there any other way to send attachments with mail through command line. This normally sends an email with the subject info and contains the attachments info. The uuencode command converts a binary file to ascii data. How to send an email with attachment and body from linux. How do you send an attachment via email from aix to windows. Is there any other way to send attachments with mail through command line.

How to attach a file to an email using command line in rhel 6 and. The simplest way to send a file as a mail attachment is shown by the following. At the same time i dont have admin access for the same to install the utility i use aix 5. The author is the creator of nixcraft and a seasoned sysadmin, devops engineer, and a. Open a ticket and download fixes at the ibm support portal find a technical tutorial in ibm. The program used for this is called uuencode unix to unix encoding, the. You can send an email with both attachment and body message as shown below. First create the attachment file by using uuencode. To encode the file unix on the local system and mail it to the user jsmith on another.

1489 677 1539 1134 948 160 881 1010 748 1434 1135 610 799 1368 262 1021 1384 1200 1403 783 739 1434 568 140 1119 661 955 441 1184 1306 437 1452 1128 544 925 427 912 19 1489 399 586 990 1089 346 1138 301 1102