Computing.Net > Forums > Linux > to send mail by the command mailx

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

to send mail by the command mailx

Reply to Message Icon

Name: ashokkumar.p
Date: September 11, 2009 at 00:20:42 Pacific
OS: RHEL 4.4
Subcategory: General
Comment:

Hi all This is Ashok, I want to send an email to other network users via exchange server. I tried the command mailx -s "subject" email-ID . But after i execute the above command, there is no result i found showing blank. I did not get the # prompt for long time, only i got the normal prompt when i interrupt the command. And the command mailx and mail are under /bin only not in /usr/bin. Please suggest me what to do. What type of changes are required, where i have to set mail server's IP..

Thanks in advance....



Sponsored Link
Ads by Google

Response Number 1
Name: wollie
Date: September 11, 2009 at 03:21:07 Pacific
Reply:

try:

mailx -s subject recipient < /file_to_send

cheers

wollie


0

Response Number 2
Name: ashokkumar.p
Date: September 13, 2009 at 22:31:03 Pacific
Reply:

Hi,

When i use the command 'mailx' , there is no process visible and doesn,t leave prompt untill unless i press crl+c. Please suggest me, do i have to configure thunderbird or evolution or where i have provide mail server's IP..


Thank You,


0

Response Number 3
Name: wollie
Date: September 15, 2009 at 03:49:53 Pacific
Reply:

if you use the above typo no prompt will bother you and
you don't have to configure thunderbird or .. or ...


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: to send mail by the command mailx

How to send a mail www.computing.net/answers/linux/how-to-send-a-mail/28765.html

Sendmail Fails to send mail www.computing.net/answers/linux/sendmail-fails-to-send-mail/19248.html

Problem sending mail through shell www.computing.net/answers/linux/problem-sending-mail-through-shell/19360.html