Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Inserting subject for the mails sent through SQR Post 302617197 by thangaga on Monday 2nd of April 2012 08:12:57 AM
Old 04-02-2012
Please send us sample code for CODE TAGS.

we are assigning the unix code to variable , using peoplesoft function we are calling unix code to send email from our SQR process.

Code:
Let $Email_Command = 'uuencode ' || $filename || ' ' || $filename || ' | sendmail -F''' ||$subject || ''' ' ||$mailid1 || ''' ' ||$mailid2

 CALL SYSTEM USING $Email_Command #return_code WAIT

above code is only giving the from and attachment , but its not allowing us to insert the subject and to details in mail.

Please send us sample code for CODE TAGS.

Last edited by Scrutinizer; 04-02-2012 at 09:19 AM.. Reason: code tags and formatting
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Changing persmissions for output file in UNIX box with SQR.

I am trying to change permissions on an output file from an sqr. The file is pushed out into a directory on the unix box. I am using the following code in the sqr to accomplish this. if $OUTPUT <> '' let $unix_call = 'chmod 664 '||$OUTPUT show $unix_call CALL SYSTEM Using... (1 Reply)
Discussion started by: evengetsteven
1 Replies

2. Shell Programming and Scripting

What is sqr ?

Hi , I came along a command sqr in shellcscript. It was sqr process_name parameters. Could you please tell me what does it mean. Regards Ashish Malviya :) (1 Reply)
Discussion started by: Ashishm
1 Replies

3. UNIX for Dummies Questions & Answers

SQR to UNIX

UNIX script running a SQR program.... passing values to SQR program... trying to pass values back to UNIX.... I'm currently creating a file from the SQR program and then using the Unix READ command to read the file and retrieve the value.... Is there an easier way to pass the values back from... (0 Replies)
Discussion started by: seeuinoz
0 Replies

4. UNIX for Advanced & Expert Users

Passing values from SQR to UNIX

UNIX script running a SQR program.... no problem passing values to SQR program... trying to pass values back to UNIX.... I'm currently creating a file from the SQR program and then using the Unix READ command to read the file and retrieve the value.... Is there an easier way to pass the... (2 Replies)
Discussion started by: seeuinoz
2 Replies

5. Gentoo

inserting grep -c value into an email subject

I am profoundly new to *nix, but had a project dropped in my lap that has sparked an interest, leading me here. I was tasked with daily sending one of our customers a listing of all the spam our filter blocked that was heading for them. Between Google and I; I discovered the Server is running... (3 Replies)
Discussion started by: GrendelPrime
3 Replies

6. Shell Programming and Scripting

SQR error 5528

Hi, I'm trying to execute a script which calls a SQR. The SQR is throwing an error SQR 5528-sybase ct_connect error in cursor 0 Login falied SQR 4701-Cannot connect to the database I'm not sure where is the id/password specified as this is an existing script. Any idea as where is... (1 Reply)
Discussion started by: autosys_nm
1 Replies

7. Shell Programming and Scripting

connecting to different database in sqr

Hi, My requirement is to generate a single text output which fetches data from two different databases. I have two different sqrs to generate text file1(data from db1) and file2(data from db2). can I execute both the sqrs from a single shell script? If yes, pls let me know how to connect to db2... (1 Reply)
Discussion started by: vimalr
1 Replies

8. 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

9. Shell Programming and Scripting

How to write a script in unix to get value from SQR?

hi this is naga, i had created one SQR , but i didnt include the code to get the notification(failure or success ) thats way every time its returning the status=0 SQR was went to success(if it failed also), without touching the code of the SQR can any one help to write script in unix to get... (4 Replies)
Discussion started by: nagavenkatesh
4 Replies

10. Shell Programming and Scripting

Running an SQR from shell script

Hi, I am trying to run an SQR from unix shell script. but the SQr errored out with the following message SQR (1201) Cannot open argument file (2) No such file. Can anybody help me ragrding this. I m using this to run the SQR. $2 is the sqr name and $3 is the parameter file name. sqrun... (1 Reply)
Discussion started by: Aswathy88
1 Replies
DOVEADM-MOUNT(1)						      Dovecot							  DOVEADM-MOUNT(1)

NAME
doveadm-mount - Manage the list of mountpoints where mails are stored SYNOPSIS
doveadm [-Dv] [-f formatter] mount command [arguments] DESCRIPTION
The doveadm mount commands can be used to manage the list of mountpoints where mails are stored. This is used mainly for better error han- dling when a mountpoint isn't mounted for some reason: * If a mail directory doesn't exist, it's autocreated. If the user's mails aren't mounted and filesystem permissions still allow the autocreation, the user will see an empty mailbox and later will have to redownload all mails. If the mountpoint is known to be unmounted, Dovecot will simply fail opening any mailboxes. * If dbox alternate storage isn't mounted and a mail in it is attempted to be accessed, Dovecot normally rebuilds the indexes and notices that all the mails in alt storage are expunged. When the alt storage is mounted back and even if index is again rebuilt, the mails won't necessarily become visible anymore for IMAP clients. If the mountpoint is known to be unmounted, Dovecot won't rebuild indexes and lose the mails. Dovecot automatically adds mountpoints to this list at startup. If you don't want some of the mountpoints added, you can add a wildcard ignore for it. OPTIONS
Global doveadm(1) options: -D Enables verbosity and debug messages. -f formatter Specifies the formatter for formatting the output. Supported formatters are: flow prints each line with key=value pairs. pager prints each key: value pair on its own line and separates records with form feed character (^L). tab prints a table header followed by tab separated value lines. table prints a table header followed by adjusted value lines. -v Enables verbosity, including progress counter. ARGUMENTS
path The directory name of a mountpoint state The state of a mountpoint. Either online or ignore. COMMANDS
mount add doveadm mount add [path [state]] If this command is run without any parameters, doveadm detects all missing mountpoints and adds them (the same way as when Dovecot does at startup). When a mountpoint path is given, it's added as a mountpoint. The state can currently be either "online" (default) or "ignore". The ignore state is mainly useful with path wildcards to add mountpoints that you never want Dovecot to automatically add, such as: doveadm mount add '/mnt/*' ignore mount list doveadm [-Dv ] [-f formatter] mount list This command lists the mountpoints known to Dovecot and their state. mount remove doveadm mount remove path This command removes the specified path from the mountpoint list. REPORTING BUGS
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is avail- able at: http://dovecot.org/bugreport.html SEE ALSO
doveadm(1) Dovecot v2.2 2012-02-16 DOVEADM-MOUNT(1)
All times are GMT -4. The time now is 05:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy