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
# 15  
Old 4 Weeks Ago
You could also try cygpath eg:

Code:
$ mailsend -f from@dummy.com -smtp 10.0.0.1 -t TO@dummy.com -sub "Test mail" -attach $(cygpath "D:\cygwin\home\test.tar.gz")

# 16  
Old 4 Weeks Ago
Quote:
Originally Posted by Chubler_XL
You could also try cygpath eg:

Code:
$ mailsend -f from@dummy.com -smtp 10.0.0.1 -t TO@dummy.com -sub "Test mail" -attach $(cygpath "D:\cygwin\home\test.tar.gz")

Buy default i can able to send attachment. But if i want to add body attachment was missing
Login to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Similar Threads 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 03:17 PM.

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





Not a Forum Member?
Forgot Password?