Sponsored Content
Full Discussion: Email Alert in UNIX
Top Forums UNIX for Beginners Questions & Answers Email Alert in UNIX Post 302993388 by drysdalk on Thursday 9th of March 2017 09:33:50 AM
Old 03-09-2017
Hi,

OK, thanks. All of that then points with an issue sending mail from the system using the mail command. Could you try a different e-mail address (something external to yourself, say your own GMail or Outlook.com account or something like that) to see if that gets through ? If it does, then it would be your own corporate mail system that would be filtering it out. If you get nothing there either, then that more indicates that mail is not getting out of the server the script is running on.

If you have full root access on that server, you probably want to look at /var/log/maillog and see what it reveals. It should show you what happened to the mail that was generated, and if it made it successfully off of the server or not.
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Email alert script

I need to code a script, which will run via cron, every 30 minutes. The script will read a file containing a date&time and number (which represents disk space). The file gets appended to every 30 minutes. Here's a sample of the file: CPU 1:04/25/02 1:00 am:1972554 CPU 1:04/25/02 1:30... (1 Reply)
Discussion started by: moon
1 Replies

2. Shell Programming and Scripting

email Alert

Hello, I want a script that will scan the file /etc/httpd/conf/httpd.conf and the folder /etc/httpd/libexec/ -bash-2.05b# grep mod_r /etc/httpd/conf/httpd.conf LoadModule rewrite_module libexec/mod_rewrite.so AddModule mod_rewrite.c -bash-2.05b# -bash-2.05b# find... (4 Replies)
Discussion started by: fed.linuxgossip
4 Replies

3. Shell Programming and Scripting

Unix Shell Script to automate email alert

Hi all, I have a task on my plate which is of high priority. I need an automated email alert that checks FTP notices subdirectory on a daily basis and forwards any word files to a group of people. This word files gets created whenever there is an issue with FTP connectivity. Please help...... (1 Reply)
Discussion started by: stunnerz_84
1 Replies

4. Shell Programming and Scripting

Using top command to email if process is exceeding 25% and sending an email alert if so

This is my first time writing a script and Im having some trouble, Im trying to use the top command to monitor processes and the amount of CPU usage they require, my aim is to get an email if a process takes over a certain percentage of CPU usage I tried grep Obviosly that hasnt worked, Any... (8 Replies)
Discussion started by: jay02
8 Replies

5. Shell Programming and Scripting

Email alert after termination

I am running the gaussian program on UNIX with bash and I want to form a script that will email me once the output life terminates either "normal termination" or "false" I just started learning this last week so could you let me know how to go about this.:b: (13 Replies)
Discussion started by: Jade_Michael
13 Replies
Email::Sender::Failure(3pm)				User Contributed Perl Documentation			       Email::Sender::Failure(3pm)

NAME
Email::Sender::Failure - a report of failure from an email sending transport VERSION
version 0.110005 ATTRIBUTES
message This method returns the failure message, which should describe the failure. Failures stringify to this message. code This returns the numeric code of the failure, if any. This is mostly useful for network protocol transports like SMTP. This may be undefined. recipients This returns a list (or, in scalar context, an arrayref) of addresses to which the email could not be sent. METHODS
throw This method can be used to instantiate and throw an Email::Sender::Failure object at once. Email::Sender::Failure->throw(\%arg); Instead of a hashref of args, you can pass a single string argument which will be used as the "message" of the new failure. SEE ALSO
o Email::Sender::Permanent o Email::Sender::Temporary o Email::Sender::Multi AUTHOR
Ricardo Signes <rjbs@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo Signes. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-03-06 Email::Sender::Failure(3pm)
All times are GMT -4. The time now is 11:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy