1832416 Members
2968 Online
110042 Solutions
New Discussion

Using "@"

 
SOLVED
Go to solution
Manuales
Super Advisor

Using "@"

Hi,
i'm running the following:

echo TEST | mailx -s "SCRIPT RUN" user1@hola.com.mx

but it appears:
sh: hola.com.mx: not found.

how can i put "@" for being recognized by the system?

thanks.
6 REPLIES 6
Wouter Jagers
Honored Contributor
Solution

Re: Using "@"

Why the .mx ?

If your email domain is hola.com, just drop the .mx at the end and your mail should start its journey.

Cheers,
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
Manuales
Super Advisor

Re: Using "@"

I need to put .mx because that is the email address where is going to be sent the message ....

i think that problem is with "@" ...

first of all, when i assign the value it appears as followoing:

first one it was put:
a="user1@hola.com.mx user2@hola.com.mx" and it was showed as following:
$ hola.com.mx"
>
$ a="user1hola.com.mx user2hola.com.mx"
$

second command is run correctly .... because it does not contain "@" .....
how can i tell to the system that takes @ sign. ???

please help.
Wouter Jagers
Honored Contributor

Re: Using "@"

Sorry didn't look at the error closely enough.. hmz, that is strange.

Can you do a
# which mailx
# whence mailx
# file `which mailx`

Cheers
an engineer's aim in a discussion is not to persuade, but to clarify.
john korterman
Honored Contributor

Re: Using "@"

Hi Manuales,

maybe a keyboard setting - perhaps "werase" - causes the problem; please post the output from
$ stty -a


regards,
John K.
it would be nice if you always got a second chance
Volker Borowski
Honored Contributor

Re: Using "@"

Hey,

your doing this at the Console correct ?
The Console sometimes treats @ as a specialchar to erase all previous input.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=46691

Check your stty settings for kill and erase.

Volker
Manuales
Super Advisor

Re: Using "@"

HI ..
Thanks for answering ...

i reviewed with stty -a and there was a variable special for @

$ stty -a
speed 9600 baud; line = 0;
rows = 31; columns = 100
min = 1; time = 0;
intr = ^C; quit = ^\; erase = ^H; kill = @
eof = ^D; eol = ^@; eol2 ; swtch

I have updated .profile server and it has worked well !!!!

THANKS :0)