Home
Man
Search
Today's Posts
Register

BSD, Linux, and UNIX shell scripting Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

How to send mail tar.gz has attachment using cygwin?

Tags
attachment, cygwin, mail, shell scripts, tar

Login to Reply

 
Thread Tools Search this Thread
# 8  
Old 2 Weeks Ago
Run ls -l "D:\cygwin\home\body" and show the output please.

Also, what kind of file is D:\cygwin\home\body ? Windows text or UNIX text?
# 9  
Old 2 Weeks Ago
Quote:
Originally Posted by Corona688
Run ls -l "D:\cygwin\home\body" and show the output please.

Also, what kind of file is D:\cygwin\home\body ? Windows text or UNIX text?
I am using cywin so it will be unix format plain text file. I can able to send Body message in mail. If use body, tar attached was not coming at a time any one was working.

I can either do attachment or body
# 10  
Old 2 Weeks Ago
Quote:
Originally Posted by ranjancom2000
I am using cywin so it will be unix format plain text file.
That you're using cygwin is what makes me suspect it's not.

In any case, I still want the output of ls -l
# 11  
Old 1 Week Ago
Pls find the ls -ltr image

Pasteboard - Uploaded Image
# 12  
Old 1 Week Ago
You changed it. Run this exact command word-for-word, letter-for-letter, keystroke-for-keystroke.
ls -l "D:\cygwin\home\body"
# 13  
Old 1 Week Ago
Sorry from Cywin windows path will not work. But for mailsend it use the windows path

Pasteboard - Uploaded Image

Pasteboard - Uploaded Image
# 14  
Old 1 Week Ago
Quote:
Originally Posted by ranjancom2000
Sorry from Cywin windows path will not work. But for mailsend it use the windows path
Try the UNIX path anyway. Also try doubling up the Windows path like d:\\path\\to\\file.

Why are you posting images of text?
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Send Mail With Attachment vamshi929 Shell Programming and Scripting 1 07-20-2018 10:25 PM
Send mail as attachment Amit786 Shell Programming and Scripting 4 12-19-2013 10:11 AM
Send mail using attachment unankix Shell Programming and Scripting 3 06-27-2012 11:21 AM
How to send mail with attachment in Unix parthmittal2007 Shell Programming and Scripting 8 04-03-2012 10:59 AM
How to send colorful text and attachment to mail AhmedLakadkutta Shell Programming and Scripting 0 09-22-2011 11:24 AM
send attachment and body in one mail using mailx ashwin3086 Shell Programming and Scripting 4 06-24-2010 01:39 AM
How to send html file in a mail not as an attachment but it should display in the mail in table for mani_isha UNIX for Dummies Questions & Answers 0 03-30-2010 04:37 AM
Send mail with attachment having csv files atinjain05 AIX 2 02-23-2010 06:31 AM
How to send a mail with attachment? albaalbetti Shell Programming and Scripting 4 11-19-2009 11:59 AM
how to send file as attachment using mail or mailx kieranfoley UNIX for Advanced & Expert Users 1 05-21-2009 08:45 AM
how to send a attachment mail in unix mail2sant Shell Programming and Scripting 6 11-20-2008 02:02 AM
how to send file as attachment with mail ? alert_every1 UNIX for Advanced & Expert Users 2 08-17-2008 03:10 AM
send mail attachment to lotus notes gwrmk Shell Programming and Scripting 2 04-24-2008 07:49 AM
Send an attachment and html text both in the same mail stefan.yu Shell Programming and Scripting 4 10-26-2006 10:46 PM
How to send a mail with an attachment from AIX 5.2 OS? mintu41 AIX 1 01-30-2006 12:02 PM


All times are GMT -4. The time now is 08:09 AM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password