10 More Discussions You Might Find Interesting
1. How to Post in the The UNIX and Linux Forums
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
2. Shell Programming and Scripting
Hi,
I am using the below code:
#!/bin/ksh
SUBJ="Send mail from Unix with file attachments"
TO=sudha.viswanathan@jpmorgan.com
CC=sudha.viswanathan@jpmorgan.com
(
cat << !
To : ${TO}
Subject : ${SUBJ}
Cc : ${CC}
!
cat << !
MIME-Version: 1.0
Content-Type: text/html
`cat... (1 Reply)
Discussion started by: sudvishw
1 Replies
3. Shell Programming and Scripting
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
4. UNIX for Advanced & Expert Users
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
5. Shell Programming and Scripting
Hello,
I need to send below text (in a file ABC)as html text in mail body and the same as csv attachment
1,2,3
4,5,6
7,8,9
but to send as html text in mailbody we use
echo "Subject: Report " | cat - ABC | /usr/lib/sendmail -t a@xyz.com
and to send as an attachment in csv format we... (9 Replies)
Discussion started by: skhichi
9 Replies
6. 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
7. Shell Programming and Scripting
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=border
--border
Content-Type: text/html
Content-Disposition: inline
<html><body><h2>This text should be displayed with html formatting</h2></body></html>
--border
Content-Type: text/plain
Content-Disposition: attachment
This text... (2 Replies)
Discussion started by: thulasidharan2k
2 Replies
8. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
9. UNIX for Dummies Questions & Answers
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
10. UNIX for Dummies Questions & Answers
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