Sponsored Content
Full Discussion: Automating Mail Process
Top Forums Shell Programming and Scripting Automating Mail Process Post 302978709 by rajnikant on Tuesday 2nd of August 2016 09:34:58 PM
Old 08-02-2016
Automating mail process

HI
i would not mind renaming Folder name or script renaming the files in the attachments directory.i already renamed this particular file from
Code:
RFQ - Medical - 15-05- 2016.xlsx (containing whitespace characters)

to just RFQ.xlsx
But still it is unable to send the attachment.Please share your input.

Thanks
Rajnikant
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Process mail using cron

I am looking for information on how to process mail using a cron job. The email server is a hosted ISP, so I simply have a POP connection to the mailbox. Specifically, I want to fire a cron job at {x} time and have pine, mail, mailx, or some other suitable mail client utility process the... (1 Reply)
Discussion started by: EOD
1 Replies

2. Shell Programming and Scripting

Automating build and test process

Hey ppl, I've been asked to automate the build and test process for my team at office.we work on Linux and use Perforce for SCM. I've just joined this company and dont have much knowledge on unix scripts. Could someone tell me how to go about doing this? (0 Replies)
Discussion started by: laxmi
0 Replies

3. Linux

Automating build and test process

Hey ppl, I've been asked to automate the build and test process for my team at office.we work on Linux and use Perforce for SCM. I've just joined this company and dont have much knowledge on unix scripts. Could someone tell me how to go about doing this?:confused: (8 Replies)
Discussion started by: laxmi
8 Replies

4. Shell Programming and Scripting

Killing of a process and send a mail if the process doesnot come up within 2 minutes

Hi Friends, I am new to this forum as well as new to shell scripting. I have a problem here and i need someone to solve this. Let us consider there are two processes(abc & def).There is a script which kills these two processes(i.e killtheprocess abc). Here abc is the argument . There is a... (1 Reply)
Discussion started by: Prince89
1 Replies

5. Shell Programming and Scripting

Issue in mail sending process

Hi I created one CSV file and i need to append some message in the content of my mail. $sales=sales.dat $sales_csv=sales.csv $sales_report=sales.txt this is the command am using it. echo "sales for `date`"| read subject uuencode $sales $sales_csv | mailx -ms "${subject}."... (2 Replies)
Discussion started by: bobprabhu
2 Replies

6. Shell Programming and Scripting

script to monitor process running on server and posting a mail if any process is dead

Hello all, I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted. Thanks in advance Regards, pradeep kulkarni. :mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies

7. Shell Programming and Scripting

automating daily monitoring process

Hi there, I have to automate daily monitoring process and then the result of these process should be sent to a log file, then this log file should be mailed . ps -ef | grep aa In this atleast one process should run. If the process is running it should mention Success in the log file... (3 Replies)
Discussion started by: NehaKrish
3 Replies

8. Shell Programming and Scripting

Automating The process

Hi Guru's, I am trying to write a scripts that will automate my image provisoining process. Scenario: I have Linux Image Hosted on cloud which needs to be provisoned before it can be used. Currently we log onto the image through the putty on windows and connect to linux instance. I... (3 Replies)
Discussion started by: taqvia
3 Replies

9. UNIX for Dummies Questions & Answers

Automating a process

Could any one tell me , how to start a thread here, i just searching for so long. sorry to post in irrelavent here ---------- Post updated at 08:19 AM ---------- Previous update was at 08:00 AM ---------- Hi, I got a requirement to automate the process. We have SLA files, there are... (1 Reply)
Discussion started by: afahmed
1 Replies

10. Shell Programming and Scripting

Automating an interactive process with EOF string

Hello, I'm running Stockfish chess engine ( Home - Stockfish - Open Source Chess Engine ) CLI on Linux in interactive mode which is working fine. root@ubuntu1950x:~# ./stockfish Stockfish 080218 64 POPCNT by T. Romstad, M. Costalba, J. Kiiski, G. Linscott setoption name Debug Log File... (2 Replies)
Discussion started by: prvnrk
2 Replies
WHATNOW(1)                                                           [nmh-1.5]                                                          WHATNOW(1)

NAME
whatnow - prompting front-end for sending messages SYNOPSIS
whatnow [-draftfolder +folder] [-draftmessage msg] [-nodraftfolder] [-editor editor] [-noedit] [-prompt string] [file] [-version] [-help] [-attach header-field-name] [-noattach] DESCRIPTION
Whatnow is the default program that queries the user about the disposition of a composed draft. It is normally automatically invoked by one of the nmh commands comp, dist, forw, or repl after the initial edit. When started, the editor is started on the draft (unless -noedit is given, in which case the initial edit is suppressed). Then, whatnow repetitively prompts the user with "What now?" and awaits a response. The valid responses are: edit re-edit using the same editor that was used on the preceding round unless a profile entry "<lasteditor>-next: <edi- tor>" names an alternate editor edit <editor> invoke <editor> for further editing refile +folder refile the draft into the given folder mime process the draft as MIME composition file using the buildmimeproc command (mhbuild by default) display list the message being distributed/replied-to on the terminal list list the draft on the terminal send send the message send -watch send the message and monitor the delivery process push send the message in the background whom list the addresses that the message will go to whom -check list the addresses and verify that they are acceptable to the transport service quit preserve the draft and exit quit -delete delete the draft and exit delete delete the draft and exit cd directory use the directory when interpreting attachment file names pwd print the working directory for attachment files ls [ls-options] list files in the attachment working directory using the ls command attach files add the named files to the draft as MIME attachments alist [-ln] list the MIME attachments, either short, long [-l] or numbered [-n] detach [-n] files-or-numbers remove MIME attachments, either by file name or by number with -n When entering your response, you need only type enough characters to uniquely identify the response. For the edit response, any valid switch to the editor is valid. For the send and push responses, any valid switch to send(1) is valid (as push merely invokes send with the -push option). For the whom response, any valid switch to whom(1) is valid. For the refile response, any valid switch to the fileproc is valid. For the display and list responses, any valid argument to the lproc is valid. If any non-switch arguments are present, then the pathname of the draft will be excluded from the argument list given to the lproc (this is useful for listing another nmh message). See mh-profile(5) for further information about how editors are used by nmh. It also discusses how environment variables can be used to direct whatnow's actions in complex ways. The -prompt string switch sets the prompting string for whatnow. 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. FILES
$HOME/.mh_profile The user profile <mh-dir>/draft The draft file PROFILE COMPONENTS
Path: To determine the user's nmh directory Draft-Folder: To find the default draft-folder Editor: To override the default editor <lasteditor>-next: To name an editor to be used after exit from <lasteditor> automimeproc: If value is 1, and the draft is a MIME composition file, then automatically call buildmimeproc prior to sending. buildmimeproc: Program to translate MIME composition files fileproc: Program to refile the message lproc: Program to list the contents of a message sendproc: Program to use to send the message whomproc: Program to determine who a message would go to SEE ALSO
send(1), whom(1) DEFAULTS
`-prompt' defaults to "What Now? " `-attach' defaults to "Nmh-Attachment" CONTEXT
None BUGS
The argument to the -prompt switch must be interpreted as a single token by the shell that invokes whatnow. Therefore, one must usually place the argument to this switch inside quotes. If the initial edit fails, whatnow deletes your draft (by renaming it with a site-dependent prefix (usually a comma); failure of a later edit preserves the draft. If the buildmimeproc fails (returns a nonzero status), whatnow simply prints a "What now?" prompt. whatnow depends on the buildmimeproc to tell the user that something went wrong. If whatnowproc is whatnow, then comp, dist, forw, and repl use a built-in whatnow, and do not actually run the whatnow program. Hence, if you define your own whatnowproc, don't call it whatnow since it won't be run. If sendproc is send, then whatnow uses a built-in send, it does not actually run the send program. Hence, if you define your own sendproc, don't call it send since whatnow won't run it. MH.6.8 11 June 2012 WHATNOW(1)
All times are GMT -4. The time now is 01:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy