how can i recd error log on my sent mails?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how can i recd error log on my sent mails?
# 1  
Old 08-13-2006
how can i recd error log on my sent mails?

I am using the following command to send mail which comprises of a message body (mail_msgbody.txt), Subject(rtf attachment) and a RTF attachment.
Code:
 
uuencode ${FILE_NAME} ${FILE_NAME} >> mail_msgbody.txt
mailx -s"rtf attachement" aaa@yahoo.com < mail_msgbody.txt

When I send mail ...how can I recv Error Messages Log?
Like I send the mail to aaa@yahoo.com ... what if aaa@yahoo.com is an invalid user now, or the inbox is full or for that matter any error whereby my mail doesnt reach him....
Can anyone help????????????????
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

can not see mails

Hi, on AIX 6.1, I want to verify my night batch then I issued mail and : > mail /tmp: No space left on device What does it mean ? How can I see my mails ? What shoud I do ? Also : df -k /dev/hd3 131072 125676 5% 46 1% /tmp Thank you. (5 Replies)
Discussion started by: big123456
5 Replies

2. Shell Programming and Scripting

Storing a log file of delivered mails

Hi, I have a program which creates some report and sends it to the users. There are around 15000 users . I guess because of this huge number the mail exchange server is unable to deliver all the mails. So i want to create a log to see who are all the user to whom the report was delivered. I am... (2 Replies)
Discussion started by: gnagendr
2 Replies

3. SuSE

mails not getting sent ...

Guys I have not much idea on suse or any other linux flavour. This is what i have: cat /etc/issue Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel \r (\l). ps -ef |grep postfix |grep -v grep root 18620 1 0 Mar17 ? 00:00:00 /usr/lib/postfix/master postfix ... (0 Replies)
Discussion started by: ak835
0 Replies

4. Linux

Mails group

Ok, i am using backupPC for backup machines, backuppc can send mail to one person, while i cannot get how to configure many users which seems kind of headache, i want to set a group with a mail so when i send to it it sends to all group members, can i do that using sendmail? again i want a group... (0 Replies)
Discussion started by: XP_2600
0 Replies

5. Solaris

Delete email recd

Hello All, For many users, .forward file has been created to forward the emails from UNIX (SUN 5.8) to Exhcnage server. Is there any way to delete the email as soon as it comes to the mailbox on UNIX (without the same being forwarded to the Exchange Server)? Thanks! suismilyadon (2 Replies)
Discussion started by: suismilyadon
2 Replies

6. Shell Programming and Scripting

job generating error mails

Hi Is there any way we can findout which job/process in unix environment is generating error mails. I am continuously getting it with no subject.. I know the hostname. And the error in mail - SQL server timed out. There are hundreds of jobs runing there. How can we find the culprit... (3 Replies)
Discussion started by: manojgarg
3 Replies

7. UNIX for Dummies Questions & Answers

bcc in mails

Hi, how to put some receipients for mail in bcc and some receipients in to. (2 Replies)
Discussion started by: prasee
2 Replies

8. Shell Programming and Scripting

error while sending mails through MKS

#!/bin/ksh email0="dummy@company.com" emails() { # mail Generation echo "Hi" | /mapimail -s "-(Test Mail)From Production- `date`" $email0; } emails i receive the following error IDispatch::new MSMAPI.MAPISession failed: 800401f3 at... (0 Replies)
Discussion started by: Vrgurav
0 Replies

9. Shell Programming and Scripting

undeleiverd mails

Could anyone tell me where the undelivered mails are stored in unix . i m using IBM AIX 3 version. when i give command mail.it shows me all the mail .but where exactly the mails are stored esp undelivered ones (1 Reply)
Discussion started by: ali560045
1 Replies

10. UNIX for Dummies Questions & Answers

sneding mails out

Hi all, I am trying to setup a client (on separate network) to send mail via our local SMTP server. I do have responce when I do #telnet mailhost 25 therefore, I can establish connection between the 2. however, when I try to send out testing mail, the following mail is returned in my... (1 Reply)
Discussion started by: stancwong
1 Replies
Login or Register to Ask a Question
LedgerSMB::Mailer(3pm)					User Contributed Perl Documentation				    LedgerSMB::Mailer(3pm)

NAME
LedgerSMB::Mailer - Mail output for LedgerSMB SYNOPSIS
COPYRIGHT
#==================================================================== # LedgerSMB # Small Medium Business Accounting software # http://www.ledgersmb.org/ # # Copyright (C) 2006 # This work contains copyrighted information from a number of sources # all used with permission. # # This file contains source code included with or based on SQL-Ledger # which # is Copyright Dieter Simader and DWS Systems Inc. 2000-2005 # and licensed under the GNU General Public License version 2 or, at # your option, any later version. For a full list including contact # information of contributors, maintainers, and copyright holders, # see the CONTRIBUTORS file. # # Original Copyright Notice from SQL-Ledger 2.6.17 (before the fork): # Copyright (C) 2002 # # Author: DWS Systems Inc. # Web: http://www.sql-ledger.org # # Contributors: # # Original Author and copyright holder: # Dieter Simader dsmimader@sql-ledger.com #==================================================================== METHODS
LedgerSMB::Mailer->new(...) Create a new Mailer object. If any arguments are passed in, a message that uses them will be automatically prepared but not sent. $mail->prepare_message(to => $to, from => $from, ...) Prepares and encodes base message for sending or adding attachments. Arguments to, from, cc, bcc Address fields for the email. subject The subject for the email. message The message body for the email. contenttype The conttent type for the body of the message, not for any attachments. notify Sets the Disposition-Notification-To header (read receipt request) for the message. This header will only be added if a from address is set. $mail->attach(data => $data, file => $file, filename => $name, strip => $strip) Add an attachment to the prepared message. If $data is specified, use the value of that variable as the attachment value, otherwise attach the file given by $file. If both a file and data are given, the data is attached. filename must be given and is used to name the attachment. $strip is an optional string to remove from the filename send with the attachment. $mail->send Sends a prepared message using the method configured in ledgersmb.conf. perl v5.14.2 2012-03-26 LedgerSMB::Mailer(3pm)