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 > Special Forums > UNIX and Linux Applications
.
google unix.com



UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
VMDB Failure" followed by "Unable to open snapshot file" s_linux SuSE 0 02-10-2009 12:01 PM
iPhoto 6: "Unable to upgrade this photo library" message iBot OS X Support RSS 0 10-16-2008 11:50 PM
getting "mi_cmd_var_create: unable to create variable object" error msg dona_m High Level Programming 14 08-18-2008 11:40 AM
Probably an easy SMIT question- "Unable to open temp file" jeffpas AIX 6 02-29-2008 06:06 PM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-20-2007 01:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-14-2009
vinayakatj56 vinayakatj56 is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 18
"Unable to send a mail"

hi,,

i am trying to excexute one simple script.
what it suppose to do is, just send a mail to the mentioned mail id.

here is my code..

mutt -s "Test mail" my mail id < /dev/null

its giving " : No such file or directory null " error.
i have checked in the /dev directory, there null directory is not there..

so what i have to do next to run this script.
can anybody help me?

Thanks
Vinay TJ
  #2 (permalink)  
Old 05-15-2009
thanhdat's Avatar
thanhdat thanhdat is offline
Registered User
  
 

Join Date: Aug 2008
Location: Paris
Posts: 107
try the following command:

Code:
echo "" | mutt -s "test subject" your@mail.address
or you can use "mail" command

Code:
echo "test message" | mail -s "test subject" your@mail.address
assume that your MTA works.
  #3 (permalink)  
Old 05-20-2009
vinayakatj56 vinayakatj56 is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 18
hi thanhdat,
Thanks man,,,
its working ,,,

Regards
Vinay
Sponsored Links
Closed Thread

Bookmarks

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 05:18 PM.


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