Computing.Net > Forums > Unix > Unix Mail

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.

Unix Mail

Reply to Message Icon

Name: Arshad Ashfaq
Date: April 24, 2002 at 07:56:47 Pacific
Comment:

I need to send email from unix to a email distribution list on the Microsoft exchange server.

The following gives me an eror!
ADDRESSEE="XY" -- XY is the distribution list
echo $MessageTxt|mailx -s "test" $ADRESSEE

Error!
XY...Unknown User
Saved message in /home/dead.letter

Can someone please help.

Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: PaulS
Date: April 24, 2002 at 09:43:45 Pacific
Reply:

Seems like the error indicates it expects a user login XYZ on the unix machine. Normally, it would dump the message in /home/XYZ/dead.letter.

$ADRESSEE might need to be a space separated list in the form login@server


0

Response Number 2
Name: Fukare Yimtatu
Date: April 26, 2002 at 11:47:53 Pacific
Reply:

Try using the following sample...
NOTE:
1-create a file called MAIL_LIST which will have all the email address of the folks you want the mail to receive
2-Replace the Text with your appropriate message you want in your email..

/usr/ucb/logger -t "Mail Title" -p local1.alert Usage: Title goes here mailx -s "Your message goes here " `cat $MAIL_LIST` << EOF

hope this helps...


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Unix Mail

UNIX MAIL CONTENT_TYPE, HELP!!!