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?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. UNIX for Dummies Questions & Answers
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. UNIX for Dummies Questions & Answers
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
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
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. UNIX for Dummies Questions & Answers
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
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
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
9. Solaris
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
LEARN ABOUT DEBIAN
cancelmsg
CANCELMSG(1) Double Precision, Inc. CANCELMSG(1)
NAME
cancelmsg - Cancel an E-mail message
SYNOPSIS
cancelmsg {msgid} ["reason"]
DESCRIPTION
cancelmsg removes a message from the mail queue. There will be no more attempts to deliver this message, and a standard delivery failure
notice is sent to the return address listed on the message. You can only cancel your own messages. The superuser can cancel any message. An
attempt to cancel a message will fail if the message has already been sent (of course), or if a delivery attempt is currently in progress.
Because a delivery attempt is usually started as soon as an E-mail message is added to the mail queue, a cancellation attempt is only
effective if the message cannot be immediately delivered for some reason, or if the system is very busy and is working on a mail backlog.
cancelmsg works by marking all pending recipients as undeliverable. A non-delivery report is then generated and sent in the normal fashion.
msgid is the message queue id that can be obtained from the mailq(1)[1], command. A reason is optional. The message does not disappear into
a black void. The message will be returned as undeliverable, citing reason. A generic error message will be used if reason is not
specified.
BUGS
A non-delivery report may not be sent immediately, but delayed until the message's turn comes up in the scheduling queue.
There is no immediate indication if the message cancellation worked. A subsequent non-delivery report is the only indication of a
successful cancel. If it doesn't come, it means the message wasn't cancelled in time.
A non-delivery report will not be sent for recipients whose delivery status notification does not include the FAIL notice.
SEE ALSO
mailq(1)[1], courier(8)[2].
AUTHOR
Sam Varshavchik
Author
NOTES
1.
mailq(1)
[set $man.base.url.for.relative.links]/mailq.html
2.
courier(8)
[set $man.base.url.for.relative.links]/courier.html
Courier Mail Server 08/30/2011 CANCELMSG(1)