Sponsored Content
Top Forums Shell Programming and Scripting Shell script for sending automatic email to personal mail id Post 302388110 by rrd1986 on Tuesday 19th of January 2010 12:42:42 PM
Old 01-19-2010
Data How to check MTA mail transfer agent works properly

Plz help how to check/configure MTA..........
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sending attachments using email through shell script

Hi all, I have written a shell script which sends emails with attachments to our clients. All our attachments are simple flat files (.txt format). The script is working fine and sending the attachments to the mail-ids except that, when i am sending the attachments to non-outlook users (Like... (6 Replies)
Discussion started by: symhonian
6 Replies

2. UNIX for Dummies Questions & Answers

Email sending through a shell script

Hi everyone, I have a shell script that I use to send some emails with attachments. Based on the attachment file that is being sent, I choose the recipient. My file_list.txt looks like this CAJ.txt;sm@email.com KXLD.txt;jc@email.com I do a grep on this file to look for the file name and... (3 Replies)
Discussion started by: memonks
3 Replies

3. Shell Programming and Scripting

sending a mail using shell script

Please help me in writing the script for sending an attachment through email.(For example my text file name is :abc.txt and it is in directory d:/abc) (1 Reply)
Discussion started by: anitha126
1 Replies

4. Red Hat

automatic mail sending

Hi all, I want to send an e-mail automatically from linux machine to any other domain like wise gmail.com or yahoo.co.in. We have MSexchange server as a mail server. How to send e-mail from command line to other mail-IDs via exchange server. Please help.. Thanks advance... (1 Reply)
Discussion started by: ashokkumar.p
1 Replies

5. Shell Programming and Scripting

Sending email from shell script

Hi, I need to send email from a shell script. i echoed some information to a file and i am doing cat command in the email syntax thanks (2 Replies)
Discussion started by: rocky1954
2 Replies

6. Shell Programming and Scripting

shell script not sending mail

Hi, I have shell script which checks the filesystem check but does not send the mail. I might be missing something very simple.. could you please help? #!/bin/sh _servers="machine name" _out="/tmp/output.$$" _email="me@there.com" _sub="Disk Space Report $(date)" _mail=/usr/bin/mail... (5 Replies)
Discussion started by: Pandee
5 Replies

7. Shell Programming and Scripting

Sending mail from shell script

Hello All, I m trying to send mail from my unix script, I have used the below command mailx -s 'hi' email address < temp.txt It is not giving me any error,but I couldn't receive the mail Can you please help me. Many Thanks, Pragyan (6 Replies)
Discussion started by: prarat
6 Replies

8. Shell Programming and Scripting

Sending Mail via shell script

I am in need of a script that will send out emails while going through a NAT. What I have that works is as follows: display_remote_IP | sort | uniq | while read i do FOUND=0 for IP in `echo $ACCEPTABLEIP` do if ; then FOUND=1... (2 Replies)
Discussion started by: ldapguy
2 Replies

9. Shell Programming and Scripting

Mailx sending attachments to personal email, but not SharePoint?

Hello! I am writing a KornShell script that (in addition to other things) sends a file from a Unix directory to a SharePoint directory. However when executing the script there is no sign of the file on the SharePoint. I have tested the script using my personal email as the destination and the... (3 Replies)
Discussion started by: mattkoz
3 Replies

10. Shell Programming and Scripting

Sending email in shell script

Can anyone help me out how to send the email without the word success while sending to the recipient. echo "success" | mailx -s "webshell instance has been started noiw" implementation@tkcl.com (8 Replies)
Discussion started by: ramkumar15
8 Replies
WHOM(1)                                                              [nmh-1.5]                                                             WHOM(1)

NAME
whom - report to whom a message would go SYNOPSIS
whom [-alias aliasfile] [-check | -nocheck] [-draftfolder +folder] [-draftmessage msg] [-nodraftfolder] [-server servername] [-port port- name/number] [-sasl] [-saslmech mechanism] [-snoop] [-user username] [-tls] [-notls] [file] [-draft] [-version] [-help] DESCRIPTION
Whom is used to expand the headers of a message into a set of addresses and optionally verify that those addresses are deliverable at that time (if -check is given). The -draftfolder +folder and -draftmessage msg switches invoke the nmh draft folder facility. This is an advanced (and highly useful) fea- ture. Consult the mh-draft(5) man page for more information. If nmh is using the SMTP MTA, the -server and the -port switches can be used to override the default mail server (defined by the /etc/nmh/mts.conf servers entry). The -snoop switch can be used to view the SMTP transaction. (Beware that the SMTP transaction may con- tain authentication information either in plaintext or easily decoded base64.) If nmh has been compiled with SASL support, the -sasl switch will enable the use of SASL authentication with the SMTP MTA. Depending on the SASL mechanism used, this may require an additional password prompt from the user (but the ".netrc" file can be used to store this password). -saslmech switch can be used to select a particular SASL mechanism, and the the -user switch can be used to select a authoriza- tion userid to provide to SASL other than the default. If SASL authentication is successful, nmh will attempt to negotiate a security layer for session encryption. Encrypted data is labelled with `(encrypted)' and `(decrypted)' when viewing the SMTP transaction with the -snoop switch. The -saslmaxssf switch can be used to select the maximum value of the Security Strength Factor. This is an integer value and the exact meaning of this value depends on the underlying SASL mechanism. A value of 0 disables encryption. If nmh has been compiled with TLS support, the -tls and -notls switches will require and disable the negotiation of TLS support when con- necting to the SMTP MTA. Encrypted data is labelled with `(tls-encrypted)' and `(tls-decrypted)' when viewing the SMTP transction with the -snoop switch. The files specified by the profile entry "Aliasfile:" and any additional alias files given by the -alias aliasfile switch will be read (more than one file, each preceded by -alias, can be named). See mh-alias(5) for more information. FILES
$HOME/.mh_profile The user profile PROFILE COMPONENTS
Path: To determine the user's nmh directory Draft-Folder: To find the default draft-folder Aliasfile: For a default alias file postproc: Program to post the message SEE ALSO
mh-alias(5), post(8) DEFAULTS
`file' defaults to <mh-dir>/draft `-nocheck' `-alias' defaults to /etc/nmh/MailAliases CONTEXT
None BUGS
With the -check option, whom makes no guarantees that the addresses listed as being ok are really deliverable, rather, an address being listed as ok means that at the time that whom was run the address was thought to be deliverable by the transport service. For local addresses, this is absolute; for network addresses, it means that the host is known; for uucp addresses, it (often) means that the UUCP network is available for use. MH.6.8 11 June 2012 WHOM(1)
All times are GMT -4. The time now is 05:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy