Sponsored Content
Top Forums Shell Programming and Scripting A shell script for checking the last image and sending it in attachment to mail Post 303024396 by maxbcn on Monday 8th of October 2018 02:07:14 AM
Old 10-08-2018
Yes ,whith this code apearsrs last picture file on terminal. Now I need to send it to email it to my self. Thank you
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Error when sending mail attachment

I have been sending an email attachment from my unix box, but keep getting an error? All though the recipient still receives the email and attachment. Will this error cause problems in the future and how to I cure it? $ uuencode PReSvPRINTER.txt file | mailx -s "File" me@world.com uuencode:... (1 Reply)
Discussion started by: dbrundrett
1 Replies

2. UNIX for Dummies Questions & Answers

Sending attachment thru a mail

Is there any way we can send file attachemnts through mails from a unix server. Does the 'mail' command have such an option ?? (1 Reply)
Discussion started by: Rohini Vijay
1 Replies

3. Shell Programming and Scripting

Sending HTML attachment through mail

Hi I am new to unix and scripting.I am trying to send a html file as an attachment. SUBJECT="Type of Exceptions in Application" TO=Sushovan.Samals@gmail.com SPOOLFILE=/data/reg/tlogs/Monitor.html #echo "Send the E-mail message..." uuencode $SPOOLFILE $SPOOLFILE | mailx -s "$SUBJECT" $TO... (2 Replies)
Discussion started by: sushovan
2 Replies

4. UNIX for Dummies Questions & Answers

Issue on sending a mail with attachment using unix script ?

Issue on sending a mail with attachment using unix script ? Below is my code and is working fine and there is a issue in the attachment, the attachment file printing as a text-encripted message in the mail draft box instead of putting as a attachment (cat $msg; uuencode $attach1 in1.txt ;... (2 Replies)
Discussion started by: gksenthilkumar
2 Replies

5. Shell Programming and Scripting

Problem in Sending mail as an attachment

Hi, I need to send a email as a txt file and i used the commands, (echo `echo $EMAIL_MSG` ; uuencode "file.txt" "file.txt" ) | mailx -s "$EMAIL_SUBJECT" "$EMAIL_ID" I received email with a attachment with all data but i get all of them in one row. For example: If file.txt contains value... (1 Reply)
Discussion started by: skcvasanth
1 Replies

6. UNIX for Advanced & Expert Users

Sending mail with attachment

Hi, I am using Sun solaris OS unix server I am trying to send mail with an attachment using below script cat test.txt;uuencode test.txt test.txt|mailx -s "$subject" someone@somewhere I m getting mails but with no attachment. Hence i manipulate the script as below and i am... (2 Replies)
Discussion started by: sv0081493
2 Replies

7. Shell Programming and Scripting

Problem in sending mail with attachment

Hi Team, I have written the following code snippet to send mail with attachment to recipient. But I am getting mail with attachment. But the file is empty. All the 3 Attachment* size is more than 80KB. Not sure what is wrong in the command. MSG_BODY1="hi" LOG_FILE="a/b/c/log1.log"... (2 Replies)
Discussion started by: kmanivan82
2 Replies

8. Shell Programming and Scripting

Need help in sending html mail with attachment

Hi Everyone, I am facing problems in sending html mail with attachemnt. I will able to send mail with attachment (plain text ) using mailx -s and uuencode command and also html mail without attachment using sendmail option. However I am not able to send html mail along with attachment.Either... (2 Replies)
Discussion started by: karthik adiga
2 Replies

9. How to Post in the The UNIX and Linux Forums

Sending a mail with different attachment in AIX

How to Send a mail with multiple attachment also differenet extension using uuencode in AIX. Can you please help me. Its so urgent. Thanks. Regards, Swapnil ---------- Post updated at 05:37 AM ---------- Previous update was at 05:35 AM ---------- I have below code. But attachment... (1 Reply)
Discussion started by: Swapnil Mawle
1 Replies

10. Shell Programming and Scripting

Sending mail with attachment(image) using sendmail in Linux(ksh)

Hi guys, I am trying to send a mail with below command which is working fine. $FilePath_mail have To,From and other information along with mail body which is in HTML format. I want to have image(logo) in the body. So just wanted to send it as an an attachment. /usr/sbin/sendmail -t <... (1 Reply)
Discussion started by: balakrishnaps
1 Replies
RA_PICT(1)						      General Commands Manual							RA_PICT(1)

NAME
ra_pict - convert Radiance pictures to Macintosh PICT files SYNOPSIS
ra_pict [ -e +/- stops ] [ -v ] [ -g gamma ] [ infile [ outfile ]] DESCRIPTION
Ra_pict converts a Radiance picture, as produced by rpict (1) to a Macintosh PICT file. The picture will be a 24 bit PICT 2 picture, using a single bit map (DirectRect). OPTIONS
-g gamma This sets an explict gamma correction for the image. If it is not specified, the default value of 2.0 is used. -v Invokes verbose mode, and gives line on standard error giving the size of the picture and the gamma correction used. -e +/- stops Adjusts the exposure by stops. infile Specifies the file to read the picture from. If none is specified, it takes it from standard input. If standard input is used, then the picture is sent to standard output. outfile Specifies the file to send the PICT file to. If none is specified, it is sent to standard output. EXAMPLES
ra_pict mypict.hdr mypict.pict Will convert the Radiance picture mypict.hdr, giving the Macintosh PICT mypict.pict. ra_pict -g 2.2 mypict.hdr mypict.pict Will convert the file using a gamma of 2.2. SEE ALSO
rpict(1) BUGS
Does not yet do Macintosh PICT to Radiance PIC, as this PICT files are a lot more complex than just one bit map. This is left as an exer- cise for the reader :-) AUTHOR
Russell Street RADIANCE
11/15/93 RA_PICT(1)
All times are GMT -4. The time now is 08:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy