URGENT Previewer Mail
I have the following problem:
when i run a report and the report previewer open then i click on the mail button on the toolbar , then the outlook opens and attached the report as *.EPS file format, and when i receive the email i cant open the file i want to know how can i open this file or better i want to know how can change this format to PDF for example ???????????
i am using FORMS & REPORTS 6i...
help me plz ..........
If you first run the report in the previewer and then click on Mail, your report is sent as an attachment in eps format. That is a post script file which you can send to a printer only.
To mail a report it is better to do it directly with destype=mail desformat=pdf, i.e. without using the previewer first.
Similar Messages
-
I'm using a website to place orders that creates a PDF receipt for me. When I try to view those files in Preview I get "To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html
For further support, go to www.adobe.com/support/products/acrreader.html" and not the document. They open fine in Acrobat, but when I try to attach the file to an email using Mail the same "To view..." message shows up in the email and the recipient cannot open it. Anybody having this issue or know what my problem is?That would be the version I have installed. Did a bit more investigating... the "get info" for the PDF files says "Content Creator: Adobe LiveCycle Designer ES 8.2". They are opening as forms. I'm assuming the fact that they are PDF forms has something to do with why Preview & Mail won't display them. Still trying to search for a fix.
-
URGENT -java MAil sending pdf as attachment
I have a small java program that sends the pdf as an attachment without using phisical pdf file.
but the problem is i am unable to open the pdf that comes as as attachment in mail.
error while opening pdf : " acrobat cannot open file bcos the file type is not supported or the file is curropted(for example it was sent as email attachment and was not properly decoded)"
here is the code :
import java.util.Properties;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import java.io.*;
import java.util.*;
public class Mailer {
public static void main (String args[]) {
String host = "abc";
String from ="[email protected]";
String to = "[email protected]";
//String fileAttachment = args[0];
// Get system properties
Properties props = System.getProperties();
// Setup mail server
props.put("mail.smtp.host", host);
// Get session
Session session =
Session.getInstance(props, null);
// Define message
MimeMessage message = new MimeMessage(session);
message.setFrom( new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
message.setSubject("Hello JavaMail Attachment subject");
// create the message part
MimeBodyPart messageBodyPart = new MimeBodyPart();
//fill message
messageBodyPart.setText("Hi hello this is the msg in mail");
Multipart multipart = new MimeMultipart();
multipart.addBodyPart(messageBodyPart);
// Part two is attachment
messageBodyPart = new MimeBodyPart();
String data_to_send = "This msg is sent as an attachment with out using physical file";
String att_type = "application/pdf";
messageBodyPart.setText(data_to_send);
messageBodyPart.setHeader("Content-Type", att_type);
messageBodyPart.setHeader("Content-Transfer-Encoding", "BASE64");
messageBodyPart.setFileName("attachment.pdf");
/* ByteArrayOutputStream byteStream=new ByteArrayOutputStream();
ObjectOutputStream objectStream=new ObjectOutputStream(byteStream);
objectStream.writeObject(data_to_send);
messageBodyPart.setDataHandler(new DataHandler( new ByteArrayDataSource( byteStream.toByteArray(), "application/pdf" )));
messageBodyPart.setFileName("attachment.pdf");
multipart.addBodyPart(messageBodyPart);
// Put parts in message
message.setContent(multipart);
// Send the message
Transport.send( message );
System.out.println("sent msg");
Thanks
SmiIt's "corrupted" because you are sending a text string and not a PDF document.
And that commented-out code that uses an ObjectOutputStream would have corrupted a PDF document anyway, if you had one.
I suggest if this problem is urgent then you hire professional programming help to get it done. You are a long way from a solution. -
IPhoto too dark, Preview & Mail OK
Recently all my photos appear too dark when I 'magnify' them (double-click) or try to edit them in iPhoto '08. However, when I export them from iPhoto and open them in Preview or send them to Mail with iPhoto they appear fine. (The iPhoto thumbnails also appear fine even when I use the slider to enlarge them in iPhoto.)
Thanks for your suggestions.Try this simple fix: trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
*What's the plist file?*
For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.
Regards
TD -
How to preview mail??
If I scroll down my emails (titles) in inbox i would like to preview the content of the email in a separate window which will always show the content of the selected mail.
Currently I have to click each title to open the email in a new window which is uncomfortable if i search for a mail by content.
Any ideas?? Thanks,
HarpoThere is a message view area in the Mail window. If you have it hidden, there will be a little bar along the bottom of the message list -- click it and drag it upwards and you'll see the contents of the selected message.
-
SSFCOMP_PDF_PREVIEW - print preview + mail
Hi Experts,
I am using the function module SSFCOMP_PDF_PREVIEW to preview my layout in pdf. Now the users want to mail it. I know the function module to send mails. I am not asking for that. I would like to know if I can send the pdf as email to an external address entered by the user(optional).
I am talking about the standard layouts here like sales orders/invoices so no option of creating a field on selection screen.
Please let me know if it is possible.
Warm Regards,
AbdullahHi Kartik,
Thanks for your response. Currently I am calling a Z screen, after close_form function module of my sap script(It is called every time the user exits the screen. The requirement is that on the print preview window, I should have the option of mailing along with a user defined body in my layout (sap script/smartform). And the mail that goes should have the layout in pdf format. This process should be available only if the user wants to send the mail.
The transactions are standard like sales order/delivery note etc. but the scripts/smartforms are developed in my scenario.
Warm Regard,
Abdullah -
Appstore,terminal,preview,mail issues after Maverick upgrade
Appstore, Terminal and Preview won't open after Maerick upgrade.
Software update wont launch fromm Apple sign.
Mail preview pane empty, when selecting messages mail crashes.
Tried restarting after safeboot didn't help.
Is Apple going down the microsoft track?
iMac
27-inch, Mid 2010
Processor 2.8 GHz Intel Core i5
Memory 4 GB 1333 MHz DDR3
Graphics ATI Radeon HD 5750 1024 MB
Software OS X 10.9 (13A603)Appstore, Terminal and Preview won't open after Maerick upgrade.
Software update wont launch fromm Apple sign.
Mail preview pane empty, when selecting messages mail crashes.
Tried restarting after safeboot didn't help.
Is Apple going down the microsoft track?
iMac
27-inch, Mid 2010
Processor 2.8 GHz Intel Core i5
Memory 4 GB 1333 MHz DDR3
Graphics ATI Radeon HD 5750 1024 MB
Software OS X 10.9 (13A603) -
Urgent - Sending mail with .txt attachment
Hi
I am having all the required data to be sent as attachment (.txt) in an internal table. How do I attach this data to the mail by using the FM SO_NEW_DOCUMENT_ATT_SEND_API1.
Regards,
VijayHi
Check this one
first create a Include report with the following coding
*& Include ZPA1_INCLFOR_MAIL *
* Data
DATA: docdata LIKE sodocchgi1,
objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objhex LIKE solix OCCURS 10 WITH HEADER LINE,
reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
DATA: tab_lines TYPE i,
doc_size TYPE i,
att_type LIKE soodk-objtp.
DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
* FORM
FORM ml_customize USING objname objdesc.
*----------- Clear Variables
CLEAR docdata.
REFRESH objpack.
CLEAR objpack.
REFRESH objhead.
REFRESH objtxt.
CLEAR objtxt.
REFRESH objbin.
CLEAR objbin.
REFRESH objhex.
CLEAR objhex.
REFRESH reclist.
CLEAR reclist.
REFRESH listobject.
CLEAR listobject.
CLEAR tab_lines.
CLEAR doc_size.
CLEAR att_type.
*--------- Set Variables
docdata-obj_name = objname.
docdata-obj_descr = objdesc.
ENDFORM. "ml_customize
* FORM
FORM ml_addrecp USING preceiver prec_type.
CLEAR reclist.
reclist-receiver = preceiver.
reclist-rec_type = prec_type.
APPEND reclist.
ENDFORM. "ml_customize
* FORM
FORM ml_addtxt USING ptxt.
CLEAR objtxt.
objtxt = ptxt.
APPEND objtxt.
ENDFORM. "ml_customize
* FORM
FORM ml_prepare USING bypassmemory whatatt_type whatname.
IF bypassmemory = ''.
*--------- Fetch List From Memory
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = listobject
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'LIST_FROM_MEMORY'.
ENDIF.
CALL FUNCTION 'TABLE_COMPRESS'
* IMPORTING
* COMPRESSED_SIZE =
TABLES
in = listobject
out = objbin
EXCEPTIONS
OTHERS = 1
IF sy-subrc <> 0.
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'TABLE_COMPRESS'.
ENDIF.
ENDIF.
* Header Data
* Already Done Thru FM
* Main Text
* Already Done Thru FM
* Packing Info For Text Data
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'TXT'.
APPEND objpack.
* Packing Info Attachment
att_type = whatatt_type..
DESCRIBE TABLE objbin LINES tab_lines.
READ TABLE objbin INDEX tab_lines.
objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = att_type.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = whatname.
APPEND objpack.
* Receiver List
* Already done thru fm
ENDFORM. "ml_prepare
* FORM
FORM ml_dosend.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
put_in_outbox = 'X'
commit_work = 'X' "used from rel. 6.10
* IMPORTING
* SENT_TO_ALL =
* NEW_OBJECT_ID =
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
* CONTENTS_HEX = objhex
* OBJECT_PARA =
* object_parb =
receivers = 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.
MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
WITH docdata-obj_name.
ENDIF.
ENDFORM. "ml_customize
* FORM
FORM ml_spooltopdf USING whatspoolid.
DATA : pdf LIKE tline OCCURS 0 WITH HEADER LINE.
*-------------- Call Function
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = whatspoolid
TABLES
pdf = pdf
EXCEPTIONS
err_no_otf_spooljob = 1
OTHERS = 12.
*------------- Convert
PERFORM doconv TABLES pdf objbin.
ENDFORM. "ml_spooltopdf
* FORM
FORM doconv TABLES
mypdf STRUCTURE tline
outbin STRUCTURE solisti1.
*-------- Data
DATA : pos TYPE i.
DATA : len TYPE i.
*------------ Loop And Put Data
LOOP AT mypdf.
pos = 255 - len.
IF pos > 134. "length of pdf_table
pos = 134.
ENDIF.
outbin+len = mypdf(pos).
len = len + pos.
IF len = 255. "length of out (contents_bin)
APPEND outbin.
CLEAR: outbin, len.
IF pos < 134.
outbin = mypdf+pos.
len = 134 - pos.
ENDIF.
ENDIF.
ENDLOOP.
IF len > 0.
APPEND outbin.
ENDIF.
ENDFORM. "doconv
<b>
Then include that report in the following report and copy the same code and paste it there </b>
*& Report ZPA_TEMP147 *
REPORT ZPA_TEMP147 .
INCLUDE zpa1_inclfor_mail.
* DATA
DATA : itab LIKE tline OCCURS 0 WITH HEADER LINE.
DATA : file_name TYPE string.
data : path like PCFILE-PATH.
data : extension(5) type c.
data : name(100) type c.
* SELECTION SCREEN
PARAMETERS : receiver TYPE somlreci1-receiver lower case.
PARAMETERS : p_file LIKE rlgrap-filename
OBLIGATORY.
* AT SELECTION SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CLEAR p_file.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = p_file.
* START-OF-SELECTION
START-OF-SELECTION.
PERFORM ml_customize USING 'Tst' 'Testing'.
PERFORM ml_addrecp USING receiver 'U'.
PERFORM upl.
PERFORM doconv TABLES itab objbin.
PERFORM ml_prepare USING 'X' extension name.
PERFORM ml_dosend.
SUBMIT rsconn01
WITH mode EQ 'INT'
AND RETURN.
* FORM
FORM upl.
file_name = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file_name
filetype = 'BIN'
TABLES
data_tab = itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
path = file_name.
CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
EXPORTING
complete_filename = path
* CHECK_DOS_FORMAT =
IMPORTING
* DRIVE =
EXTENSION = extension
NAME = name
* NAME_WITH_EXT =
* PATH =
EXCEPTIONS
INVALID_DRIVE = 1
INVALID_EXTENSION = 2
INVALID_NAME = 3
INVALID_PATH = 4
OTHERS = 5
ENDFORM. "upl
Regards
Pavan -
Is there a way to see an image preview when attaching?
I thought I saw it before but now it's an icon.
10.3.9
Thanks.
Sorry, I just noticed this is Tiger
Dual 2.3/G5 23" Display Mac OS X (10.4.5) 4.5 G RAMI concur with everyone else. Further information, along with some troubleshooting information, can be found here:
Understanding upgrade nightmares
(Note that my pages contain links to other pages that promote my services, and this should not be taken as an endorsement of my services by Apple.) -
URGENT -- Preview.app temp directory Need to recover data!
Briefly, I was doing a lot of highlighting and note-taking in a PDF. Made it to the end, then wanted to delete something on my desktop. Don't ask me how, but when I deleted (via keyboard shortcuts) the PDF that I had opened was moved to the trash. Somehow Preview still had focus, I suppose. I retrieved it from the Trash and... nothing. No edits were there, because I had (perhaps stupidly) not saved my PDF during my edits.
Time Machine had backed up just five minutes before that fiasco, but of course the PDF that I recovered also had none of my edits, because I hadn't saved it.
You know how TextEdit creates a temporary file in the same directory when you're editing a document? Does Preview do something similar? If so, what directory does it store its temporary file in? I could dig THAT out with Time Machine.
Any help would be greatly appreciated!!Holy crap, I got it to work.
Essentially, I just waited until DiskWarrior reached Step 9 and told it to skip the step before it had a chance to freeze. It skipped successfully, moved on, rebuilt and replaced the faulty directory files.
So far the computer is booting like normal, I can log in, and I'm currently copying all of the data to an external as I type this.
I still have no idea why the computer wouldn't mount or boot to any drive, but I guess I'll deal with that later. -
REALLY URGENT - deleted mail folder HELP
I just inadvertantly deleted a mailbox folder with important client messages contained within. It's not in trash. It should be still on the computer somewhere, but where?
HELP!!!Stop using your Mac a.s.a.p. as you may be overwriting essential data. Use a serious data recovery program to bring the files back. Data Rescue II is an example of such a program.
The folder you need to rescue is the account folder and contants, originally residing in: userhome/library/mail/
but could be displaced now.
ps for Mike: I don't think .Mac backup will do that for your emails, only for settings, account prefs, signatures, etc. -
Please help , urgent . mail problem
Oracle forms/reports:
Hi have a .csv file and i want to send this file as an attachment using utl_smtp
e.g i had a file xy.csv located at c:\temp and when i call the procedure ,it pick the file c:\temp\abc.csv and send this file as an attachment to specific recipients
Please suggest how to do it .
I have installed utl_smtp and can easily send txt mails but cant do the attachment .
I tried to work with utl_mail but it does't work . please tell me how to do it with smtp .
regards
P.S:
version = 10g
os = windows .By wrapper, I mean you would create a database procedure that you call from Forms. This procedure would accept a VARCHAR2 parameter for the MIME-TYPE rather than a reference to the Package Variable. Something along the following:
CREATE OR REPLACE PROCEDURE MY_MAIL (
p_from VARCHAR2,
p_recipient VARCHAR2,
p_cc VARCHAR2,
p_bcc VARCHAR2,
p_subject VARCHAR2,
p_body VARCHAR2,
p_file_name VARCHAR2,
p_file_type VARCHAR2, etc)
AS
v_mime_type VARCHAR2;
myConn utl_smtp.connection;
BEGIN
IF p_file_type = 'BINARY' THEN /* You could actually define PDF, DOC, etc here if you wanted to */
v_mime_type := demo_mail.MULTIPART_MIME_TYPE;
ELSE
v_mime_type := 'text/plain';
END IF;
myConn := demo_mail.begin_mail( sender => p_from,
recipients => p_recipient,
subject => p_subject,
mime_type => v_mime_type);
/* Now call the other DEMO_MAIL Procedures or Functions to attach your
file, etc...*/
END;Obviously, this code snippet will not compile. It is simply to give you a starting place for your code. :-)
Hope this helps.
Craig... -
help- i accidentally deleted my mail application (the icon on the desk top bar with the postage stamp) in trash and them emptied my trash. for the life of me i cannot find the mail application on the apple site to reinstall it- can someone help me?
You description of events confuses me. You mention the desk top bar (which I assume is the Dock), and the Trash. Did you really drag the Mail application out of your Applications Folder (not the Dock), and put it in the Trash?
Or, did you just drag the Mail icon off of the Dock?
If you did the first, you'll have to reload it from you backup, your Install Disks (using a program called [Pacifist|http://www.charlessoft.com>), or re-install you OS.
If it is the second, then open you Applications Folder and drag the Mail program to your Dock. Or, since you're having problems dragging, just open Mail by double-clicking and then right-click on the Mail icon in the dock and select Keep in Dock. -
Help! Urgent! Mail sent my mail to the netherworld...
Ack!
Here's what I did:
I wanted to make month-named archive mailboxes within a year folder.
I created 12 mailboxes in a row by creating the mailbox and naming it: 1/2008, 2/2008, etc.
(YES- I NOW KNOW WHAT I DID)
I saw that what I had done was create a white folder named 1 with a triangle...I instantly surmised that within lay a folder named "2008" -bleh! Don't want that...so I hit the triangles on all the folders to reveal the "2008 folders within, selected them all at once, and deleted them.
Then I went to my inbox, sorted by date, grabbed the hundreds of emails for March, and said "move to folder on my mac named 3"
Then I did it with April (4)
then I decided to look in the mailboxes...why were they white? What did it mean?
I looked.
NOTHING.
What????
No!
So I searched for "march" in all mailboxes, with mailbox column visible, sorted by mailbox.
a bunch of emails were in the white march mailbox.
I selected one and got a message saying it hadn't been downloaded???
I ignored the message, selected them all, and went to transfer them to the inbox.
Got an error message that i didn't write down, and they disappeared from my search.
WHERE IS MY MAIL? HELP!
(I then did a find in the finder and a spotlight search, trying to find the mail that way. no luck.)
Help!
(This is on my Macbook, which is running Tiger)I'd get EasyFind...
http://www.versiontracker.com/dyn/moreinfo/macosx/11706
hen search for...
.emlx -
Firefox does not allow Gmail to load...stuck on preview mail screen
it says loading, and never loads
works fine on chrome and IE
pls email suggestion to [email protected]Please click the '''Solved'''' button next to the answer that solved your Firefox support issue, '''when you are logged in''', so this thread gets marked as '''Solved''' to help other users who may have this same problem.
Maybe you are looking for
-
It *****, iTunes 11.1.2 always autostarts and plays music after a while. killall iTunes helps. For about 5 minutes or so. Magic Trackpad stops. Mouse pointer hangs. The only way is to disconnecting and reconnecting the Pad. I think there are Bluetoot
-
Hi , I am using tomcat on window2000 where should i put my jsp files I have copied file in work folder but it is not working
-
9.0.5 loses ViewObject's Calculated Attributes ?!
We have an existing BC4J application and we try to migrate from 9.0.3.2 to 9.0.5 Beta. When opening a ViewObject under 9.0.5, JDeveloper warns that the object will be migrated. However, when doing so, custom calculated attribute's SQL is lost. Here i
-
Can I "convert" a website made with GoLive to iWeb?
I want to use iWeb instead of Adobe GoLive for my website. Can I "convert" this website made with GoLive to instead using iWeb? Thanks!
-
Hi We are changing the cart of account. The actual FI postings happen to the new GL account but in the TAX data tab, I still see the old GL accounts. Can any one help me how to default the TAX data segment to consider GL account from the New Chart of