9 More Discussions You Might Find Interesting
1. Red Hat
Hello experts!!
I am trying to send an email with message body and attachment.but i am getting any one like message body or attachment.
I tried below command:
(echo "subject:test";echo "MIME-Version: 1.0";echo "content-transfer-encoding:base 64";echo "content-type:txt;name=test.txt";cat... (2 Replies)
Discussion started by: Devipriya Ch
2 Replies
2. Shell Programming and Scripting
I have a file in unix, while i do email that file to some one from unix, the attachment file data is displaying in the email. (as body of the email).
but if the file has some special characters , the file is emailing as attachment.
But i need the file as the body in the email if it has special... (1 Reply)
Discussion started by: nani1984
1 Replies
3. Shell Programming and Scripting
i have to attach the 'body in the email' along with attachment below code is throwing errors, how can i do it ?
here body file contains message, it should display in email, please help
i am using HP-UX
(cat body ;) (uuencode attch1 attch1 ;) | mailx -m -s "testing" "abc@gmail.com"
... (4 Replies)
Discussion started by: only4satish
4 Replies
4. Solaris
I'm trying to send a .zip file from my unix box to my work email (email client outlook)
The file name that I'm trying to sent is sites.zip and this is how I do it:
uuencode sites.zip | mailx -s "testing" myname@mydomain.com
When I open the .zip, the zip is empty. Looking around the we, I... (17 Replies)
Discussion started by: amb1s1
17 Replies
5. AIX
Hi,
I have .ksh file which internally calls a .sql file. This sql file writes a file with the result. I am using the following command to send email with the result file as attachment
uuencode file.txt file.txt | mail -s "Subject" abc@abc.com.
When i run the .ksh file i get a message you... (5 Replies)
Discussion started by: piyushprabhakar
5 Replies
6. UNIX for Dummies Questions & Answers
Hello:
I've searched de forum but could not find an answer to send an email via sendmail in HTML with an text-file (plain-text) as attachment:
My code:
export FROM="Me"
export MAILTO="mymail"
export SUBJECT=$TITULO$bbdd
export BODY=$LOG
(
echo "FROM:$FROM"
echo "To: $MAILTO"... (2 Replies)
Discussion started by: Felix2511
2 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to send a mail with an attachment and message. Following command I am using.
(cat <messagefile> ; uuencode <attachmentfile> <attachmentfile>)|mailx -s"Subject" dave@email.com
In the received mail, message body is appearing fine. But attachment is not coming. Rather... (2 Replies)
Discussion started by: nihar.dutta
2 Replies
8. Shell Programming and Scripting
Hi,
I use MIME::Lite to send an e-mail with an attachment:
$msg = MIME::Lite->new(
From =>$usermail,
To =>$tomail,
Subject =>'Nieuw Pegasus Adresboek',
Type =>'multipart/mixed'
);
$msg->attach(Type =>'TEXT',
Data =>$message
);
$msg->attach(Type =>'text/plain',
Path... (4 Replies)
Discussion started by: tine
4 Replies
9. UNIX for Advanced & Expert Users
Hi, I am trying to include a message along with an attachment with an email using mailx on AIX.
uuencode Test.dat Test.dat| mailx -s 'Testing' mymail@yahoo.com < MESGFILE
This only gives me the contents of MESGFILE as my message.
If I remove the < FILE I recieve the attachment.
What... (4 Replies)
Discussion started by: edog
4 Replies