Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Can you e-mail files as attachments from unix to windows? Post 80919 by nj78 on Saturday 13th of August 2005 03:20:01 PM
Old 08-13-2005
Can you e-mail files as attachments from unix to windows?

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 address so someone could open them up as xcel sheets on a unix box? This would be nice instead of having to use ftp to copy them. Thanks.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mail attachments

I'm writing scripts on HP-UX. Is there a way to attach a file to a mail message. I don't want to imbed the data in the mail message. (1 Reply)
Discussion started by: Multithreaded
1 Replies

2. UNIX for Dummies Questions & Answers

file name got cut when using mail attachments

I am using the following command to send a zip file as an attachment to my internet email-id. uuencode ABC_DEFG_HIJ.zip ABC_DEFG_HIJ.zip | mail -s "attachment from shell" pal@yahoo.com Eventhough i have given the attached file as 'ABC_DEFG_HIJ.zip', when i receive the mail in my internet... (3 Replies)
Discussion started by: Pal
3 Replies

3. UNIX for Dummies Questions & Answers

sending attachments in mail

Hi , i have tried the following command to send an email with an attachment its working fine but i am getting mail with the embeded content inside the mail that too truncated. i wanted it as an attachment. /usr/lib/sendmail -F "MAC SIA" address "rajendra@abc.com.sg" -t <... (6 Replies)
Discussion started by: rajendragora
6 Replies

4. AIX

Send mail attachments and have a mail body

Hi, How can I send mail attachments from shell script (AIX) and have a mail body as well ? Thanks in advance. (1 Reply)
Discussion started by: shibajighosh
1 Replies

5. Solaris

mail with attachments

I want to send a mail with three attachments, but nothing happened. I tried it with mail and mailx. Are there special options for these commands or is it not possible to send mails under Solaris with attachments? Must there be special adjustments in the environment? Can anyone give an... (6 Replies)
Discussion started by: ninjadan
6 Replies

6. UNIX for Advanced & Expert Users

Mail attachments getting corrupted...

Hi , Whenever I try to send mails with attachments to external email Id's the attachment is not encoded properly which appears along with body (text) of the mail. The attachement is always getting corrupted. Can anyone please suggest a solution. Regards, Sandipan (1 Reply)
Discussion started by: Sandipan
1 Replies

7. HP-UX

Sending Unix files as attachments in an email

Hi, I am executing the following command in order to send a file as an attachment: mailx -s "Subject" emailID@xyz.com < Testfile.txt Instead of attaching the file Testfile.txt, it is writing the contents of the file in the email message body. Please advise on how I can send the file as an... (7 Replies)
Discussion started by: sangharsh
7 Replies

8. Shell Programming and Scripting

Reading Mail attachments using unix

:wall:hi all, please somebody can help me out in reading the pop3 mail attachments or saving it locally i have a mail account where i receive .csv attachments i need to read that attachments and process them. any sample code can be much appriciated Removed email :wall: (3 Replies)
Discussion started by: srikanthkadapal
3 Replies

9. Shell Programming and Scripting

unix email attachments in web mail

Hi, Request you to please help on my issue. My issue is: We are able to send the log files as an email attachment. We are able to get the attachment in our inbox. But when we try to see in web mail, instead of the attachment, junk characters are displaying. Appreciate your help. Regards,... (10 Replies)
Discussion started by: gi.srinivas
10 Replies

10. Shell Programming and Scripting

Adding Attachments to mail

Hi, I need to send a mail with html code in body and an attachment along with the body and subject. The html code must display a table with data in it in the mail. I have tried the 'sendmail' command, but I am am able to display the table in the mail and unable to attach an attachment. ... (5 Replies)
Discussion started by: Durga Prasad NK
5 Replies
EBNDAILY(1)							   User Commands						       EBNDAILY(1)

NAME
ebndaily - get stats for ebnetd and send it to admins SYNOPSIS
ebndaily [option...] mail-address... OPTIONS
-a INTEGER --ages INTEGER keep INTEGER ages of old syslog files (default: 7) -c TYPE --compressor TYPE how to compress old syslog files; compress, gzip, bzip2 or none (default: none) -h --help display this help, then exit -l FILE --log-file FILE specify a syslog file (default: /var/log/ebnetd.log) -n --no-mail do not send report mail -v --version display version number, then exit -1 --fast compress faster when using gzip or bzip2 -9 --best compress better when using gzip or bzip2 Arguemnts: mail-address receipient of a report from ebndaily. REPORTING BUGS
Report bugs to m-kasahr@sra.co.jp. COPYRIGHT
Copyright (C) 1997 - 2003 Motoyuki Kasahara SEE ALSO
The full documentation for ebndaily is maintained as a Texinfo manual. If the info and ebndaily programs are properly installed at your site, the command info ebndaily should give you access to the complete manual. ebndaily (EBNETD) version 1.0 October 2006 EBNDAILY(1)
All times are GMT -4. The time now is 10:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy