The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem while sending message and attachment with mailx nihar.dutta Shell Programming and Scripting 2 08-09-2007 12:15 PM
problem with mailx shriashishpatil UNIX for Advanced & Expert Users 7 03-02-2006 05:13 AM
Problem with mailx command when sending attachment. miltony Shell Programming and Scripting 2 12-02-2005 12:43 PM
mailx problem djbartkow UNIX for Dummies Questions & Answers 1 06-27-2005 05:11 PM
mailx problem iastorms UNIX for Dummies Questions & Answers 2 05-11-2005 01:53 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 07-09-2007
FredSmith FredSmith is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 88
Mailx problem

I can send mail from my Sun Solaris 9 box via the mail gui no problem. If I try it from mailx command line, the mail doesn't send. What might be causing this?

thanks.
  #2 (permalink)  
Old 07-09-2007
awk awk is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 134
Quote:
Originally Posted by FredSmith View Post
I can send mail from my Sun Solaris 9 box via the mail gui no problem. If I try it from mailx command line, the mail doesn't send. What might be causing this?

thanks.
An example of the command line you are using would narrow down the possibilities considerably.
  #3 (permalink)  
Old 07-09-2007
FredSmith FredSmith is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 88
Sorry, I'm just using a simple test mailx command:

server1{root}:$PWD=> mailx <E-mail address>
Subject: tester
tester body
EOT
server1{root}:$PWD=>


If I use the mail gui on the CDE on the server (logged in also as root) and compose & send an e-mail, it works fine.

But if I use the command line, it doesn't.
  #4 (permalink)  
Old 07-09-2007
awk awk is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 134
use this for transmission

mailx -s tester xxx@yyy.com <<EOT
tester body
EOT


What can I say, it worked on my machine
  #5 (permalink)  
Old 07-09-2007
FredSmith FredSmith is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 88
No luck, same results. That's the weird thing, how is the underlying setup of mail different between what the mail gui (in the common desktop environment) and a command like like mailx??

Thanks!
  #6 (permalink)  
Old 07-12-2007
psiva_arul's Avatar
psiva_arul psiva_arul is offline
Registered User
  
 

Join Date: Jul 2007
Location: Bangalore, India
Posts: 97
About Mailx command

i am using the simple mailx command in my sun OS unix

for example:

mailx -s "Subject" "Message" "Mail Address" | "mail DL"

Thanks,
Siva.P
Bangalore
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 11:03 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