10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
We are using HPUX and have a script to send PDF attachment via MAILX
Basically the script does the following:
echo > $HOME/MY_mail_file
uuencode o40881754.pdf o40881754.pdf >> MY_mail_file
cat MY_mail_file | mailx -m -s "Sending PDF attachment" <email address>
This script works... (7 Replies)
Discussion started by: Michel
7 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have a script which is sending an html file as an attachment.
#!/usr/bin/ksh
export MAILTO="user@company.com"
export CONTENT="/usr/tmp/file.html"
export SUBJECT="EmailSubject"
(
echo "Subject: $SUBJECT"
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo... (0 Replies)
Discussion started by: sreenathkg
0 Replies
3. Shell Programming and Scripting
Team,
I have the below code, which is working fine and it sends the html report using sendmail command.
I want to attach one more file ( which goes as attachment ) in that email. How to achieve it.
i tried with uuencode. But no luck :mad:
outputFile="/tmp/out.html"
(
echo... (2 Replies)
Discussion started by: itkamaraj
2 Replies
4. Shell Programming and Scripting
The below code is not working. I am able to send only inline html or only attachment. When trying to do both, only inline html is sent without attachment. Please help!
#!/bin/ksh
(echo "Subject: Test Mail - HTML Format"
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo... (1 Reply)
Discussion started by: thulasidharan2k
1 Replies
5. UNIX for Advanced & Expert Users
hi..
Could somebody help me how to sent an attachment using sendmail command and the content is HTML format ?.
Below is my code to sent the email as HTML but i do not know how to sent the attachment, please help me
To: "BAHARIN HASAN"<baharin.hasan@gmail.com>
from: "DATAONE SDN... (4 Replies)
Discussion started by: bh_hensem
4 Replies
6. Red Hat
Hi there..
I need a proper "mutt" command to send a mail with html body and html attachment at a time.
Also if possible let me know the other commands to do this task.
Please help me.. (2 Replies)
Discussion started by: vickramshetty
2 Replies
7. AIX
I am using the following command to send PDF attachment with a mail.
uuencode <attachment.pdf> <attachment.pdf>|mailx -s <subject> <mail_id> < <Message_file.txt>
This one send the message with attachment. I would like send PDF attachment with the mail
Can any one help with this issue ?
... (0 Replies)
Discussion started by: sunjup
0 Replies
8. Shell Programming and Scripting
Hi all,
I am working on UNIX (Solaris28). I would like to send an email in which the body will be in html format and, in the same mail, a xls file has to be attached.
I have tried this: the file is correctly attached but the body comes as html source and not formatted. If I do not attach the... (4 Replies)
Discussion started by: stefan.yu
4 Replies
9. Shell Programming and Scripting
Hi,
iam using the following command:
uuencode file1.pdf file1.pdf|mailx - s "waz up?" xyz@domain.com
Iam recieving an encoding error when i try to open the attachment.
Pls help..very urgent!!! (1 Reply)
Discussion started by: Brat
1 Replies
10. UNIX for Dummies Questions & Answers
Hi there,
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
3 Replies