07-27-2006
Hi
Please try this one . This works from sending mail from Solaris box to MS Outlook
uuencode file_to_be_snt_as_attachment file_name_you_want2b_seen_in_attachemnt | mailx -s "Hi" "xxx@yyy.com"
uuencode :- is the unix command to encode a file for sending as an attachment.
file_to_be_snt_as_attachment :- is the name of the file you want to attach
file_name_you_want2b_seen_in_attachemnt :- once you receive the mail you see this name in the attached file. (Note :- This could be the same as argument 1).
mailx -s :- -s is for the subject and then the mail id
Hope this helps. This works in solaris to MS Outlook and to Lotus notes.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, Gurus,
I need some help with sending mail out from my UNIX server:
It is running Solaris 2.6 and the sendmail version is 8.8.
Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.8.8+Sun
Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET
... (5 Replies)
Discussion started by: b5fnpct
5 Replies
2. UNIX for Dummies Questions & Answers
Another question if you guys don't mind, if you do this:
cat * |mailx -s xxxxx <email>
it will send files to a email address displayed as sdout, is there a quick way to send files to a e-mail address but as a attachement? Say if I renamed files to .xls on unix, and sent them to a e-mail... (4 Replies)
Discussion started by: nj78
4 Replies
3. Shell Programming and Scripting
Hi,
In my script, i am using tar to combine 2 files, so that i can attach it to the mail.
everything is working fine and sending the mail successfully. But, when i save the file to desktop and unzip it.
a series of directories are there and finally those tar files are there.
i am using tar -cf... (1 Reply)
Discussion started by: javeed7
1 Replies
4. Shell Programming and Scripting
HEllo All,
when the data file is being attached and mailed as file1.csv, the column data( e.g: 88E00, 99E00, 77F12, 66H18).
The data 88E00 and 99E00 is being converted to 88E+01, 99E+01.
All other data is fine.
I need the file attached as .csv from unix only.
Is there a way we can manage... (2 Replies)
Discussion started by: OSD
2 Replies
5. Shell Programming and Scripting
i wrote this code(( cat $REPORT_EMAIL;uuencode <$OUTFILE $OUTFILE ) | mailx -s "Auto Policy Attach Report Before batch job " $SUPPORT_EMAIL_GRP) in my shell script to attach afile
but in the mail i donot get a attachment
contais of the mail is
Auto Policy Attach Report Before batch job... (0 Replies)
Discussion started by: alokjyotibal
0 Replies
6. Shell Programming and Scripting
Hi all,
Currently in shell script i am using the following command to send mail
echo "Certain assets are not loaded properly. PFA the result of the DataLoad" | mail -s "Weekly DataLoad - Failure Notification !!" $MAILINGLIST
I need to attach a file along with that. How should i handle this... (7 Replies)
Discussion started by: ananthi_ku
7 Replies
7. Web Development
Dear Sir,
I have got a php mail form code.
Using this code, I want to use the JavaScript for " Thank You " pop-up window in the php form mail code.
Where do I add the pop-up JavaScript for "thank you" ?
My code is as follows:
<?php
//--------------------------Set these... (1 Reply)
Discussion started by: swapan
1 Replies
8. Shell Programming and Scripting
Hi,
My requirement is to get attach two different text file contents to two different sheets in same excelsheet. Also, is there any way we can name the tabs as desired ?
Kindly assist. (2 Replies)
Discussion started by: sanjaydubey2006
2 Replies
9. Shell Programming and Scripting
Hi ,
Iam want to send the mail with attachment , iam using below in my script
uuencode /path/pathname/filename filename.csv | mailx -s "subject of mail" vinoth@xxx.com
when i trigger the script manually from command prompt i can get with the attachment but when i schedule it in crontab... (4 Replies)
Discussion started by: vinothsekark
4 Replies
10. UNIX for Advanced & Expert Users
Hi all,
I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix.
How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies