Send entire page (form/report) via mail?
Sending mails in HTMLDB works great!
This is working for me:
HTMLDB_MAIL.SEND(
P_TO => c1.email,
P_FROM => c1.email,
P_BODY => 'Dimi test '||chr(10)||'Next line',
P_BODY_HTML => 'Dimi HTML',
P_SUBJ => 'Dimi test');
* Now I would like to mail an entire page.
for ex. page 70: P_BODY_HTML => http://dimi:7777/pls/htmldb/f?p=103:70
How can I implement something like this?
Is it also possible to send page 70 with my "print template"? (default the app uses an other template, when I print the page (or preview), he will use my print template)
Thanks in advance,
Dimitri
Do I need to do it with UTL_HTTP (get content of html page)? or are there some build-in feature I can use?
Similar Messages
-
Error to send a report via mail with BI Publisher
Hello,
I am working with BIP 10.1.3.4 over Windows Server 2003 Standard Edition, and I would like to send a report via mail.
I added one Email server navigation via Admin>Delivery Configuration > Email with the server name and host.
Then Send report via Email, got error.
oracle.apps.xdo.service.delivery.DeliveryException: oracle.apps.xdo.delivery.DeliveryException: smtp
at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToEmail(DeliveryServiceImpl.java:228)
at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1190)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:478)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: oracle.apps.xdo.delivery.DeliveryException: smtp
at oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler.submitRequest(Unknown Source)
at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(Unknown Source)
at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToEmail(DeliveryServiceImpl.java:222)
... 4 more
Caused by: javax.mail.NoSuchProviderException: smtp
at javax.mail.Session.getService(Session.java:764)
at javax.mail.Session.getTransport(Session.java:689)
at javax.mail.Session.getTransport(Session.java:632)
at javax.mail.Session.getTransport(Session.java:612)
... 7 more
I have followed this SR, and I applied the solution, but it isn't solved the issue (ID: 1072742.1)
https://support.oracle.com/CSP/ui/flash.html#tab=KBHome%28page=KBHome&id=%28%29%29,%28page=KBNavigator&id=%28from=BOOKMARK&viewingMode=1143&bmDocTitle=BI%20Publisher%20With%20JDE%20Fails%20To%20Send%20Email,%20Error:%20javax.mail.NoSuchProviderException:&bmDocID=1072742.1&bmDocType=PROBLEM&bmDocDsrc=KB%29%29
Regards,
Mónica.Hi Christian.
You could put the lines of your list in a table of type SOLISTI1 and then use the function module SO_NEW_DOCUMENT_SEND_API1 to send the content of this table. You have to fill the table RECEIVERS with the address you want to send the report to.
Hope that helps,
Timo. -
I have to send the sales order output via mail to a customer
have to send the sales order output via mail to a customer, what steps i have to follow
kindly guide me.
regards
satyaHello,
You need to carru out your output configuration for this.
Use tcode, NACE where you can do this centrally.
Select V1 & click on output types above
Select output type MAIL for your requirement & use tranmission medium as simple mail.
After configuring your MP mail partner functions & use of proper output program you will be able to send mail to your party.
Hope this is helpful to you.
Regards,
Dhananjay -
How can i send multiple videos and photos, via mail, at the same time?
you allowed to send only one video or 10(+) photos via mail.
but can you send both at the same time? so 10(+) photos and a video (or more than one) in one mail?
because if my mom has birthday pictures or something like that. She likes to be able to send it directly from her iphone to every person she knows in just one mail.
anyone any tips or tricks?Those restrictions are generally part of the email provider, not just the phone. Attachments are restricted due to size, bandwith use, etc. Trying to send that much information in an email attachment is even restricted on a computer. Sharing via photo sites is generally a better option for large amounts of pictures and large video files.
-
Receive a mail with attachment and send it as it is via Mail-receiver
Hi,
we have PI/7.0
I have a scenario with a mail-sender.
I get mails with attachments and depending on the subject I have to send some mails to an other mail-address via mail-receiver-adapter.
My problem is, that I have to send it "as it was" - with all attachments (and the correct attachment names) and the original mail-body.
I tried to check the checkbox "keep attachments": I got all attachments but the original mail-body was now an extra attachment (with the extension .xml).
I don't wanna have this new attachment!
What can I do?
Thanx a lot!
Regards
WolfgangHi,
I think quite simple
message protocol: xipayload
Use Mail package: NO
Keep Attachments: YES
Content encoding: <nothing>
No extra modul
I entered all address-informations (from, to,...) in the fields displayed after the checkbox for "use mail package".
that's all.
regards
Wolfgang -
Need to send the logo in smartform via mail.
Hi All,
I have smartform with the company logo uloaded. I have requirement to send the smartform with logo output via mail .
Points will be rewarded....
thanks,
mahanteshhi,
1. check if are getting the logo in the print preview, ifso
2. use the following piece of code to send the mail (by converting otf to pdf)
*For sending email
DATA:
i_otf type standard table of itcoo ,"OCCURS 0 WITH HEADER LINE,
i_tline type table of tline with header line,
i_receivers type standard table of somlreci1 ,
i_record type table of solisti1 initial size 0 with header line,
Objects to send mail.
i_objpack type table of sopcklsti1 initial size 0 with header line,
i_objtxt type table of solisti1 initial size 0 with header line,
i_objbin type table of solisti1 initial size 0 with header line,
i_reclist type table of somlreci1 initial size 0 with header line,
Work Area declarations
wa_objhead type soli_tab,
w_ctrlop type ssfctrlop,
w_compop type ssfcompop,
w_return type ssfcrescl,
wa_doc_chng type sodocchgi1,
wa_buffer type string, "To convert from 132 to 255
Variables declarations
v_len_in like sood-objlen,
v_lines_txt type i,
v_lines_bin type i.
clear v_len_in.
i_otf[] = w_return-otfdata[].
clear v_len_in.
call function 'CONVERT_OTF'
exporting
format = 'PDF'
max_linewidth = 132
importing
bin_filesize = v_len_in
tables
otf = i_otf
lines = i_tline
exceptions
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
others = 4.
if sy-subrc eq 0.
loop at i_tline.
translate i_tline using '~'.
concatenate wa_buffer i_tline into wa_buffer.
endloop.
translate wa_buffer using '~'.
do.
i_record = wa_buffer.
append i_record.
shift wa_buffer left by 255 places.
if wa_buffer is initial.
exit.
endif.
enddo.
Attachment
refresh: i_reclist,
i_objtxt,
i_objbin,
i_objpack.
clear wa_objhead.
i_objbin[] = i_record[].
Create Message Body Title and Description
i_objtxt = 'PFA are the Service Entry Sheet details.'.
append i_objtxt.
append initial line to i_objtxt.
describe table i_objtxt lines v_lines_txt.
read table i_objtxt index v_lines_txt.
wa_doc_chng-obj_name = 'Service Entry Sheet '.
wa_doc_chng-expiry_dat = sy-datum + 10.
wa_doc_chng-sensitivty = 'F'.
wa_doc_chng-doc_size = v_lines_txt * 255.
concatenate 'Service Entry Sheet' nast-objky(10) into wa_doc_chng-obj_descr separated by space.
Main Text
clear i_objpack-transf_bin.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_txt.
i_objpack-doc_type = 'RAW'.
append i_objpack.
Attachment (pdf-Attachment)
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
describe table i_objbin lines v_lines_bin.
read table i_objbin index v_lines_bin.
i_objpack-doc_size = v_lines_bin * 255 .
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'smart'.
i_objpack-obj_descr = 'Service Entry Sheet '.
append i_objpack.
Get email id .
clear i_reclist.
i_reclist-receiver = '[email protected]'. "email address
i_reclist-rec_type = 'U'.
append i_reclist.
if i_reclist[] is not initial.
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = wa_doc_chng
put_in_outbox = 'X'
commit_work = 'X'
tables
packing_list = i_objpack
object_header = wa_objhead
contents_bin = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
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.
if sy-subrc <> 0.
Error When Sending the File
retcode = sy-subrc.
perform protocol_update1 .
endif.
endif.
else.
Error When generating the File
retcode = sy-subrc.
"perform protocol_update .
endif.
Reward if u find it useful
Regards
Arun T -
Illegal semicolon send email weblogic forms reports 11g
I have a form that send parameters to a report and buld it on pdf format, then the same is sent by email to the address from the database,
I got this error and I need your help.
I really appreciate.
My configuration:
Weblogic server 10.3.4
Forms & Reports 11.1.1.4
OS. Oracle Enterprise Linux (OEL 5.5)
thanks.
this is the error shown in the log file located in:
FMW_HOME/INSTANCE_HOME/diagnostics/logs/ReportsServerComponent/ReportsServer_Name/rwserver_diagnostic.log
[2012-02-13T22:33:12.384-06:00] [reports] [INCIDENT_ERROR] [REP-50152] [oracle.reports.server] [tid: 18] [ecid: 004i8xiSn1mF8DWFLzjO8A0000nT00001u,0:1:0x5f5e101:100000002] [URI: /reports/rwservlet/getjobid838]
REP-50152 : Se ha producido un error al enviar el correo: Illegal semicolon, not in group. [[
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.utility.Utility.newRWException(Utility.java:1053)
at oracle.reports.server.MailService.send(MailService.java:588)
at oracle.reports.server.DesMail.sendFile(DesMail.java:186)
at oracle.reports.server.Destination.send(Destination.java:578)
at oracle.reports.server.JobObject.distribute(JobObject.java:2041)
at oracle.reports.server.JobManager.updateJobStatus(JobManager.java:2761)
at oracle.reports.server.EngineCommImpl.updateEngineJobStatus(EngineCommImpl.java:154)
at oracle.reports.server.EngineCommPOA._invoke(EngineCommPOA.java:94)
at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637)
at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1682)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922)
at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1213)
at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:471)
at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:500)
]]I got the answer,
The problem was that I have email addresses saved on a table as '[email protected]; [email protected]' and it needs to be a colon. ',' -
Hello all,
I have a CCX v.7.
Client told me he receives reports via email for CSQ. Can I do this via Historical Reports or I need:
Unified Intelligence Center Reporting Application?
thanksHi
HRC supports only export to file or printer. As far as I'm aware you would need CUIC (i.e. UCCX9.0) to SMTP the reports.
Aaron -
How do I send entire pdf form via email from web browser
How do you send a pdf completed form on your web browser via email to email address?
Hello Wayne, see no offense in this message
There is a faster scheme.
Copy the range of cells to send (it may be an entire table)
Enter the application entitled Preview.
File > Create a new doc from the clipboard
File > Send the selected PDF document (I'm not sure of the exact wording).
It's the highlighted one.
Bingo, it will create a mail with the PDF embedded.
Yvan KOENIG (VALLAURIS, France) jeudi 3 novembre 2011 22:32:21
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community -
HI all,
I have to send the output of the report in XL sheet thr mail.
can any body explain the whole procedure of thatSee this example [sending external mail with XLS attachement|http://www.sapdev.co.uk/reporting/email/attach_xls.htm]
Regards
Marcin -
How to send output of alv report as mail
Hi Experts,
I Have retrieved data from USER tables and i need to send the output of the list through mail.
could you please help me in completing this task
Moderator message: FAQ, please search for previous discussions of this topic.
Edited by: Thomas Zloch on Mar 16, 2011 9:41 AMHi,
You can send the report data as an either excel sheet ot txt attachment in side the email. for this you can use the function module . for this refer to program BCS_EXAMPLE_7 . -
Question for sending a PDF Form with desktop mail
Dear all,
I try to create a PDF form and use it for a Workflow.
Therefore I created some "Send" Buttons and put into the Properties/Actions/Submit a Form the comand "mailto: [email protected]".
The second "Send" Button contains another mail adress which is also shown while putting the mouse over the button.
But after clicking this one the PDF is still send to the Mail-Adress from the first button!
Any idea, what went wrong or where the issue is?
Thanks for a quick feedback
ThomasHi try67,
thanks for the tipp.
I already renamed all send-buttons -> but it still does not work!
This morning I deleted them all and created new one - now it seems to work.
BUT: it only works as long as there is no digital signature on the document.
As soon as the first signature is placed - all send buttons change to the same email adress.
???? Looks quite strange.... -
Sending emails by Hotmail account via Mail app
Hi,
i just changed my old HTTPMail application on mail to continue to receive and send emails from my @hotmail.com account, as it was no longer functionning.
It's now configured, i receive emails correctly, but can't send any.
i configured it with the output adress smtp.live.com and checked the SSL box without specifiyng any username and pass, all that in the preferences of Mail app.
Is there any way to send email by Hotmail, or is there something in the POP/IMAP difference that i ain't gettin and make it impossible?
The "via Gmail" option wouldn't be one for me. i still wanna use hotmail.
thanks,
PhilThis could be an even simpler way to do it:
http://windowslivewire.spaces.live.com/blog/cns!2F7EB29B42641D59!32413.entry -
How to send the form data through mail with pdf format?
forms 6i
Hi to all,
i am developed one master detail form.example is based on the dept number emp details will be displayed.here my requirment is whatever displayed on the form
the data ,these data send to mail with any format.is it possible? if is possible any one give a proper solution.
Regards,
Stevie
Edited by: 994418 on 6 May, 2013 11:15 PMHello,
you can create a Report that accepts the search parameters from the Forms mask and generates a PDF. You also have the option to send the report via mail.
Personally I would generate the report with a tool like as_pdf
http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/
Then you can send the mail using utl_mail or utl_smtp.
www.google.com/search?q=site:forums.oracle.com+utl_mail+utl_smtp
Regards
Marcus -
Dear All,
Need to send PO as PDF document via mail to the vendor, kindly send the step by step procedure with T. Code.
Rgds
SrinivasanFollow this
Basically there are two mail types: Internet mail (external mail) and SAPOffice mail.
Mail is sent via the output determination in both cases.
If you use the external mail, the message for the purchasing document is converted into a corresponding text file which is sent to the vendor via the Internet.
SAPOffice mail is sent only within the R/3 System and has mainly the function of providing information.
In particular, it is not possible to attach a message (form) for a purchasing document to a SAPOffice mail.
When using external mail, the following basic settings are required:
1. You must maintain an e-mail address in the address in the vendor master.
2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
o Note that it is not possible to change the e-mail address of the vendor
o You can use a temporary email address in Transaction ME21N.
3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail.
You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define
Communication Strategy). As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
5. In the condition records for the output type (for example,Transaction MN04), use medium '5' (External send).
6. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been
carried out.
7. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
To use the SAPOffice mail, the following basic settings are required:
1. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail.
You can branch to the maintenance of the communication strategy via the input help.
2. Use the SAP standard environment (program "RSNASTSO" and FORM routine "SAPOFFICE_AUFRUF") as the processing routines.
3. In the condition records for the output type (for example,Transaction MN04), use medium '7' (SAPOffice) and also partner role 'MP' (mail partner).
Additional settings:
Problem:
How can you both change the mail title and text for the sending of a mail message and maintain a replacement parameter, for example a document number.
Solution:
1. The replacement routine is maintained in the Customizing for the output type in the detail screen on the 'General data' tab under 'Replacement of text symbols' (for Release < 4.6B, this can be found on the 'Mail' tab page).
Program: SAPMM06E
FORM routine: TEXT_SYMBOL_REPLACE
2. Maintain mail title and text.
o If you want to send a purchase order within an R/3 system using the SAP office, you can maintain both the mail title ('Re:') and also a mail text in the Customizing for the output type To do this, select the directory mail title and text for the corresponding message type.
o If you want to send a purchase order as (external) mail, for example, to a vendor, you have to maintain the mail title in the condition record for the output type (for example in Transaction MN05) on the 'Communication method' tab page. Enter the mail title in the 'Text for cover page' field. You cannot maintain an additional mail text.
o Note that the values from the mail title are used to create the description for the attachment.
3. The replacement parameters must be enclosed by &. Example: You want to enter the title 'PO number '. For this you have to enter the following in the Document Title field (Message Customizing ->
sub-option: Mail title and texts) 'PO number &EKKO-EBELN&'
regards...
Maybe you are looking for
-
Macbook Pro + Adapter/Converter
Hi, I'm in France and am trying to charge my macbook Pro. I have an adaptor and a converter. On the converter, there is an option to change it to 50W and also 1800W. Which should I use? Or should I only use an adapter? Thank you!
-
Who can help me to submit this bug to the adobe indesign development team?
I developed a indesing plug-in, and its function is to increase the two kinds of footnotes style, When the user selects this type of footnote style, and insert some footnote to the document The user then export the document to pdf. there is no probl
-
How to Cancel Preorder of iphone 4s?
I ordered the iphone to days ago and I got "Black" by boyfriend wants the iphone now and I don't want the same color as him (I realize how lame this question is). I called Verizon and they said I could cancel the order and then just submit it again.
-
Hi! I have a simple question (I think). I have edited some pictures in iPhoto '11 and would like to have them as a standard .jpg or whatever. How do I do? Jonas
-
Can Two Operating unit share one Inventory Org in Oracle 11i?
Can Two Operating units share one Inventory Org in Oracle 11i? We have business scenario where we need to create multiple Operating unit but both of them uses a single Inventory Org. Is this possible in Oracle 11i?