1819688 Members
3486 Online
109605 Solutions
New Discussion юеВ

mail client

 
atul.kaggarwal
Contributor

mail client

which text based mail client HP-UX used as in linux we can use mutt
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: mail client

Shalom,

HP-UX still ships with elm. That is text based and works prety well. It also has a client called mail. That also works for some folks.

Welcome to ITRC forums. We're a peer to peer based forum and the people who answer your questions do not need to work for HP. We're volunteers.

The way it works is thus:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
atul.kaggarwal
Contributor

Re: mail client

while using elm i am getting this message what to do:

Notice:
This version of ELM requires the use of a .elm directory to store your
elmrc and alias files. I'd like to create the directory .elm for you
and set it up, but I can't in "batch mode".
Please run ELM in "normal mode" first.
Yogeeraj_1
Honored Contributor

Re: mail client

hi,

How did you run the elm command?
Please post the exact syntax that you have used.


Normally, elm operates in three principal modes:

+ Interactive mode, running as an interactive mail interface program. ( elm [-aKkmtVz] [-f folder] )

+ Message mode, sending a single interactive message to a list of mail addresses from a shell command line. (elm [-s subject] address-list )

+ File mode, sending a file or command output to a list of mail addresses via a command-line pipe or redirection. (elm [-s subject] address-list )


see man elm
for more information

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yang Qin_1
Honored Contributor

Re: mail client

So, you run elm from a session to setup .elm dir and then run your script. It will work.

1st time you run elm from a session, it will ask you 2 questions, answer y for both of them.

Yang
uadm26
Super Advisor

Re: mail client

Hi,
So you need to run first the elm program in a prompt, and select "yes" to create the elm database. Test again the command elm, you will see a list of mail if you something. After that you can run it in background. You can use the "mailx" too. Example:
echo test | mailx -s " It is a test" root

Good Luck...
JT
nishith
Frequent Advisor

Re: mail client

hi atul,

As mentioned by all u can use the default mail client shipped with HP.

But if you require "mutt" for hp-ux you can download from below site. install the dependencies also. it works fine.

http://hpux.connect.org.uk/hppd/hpux/Networking/Mail/mutt-1.5.12/


regds,
nishith.
Coolmar
Esteemed Contributor

Re: mail client

mailx works too, but I prefer elm. The first time you run elm, it will ask you a couple of setup questions. Answer "yes" and you are off and running.