Message success/faliure delivery notification - mailx


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Message success/faliure delivery notification - mailx
# 1  
Old 05-25-2012
Message success/faliure delivery notification - mailx

Guys,

Is it possible to get a delivery status message like success/faliure notification after sending a mail using mailx.

-v option can be used to get the message failure notification if any..

is there any option to get the message success notification?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Mailx message not delivering externally

I have recently all of a sudden stopped receiving my cronjob messages that were being sent with the mailx command. I have not made any changes and it is affecting all my servers at this site only (all running Solaris 10). At my other site I am running a mixture of Solaris 10 and Ubuntu 14, and they... (2 Replies)
Discussion started by: Madrox72
2 Replies

2. Shell Programming and Scripting

Adding Pager notification to mailx command.

Is it possible to add Pager Notification to mailx command?? :confused: Or by any other mean. ---------- Post updated at 08:49 AM ---------- Previous update was at 07:08 AM ---------- Hi just want to specify that by Pager i mean a message to the mobile number. Suppose i have following... (1 Reply)
Discussion started by: Sharma331
1 Replies

3. Shell Programming and Scripting

Mailx with attachment and message body

i have to attach the 'body in the email' along with attachment below code is throwing errors, how can i do it ? here body file contains message, it should display in email, please help i am using HP-UX (cat body ;) (uuencode attch1 attch1 ;) | mailx -m -s "testing" "abc@gmail.com" ... (4 Replies)
Discussion started by: only4satish
4 Replies

4. UNIX for Dummies Questions & Answers

Mailx empty body message

Hi, Is there a way to suppress this message? Null message body; hope that's ok My email string is: mailx -s "This is my subject" myemail@domain.com < /dev/null It's just an annoyance to me that I would like see go away. (3 Replies)
Discussion started by: bbbngowc
3 Replies

5. Shell Programming and Scripting

How to receive message in 2 lines using mailx command

Hi, I have a file with 2 records in two lines. While mailing these two records using mailx command, those two records coming in a single line. I have used the following command to send those records via mail. cat filename | mailx -s "subject" mailaddress I want the two records in... (3 Replies)
Discussion started by: siri_886
3 Replies

6. Shell Programming and Scripting

Problem while sending message and attachment with mailx

Hi All, I am trying to send a mail with an attachment and message. Following command I am using. (cat <messagefile> ; uuencode <attachmentfile> <attachmentfile>)|mailx -s"Subject" dave@email.com In the received mail, message body is appearing fine. But attachment is not coming. Rather... (2 Replies)
Discussion started by: nihar.dutta
2 Replies

7. UNIX for Dummies Questions & Answers

Success status of mailx command

Hi I want to know if the email address in the mailx exists or not Eg: Mailx -s "Subj" hello@ab.com How do I know if the email address is a valid one??? (4 Replies)
Discussion started by: superprogrammer
4 Replies

8. 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

9. UNIX for Advanced & Expert Users

email attachment, with a message using mailx

Hi, I am trying to include a message along with an attachment with an email using mailx on AIX. uuencode Test.dat Test.dat| mailx -s 'Testing' mymail@yahoo.com < MESGFILE This only gives me the contents of MESGFILE as my message. If I remove the < FILE I recieve the attachment. What... (4 Replies)
Discussion started by: edog
4 Replies
Login or Register to Ask a Question
mq_notify(2)							System Calls Manual						      mq_notify(2)

NAME
mq_notify - register/cancel a notification request with a message queue SYNOPSIS
DESCRIPTION
If the argument notification is not NULL, the system call registers the calling process to be notified of message arrival at an empty mes- sage queue associated with the message queue descriptor mqdes. The notification specified by the notification argument will be sent to the process when the message queue transitions from the empty state to the non-empty state. If the type of notification specified in notification->sigev_notify is then the signal specified in notification->sigev_signo will be sent to the process. If the flag is set for that signal number, then the value specified in notification->sigev_value will be the si_value com- ponent of the siginfo_t structure passed to the signal catching function at the time of signal delivery. At any time, only one process can be registered for notification with a message queue. If the calling process, or any other process has already registered for notification with the specified message queue, subsequent attempts to register with that queue will fail. If notification is NULL and the process is currently registered for notification with the specified message queue, the existing registra- tion is canceled. When the notification is sent to the registered process, its registration is removed. The message queue is then available for registra- tion. If there is some process blocked in waiting to receive a message from a message queue, the arrival of a message on the queue will satisfy the even if the queue has a registered notification request. The resulting behavior is as if the message queue remains empty, and no noti- fication is sent. To use this function, link in the realtime library by specifying on the compiler or linker command line. RETURN VALUE
returns the following values: Successful completion. Failure. is set to indicate the error. ERRORS
If fails, is set to one of the following values: [EAGAIN] The system lacks sufficient signal queuing resources to honor the request. [EBADF] The mqdes argument is not a valid message queue descriptor. [EBUSY] A process is already registered for notification with the message queue. [EINVAL] An attempt was made to cancel a non-existent notification request, or notification points to an invalid address. [ENOSYS] is not supported by the implementation. SEE ALSO
mq_open(2), mq_send(2), sigaction(2). signal(2), signal(5). STANDARDS CONFORMANCE
mq_notify(2)