Sponsored Content
Full Discussion: mailx query
Top Forums Shell Programming and Scripting mailx query Post 302591524 by cnraja on Thursday 19th of January 2012 06:10:38 PM
Old 01-19-2012
Question mailx query

Hi,
we are sending email after processing the file thorugh shell scripts(AIX OS) to set of users.

we are using mailx command to achieve this.
While sending the mail, from address use servername@domain, which we want to get rid of. We would like to use different name instead of.

Any help would be greatly appreciated.

Thanks in Advance.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mailx

I am trying to write a shell script using the mailx command. My problem is that I want to send an email address in the CC: field. What option can I use with mailx to accomplish this. Any help would be very appreciative. (1 Reply)
Discussion started by: skammer
1 Replies

2. UNIX for Dummies Questions & Answers

mailx error message : mailx: NUL changed to @

If I use the "Mail" link instead of the "mail" link to ../mailx I get this error. Mail so-n-so @whatever.com mailx: NUL changed to @ Unknown command: "postmaster" The email still goes through but i get the error. If I use "mail" it goes thru without the error. Any ideas?? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

3. HP-UX

mailx help

Hi, I have a shell script which has code like: cat /tmp/MAIL_PCSD | mailx -m -s " PEWA Order Acknowledgement" $M1 and M1 is nothing but this M1=`echo $x | awk ' {print $3}' ` If I pass absolute email address to $M1 it works fine. But, the thing is that it gets $M1 by reading some... (3 Replies)
Discussion started by: isingh786
3 Replies

4. Solaris

Using Mailx

I am new to Unix and i want to know when using mailx can we change the sender's name from the default one. (3 Replies)
Discussion started by: blackeyed
3 Replies

5. UNIX and Linux Applications

MailX

Hi, I am not able to send direct mails from our unix server to our lotus notes id. It was fine until we upgrade our Lotus notes server. What are the changes need to add when we upgrade Lotus notes. Please advice. It run in sh file This is the statement uuencode $RTDIR/$filename... (0 Replies)
Discussion started by: rajani_p
0 Replies

6. UNIX for Advanced & Expert Users

mailx

We are using mailx to send email alerts. On occasions, it is updating our Distribution list with the mesage content. The following is the relevant portion of the script :- MAILGROUP=`more $MDS/feeds/alerts/distribution.lst` export MAILGROUP echo " " | mailx -s "MDS Alert - Refresh Complete"... (6 Replies)
Discussion started by: Paul Byrne
6 Replies

7. Shell Programming and Scripting

add the output of a query to a variable to be used in another query

I would like to use the result of a query in another query. How do I redirect/add the output to another variable? $result = odbc_exec($connect, $query); while ($row = odbc_fetch_array($result)) { echo $row,"\n"; } odbc_close($connect); ?> This will output hostnames: host1... (0 Replies)
Discussion started by: hazno
0 Replies

8. Shell Programming and Scripting

Query Oracle tables and return values to shell script that calls the query

Hi, I have a requirement as below which needs to be done viz UNIX shell script (1) I have to connect to an Oracle database (2) Exexute "SELECT field_status from table 1" query on one of the tables. (3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies

9. Shell Programming and Scripting

Mailx: How to send a attachment using mailx command

Hi All, Can anyone please provide the command for sending an mail with attachment using mailx command. Thanks in Advance :) Regards, Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies

10. Shell Programming and Scripting

Shell Script to execute Oracle query taking input from a file to form query

Hi, I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database. For instance: USER CITY --------- ---------- A CITY_A B CITY_B C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
AuOpenServer(3) 					     Library Functions Manual						   AuOpenServer(3)

Name
       AuOpenServer - connect to audio server

Synopsis
       #include <audio/audiolib.h>

       AuServer *AuOpenServer(servername, num_authproto, authproto, num_authdata, authdata, ret_status)
	   char *servername;
	   int num_authproto;
	   char *authproto;
	   int num_authdata;
	   char *authdata;
	   char **return_status; /* RETURN */

Arguments
       servername
		 Specifies the audio server name.  This determines the server and communications domain to be used.

       num_authproto
		 Specifies the length of the connection authorization protocol name.

       authproto Specifies the name of the connection authorization protocol.

       num_authdata
		 Specifies the length of the connection authorization data.

       authdata  Specifies the connection authorization data.

       return_status
		 If non-NULL, and the connection is refused, returns an error message.

Description
       AuOpenServer  creates a connection to the specified audio server and returns a pointer to an AuServer structure or NULL, with return_status
       (if non-NULL) pointing to an error message describing the reason, if it was unsuccessfull.

       If servername is NULL or a pointer to NUL, AuOpenServer get the value from the enviroment.  servername  has  the  format  hostname:port	or
       hostname::port.	 If  a	double colon (::) separates the hostname and port number, AuOpenServer connects using DECnet streams.  If a single
       colon (:) separates the hostname and port number, and the hostname is a host machine name, AuOpenServer connects using TCP streams.   If  a
       single  colon  (:)  separates the hostname and port number, and the hostname is "unix", AuOpenServer connects using UNIX domain sockets (or
       Streams).  If the hostname is not specified, AuOpenServer uses whatever it believes is the fastest transport.

See Also
       AuCloseServer, AuServerName.

       audiolib - Network Audio System C Language Interface

audiolib - housekeeping 					       1.9.3							   AuOpenServer(3)
All times are GMT -4. The time now is 12:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy