To read alert log and send via mail
set `date`;
gret=`grep -n $1\ $2\ $3 /ora/admin/ORACLE_SID/bdump/alert_ORACLE_SID.log|awk -F: '{print $1}'|head -1`
dy=`cat /ora/admin/ORACLE_SID/bdump/alert_ORACLE_SID.log|wc -l`
di=`echo $dy-$gret|bc`
tail -$di /ora/admin/ORACLE_SID/bdump/alert_ORACLE_SID.log>filtemp
mailx -s "daily alert log" [email protected]<filtemp
can be configured as a cron
entry has to be present in /etc/hosts
1: Make a Dummy report. From some post parameter form trigger, run your original report with "srw.runreport" call. The original report can generate output to a file.
2: Then withing this dummy report run, call a user exit to zip the
original reports output. You need to write this user exit and attach them
with reports.
3: Now use Report 9i distribution for this dummy report to sent this external zip file through mail.
With Regards
Reports Team
Similar Messages
-
Smartforms in pdf and send via mails
Dear friends
I have to send the smartforms via mail.
but only have a preview of the smartform.
please help.
no spool no is generated.
please help.
thanks and reagrds
vivekHi Vivek,
After the FM 'SSF_FUNCTION_MODULE_NAME' and fm_name,
Change smartform preview formate(OTF) to PDF . call FM.
*---Function module to convert OTF data to PDF data format
call function 'CONVERT_OTF'
exporting
format = 'PDF'
max_linewidth = 132
importing
bin_filesize = l_v_pdf_size "l_v_pdf_size type i,
tables
otf = l_it_otf_data "l_it_otf_data type standard table of itcoo initial size 0,
lines = l_it_pdf_data. "l_it_pdf_data type standard table of tline,
then
*---Function module to chnage width of PDF file to 255
call function 'SX_TABLE_LINE_WIDTH_CHANGE'
exporting
line_width_dst = '255'
tables
content_in = l_it_pdf_data[]
content_out = l_it_pdf[]
exceptions
err_line_width_src_too_long = 1
err_line_width_dst_too_long = 2
err_conv_failed = 3
others = 4.
and finelly.
*---Function module to send mail
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = l_wa_doc_chng
put_in_outbox = c_check
commit_work = c_check
tables
packing_list = l_it_objpack
object_header = l_wa_objhead
contents_bin = l_it_pdf
receivers = l_it_receivers
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
Thanks.
Mona.
Edited by: Mona Singh on Dec 4, 2008 3:06 PM -
Generate dynamic reports using sql query and send via mail
Can anyone provide me the links to dynamically generate the sql query based reports and send it to Mail. it should be called from the scheduler program using PL/SQL
suppose you have the query as
spool myrep.txt
select * from emp where rowid<3;
spool off
write the query in the emp.sql query at any directory like d:\sqljobs\emp.sql
the call make a batch file like sndml.bat and write the following codes
sqlplus scott/tiger@orcl @d:\sqljobs\emp.sql
explorer mailto:[email protected] d"\sqljobs\myrep.txt
or if you are using any mailing software then you can use that.. -
How to zip report output and send via mail from application
Hello,
I want to know how to zip the report output and send it by mail to concerned person from application
I want this as the report is having more than 70000s of records.
Also the XLS has the limitation of 2^16 records and the report is having more than this
Any help is very much appreciated
Regards,
Vani1: Make a Dummy report. From some post parameter form trigger, run your original report with "srw.runreport" call. The original report can generate output to a file.
2: Then withing this dummy report run, call a user exit to zip the
original reports output. You need to write this user exit and attach them
with reports.
3: Now use Report 9i distribution for this dummy report to sent this external zip file through mail.
With Regards
Reports Team -
Is it a way to read Multiple Attachment and send all - Mail Sender?
Hi Friends ,
Can you please tell me how to send multiple Attachment in Mail Sender Adapter ?
<b> I am able to bring Multiple Attachement in Payload .But, Only one attachemen't data is passed to IS.</b>
First form the attachement i read as row bye row. Rowe like <b>123 56 98 56 9</b>6 like that , then in Integration Process i am using<b> XSLT Mapping</b> to get my required format .
It is getting the data from the First Attachement only. <b>But i am having Three attachement in payload as MailAttachement-1 , MailAttachement-2 , MailAttachement-3 like that .</b>
<b>Can you please tell me how to pass to IS as one by one attachement ?</b>
Regards .,
V.RangarajanYou want to separate each attachment in one single message?
If yeah, change your xslt mapping to a multimapping, which generate the several messages.
If not, in the receiver mail adapter, select "keep atachments" checkbox.
Regards,
Henrique. -
Filling up a pdf form which I received as email. I opened it on my adobe reader 11 and filled up the highlighted fields. Yet when I click on the send via mail it says changes will not be included. How do I send the form with changes?
The add annotations field shows as not allowed in the security options. So how do I send this form back with the changes??I think you you need to click 'save' first, then it is saved to acrobat, where it will prompt to send.
-
I want to email a Pages document as a Word doc. I used to be able to do this by clicking on 'share' then 'send via mail' then on 'Word' and an email would appear with my word doc attached. Now the email does not come up. Why?
It's difficult to do more than guess when you don't say what version of OS X or Pages you're running, but if you're on the latest, have you tried the Share menu -> Send via Mail command?
If that doesn't help, you may have better luck if you ask in the Pages forum:
Pages
When you repost, be sure to include full details about your versions so that people know what it is you're working with.
Regards. -
Unable to write and send e-mails via MSN, please help ASAP.
Since a few days ago, using mozilla, I am unable to write and send e-mails via MSN.
== This happened ==
Every time Firefox opened
== About 3 days ago.Also, and although possibly not related to your problem, I have to remind you that the version of Firefox you are using at the moment has been discontinued and is no longer supported. On top of this, it has known unpatched bugs and security problems. I urge you to update to the latest version of Firefox, for maximum security, stability, performance and usability. You can get it for free, as always, at [http://www.getfirefox.com getfirefox.com].
-
I receive and send e-mail on an iMAC desktop; how can I also get my new I-phone 5 to send and receive e-mail?
http://kb.mediatemple.net/questions/720/How+can+I+set+up+email+on+my+iPhone+or+i Pod+Touch%3F#gs
http://us.gizmodo.com/5945200/how-to-set-up-your-new-iphone-5-the-right-way
http://www.youtube.com/watch?v=YPbf26oKU3U
http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=9&ved=0CG4QFjAI&url =http%3A%2F%2Fmanuals.info.apple.com%2Fen_US%2Fiphone_user_guide.pdf&ei=xQDWUILy OIGQiQKs2oF4&usg=AFQjCNHtp23mg1GxyM47y_1uFG9tTNJF7g&bvm=bv.1355534169,d.cGE&cad= rja -
"Send Via Mail" is greyed out in PAGES. Why?
Experiencing an intermittent failure of the "Send Via Mail" pull-down menu feature.
It's often "greyed out" and will not allow us to send from withing the Pages application.
Anyone have any ideas?
Thanks to all...
FrankWhich Mountain Lion version do you have? Which Pages 09 version?
Do you restart the computers once in a while?
I haven't heard about the problem before and I can't check it either. I am on Snow Leopard.
A thought: Do you use not allowed characters like / in the document name? -
When I compose and send a mail, it gets placed in Outbox and I get a prompt stating something like "relating the message is not supported". Even if I compose a newest age, it says the vey same thing. I just cannot send any response through my mail account. Can anyone help with a solution?
You haven't set up the SMTP (outgoing) mail server correctly. You probably didn't enter your user ID and password for the outgoing server. They are needed even though it says "optional".
-
Sql server agent alert is not sending a mail
1. sql server agent alert is not sending a mail .I have configure it for sql server event alert and error number 14151 and in "Raise alert when messaging contains" check box I have set: Replication Distribution Subsystem: agent
2. Sql server agent is restarted also.All database mail and other settings are Ok.
Still I m not getting mail
ThanksHi Ajay,
You can test the connectivity with any server who has smtp access and execute osql to send email to required people.
Below command can be put into bat file and named as DB_MirrorAlert.bat
osql -U XXXX -P XXXXX -S Test123 -h-1 -s "|" -w 50 -n -i E:\DBscript_Santosh\DB_MirrorAlert.sql > E:\DBscript_Santosh\DB_MirrorAlert.csv
OR
osql -E -S Test123 -h-1 -s "|" -w 50 -n -i E:\DBscript_Santosh\DB_MirrorAlert.sql > E:\DBscript_Santosh\DB_MirrorAlert.csv
In above command, you are connecting to a server where db email works fine for you and then you are executing a script wherein you can put alert for success or failure like below:
Success Alert:
Create a success alert file named as DB_MirrorAlert.sql as you are calling above in bat file and put all scripts in one folder.
use master
Go
EXEC msdb.dbo.sp_send_dbmail
@profile_name='Profile One',
@recipients =
XXX,
@subject = 'DB Mirror Server Failed over',
@body = '
'DB Mirror Server Failed over to Server B'
Now you can do this after checking that any one of the server is not responding or by checking system store procedures too. Good link about monitoring is mentioned below:
http://msdn.microsoft.com/en-IN/library/ms190030.aspx
Let me know if you need any more assistance at my end.
Santosh Singh -
Attaching HTML file and sending through mail
Hi
My Requirement is
I want to attach HTML File and send through mail id's.
But there are number of html files
user can select any one file.
it has to attach and send to the mail id.Hi V,
check the link:
http://wiki.sdn.sap.com/wiki/display/Snippets/SendEmailwithHTMLattachment. -
How can I make a PDF embedded image append a SSRS 2012 report and send via fax all electronically? Is this possible?
Thanks in advance for your time!Hello,
1. The report item Image can be used to display the image which embedded in the report, stored in a database, stored on the report server, or stored elsewhere on the Web.
For example, you can embedded the PDF image in the report and stored as text in the report definition.
2.Reporting Services includes an e-mail delivery extension and a file share delivery extension which you can send report to user or group through e-mail or send the report to a shared location on your network.
If you want to send the report to FAX, you may try to create a custom delivery extension depend on your faxing software.
Reference:Implementing a Delivery Extension
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
When I want to "send via mail" pages no longer opens an email window. In fact, nothing happens at all, why is this?
There is nothing to fix.
Slash is an illegal character in file names since the delivery of mac OS X.
What was a bug is the fact that 10.1 thru 10.6 took care of your wrong names.
At last, the late OS behave as It would have ever done.
Yvan KOENIG (VALLAURIS, France) samedi 11 février 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
My Box account is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
Maybe you are looking for
-
I have downloaded JavaHelp using Sun Download Manager (download and extract JavaHelp) to activate Full-text Search in RoboHelp. But, while generating Help in RoboHelp, I get an error that JavaHelp is not installed. I am not able to understand how to
-
Hi Guys, I have a small doubt regarding Generic Delta Extraction. In Generic Delta i choose Calday on Posting Date. And am getting data on Daily basis. Here My doubt is can I use this posting date in field selection in Info package. If not?Please gi
-
Creation of an application which displays four Road map steps in vertical
Hi all, I need to create an application which contains four Road map steps for example step1 -> step2 -> step3 -> step4 , but in vertical order. can i know the perfect UI elements which are req to be used for the creation. thanks in advance.......
-
Filtering maximum rank using rank function ?
Hi , I have two table emp_changes(empno(number),operation_time(timestamp),operation(varchar)) and another table emp_metadata(tablename(varchar),max_time(timestamp))(it has got one row ) using this query : select empno,operation,RANK() OVER (PARTI
-
DB2 backup excluding one table
Hello all, We have AIX 5.3 and DB2 9.1 for our CRM 2007 server. There is a table which contains CVV number. Is it possible to take the backup by excluding that table. Are there any tools that would help in taking backup excluding the table containing