The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
to pick up the Return Code ( RC) from the mailx command and return it to SAS uisng 's manas6 UNIX for Dummies Questions & Answers 0 06-05-2008 06:44 AM
Not able to send email as CC to a ID using Mailx command in HP UX rohit.shetty84 UNIX for Dummies Questions & Answers 1 05-14-2008 03:27 AM
Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win) Vetrivela UNIX for Advanced & Expert Users 2 02-15-2005 10:43 AM
sending email from mailx legato UNIX for Dummies Questions & Answers 1 11-04-2004 10:31 PM
mailx in kornshell script passing return code to CA-Unicenter Connie UNIX for Advanced & Expert Users 1 04-23-2002 08:45 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-23-2007
lisa0703 lisa0703 is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 1
Mailx Return Email Command

Hi,

I'm trying to use the Mailx Return Email Command with a file attachment.
If I use the file attachment by itself, it works ok. But If I add the return email command, it won't attach the file to email.

Subject, return_email_address
Send_email_address, Body, attachment, attachment_output_name


mailx -s "${subject}" -r ${return_email} ${addresses} <<EOF
${body_text}
~< ! uuencode ${attachment} ${attachment_output_name}

~.
EOF
  #2 (permalink)  
Old 01-23-2007
Ygor's Avatar
Ygor Ygor is offline Forum Staff  
Moderator
  
 

Join Date: Oct 2003
Location: -31.96,115.84
Posts: 1,407
http://www.unix.com/answers-frequently-asked-questions/
Closed Thread

Bookmarks

Tags
mailx, mailx attachment

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




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


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0