10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am trying to send a gzip file on email using below command but the zipped file received on email is corrupt.
mailsend -smtp $smtpip -content-type 'application/x-gzip' -mime-type "application/x-gzip" -t $receiver -f $sender -sub "$subject" -M "$MSG" -attach $file
file name is ... (1 Reply)
Discussion started by: tushar.modgil
2. UNIX for Dummies Questions & Answers
I am creating an Alert that will notify supervisors of staff members who are due for probation report. I am using Operating System Script(Unix) as source.I have already developed the script.
Now the challenge is if there are 3 employee records then the alert... (2 Replies)
Discussion started by: nosi27
3. Shell Programming and Scripting
I need to send a attachment which has space in the file name as: "ABC Data Extract.txt" which is present in the location /home/projects/txt
i am using
mailx -s "Sub" email_id "/home/projects/txt/ABC Data Extract.txt"
but i am not getting the attachment. (7 Replies)
Discussion started by: ATWC
4. Shell Programming and Scripting
want to send .csv file as an attachment using mailx command.
Please help!!! (1 Reply)
Discussion started by: gagandeep
5. Shell Programming and Scripting
I want to send a file as an attachment through cron job.Is this possible using cronjob nd if it i, can you please let me know how to do this?
Thanks (2 Replies)
Discussion started by: NARESH1302
6. UNIX for Advanced & Expert Users
I have a need to send a file from the unix command line to be sent as an attachment. Is this possible? That is when I open my outlook email I need to file to appear as an attachment.
Also, is there a way to use the mail binary (not mailx) to modify the "reply address". mailx -r works but I need... (1 Reply)
Discussion started by: kieranfoley
7. Shell Programming and Scripting
My requirement is:
1. To read a file that contains log file location and server name. The format of the file is something like this :
2. Now I wants to grep "error" string from the logfilename and put it into another file for... (3 Replies)
Discussion started by: acheiver
8. UNIX for Advanced & Expert Users
i m new to linux/unix , well in my college their is linux server to which we all (i and my frnds) login
, we can send mail to each other through command "mail" .
but any one can tell me how can i attached a binary file with mail.
we are using red hat , "pine ", "mailx" , all... (2 Replies)
Discussion started by: alert_every1
9. Shell Programming and Scripting
iam using the following command:
uuencode file1.pdf file1.pdf|mailx - s "waz up?" email@example.com
Iam recieving an encoding error when i try to open the attachment.
Pls help..very urgent!!! (1 Reply)
Discussion started by: Brat
10. UNIX for Dummies Questions & Answers
i am very new in the unix sector. (i work on HP UX, an Sun Solaris)
i can write some simple scripts,.....
but now i will wirte a script with "mail".
i would like to send a pdf file to a mail recipient.
But if i try it with "mail -s "email@adress" < "filename(with path)" it... (3 Replies)
Discussion started by: scotty