Mail and PDF docs
This is not a question as such but some general information and perhaps someone might give an explanation.
I attempted to send a pdf document in mail which was 1.9Mb in size and gave the total size of the email as 2.4mb.
When sending, the mail simply stopped going out. The activity slider would sometimes get to about 75% along other times about 10- 15 %. I then decided to test with a photo of a larger size (5.1Mb) and this transmitted without a problem. The recipient was me so I knew my mail wan't full or anything.
Now heres the strange part. I last started my Imac in 64 bit mode (just to see if it worked) using the 6+4 keys at startup so this time I rebooted without using 64 bit and guess what. The pdf sent without a problem.
So I again rebooted to 64 bit the problems back.
from now on I guess I'll just leave it at 32 until someone tells me differently.
Cheers
A text file....pdf....image are not the same data types in terms of transmitting across the 'net. All data is not created equal
Try to zip that pdf and then see what happens...
Similar Messages
-
How can scripts and smart forms send to mail and pdf?
HI i want to know how script and smartforms will send to mail and pdf formates>?
Dear Anees ,
Pleas pass on the parameter in itcpo - (getotf ) structure while calling OPEN_FORM as 'X' .
I have answered it in detail in your earlier post .
also giving below sample program for sending SAPSCRIPT as PDFattachment in email :
REPORT zsapscript_pdf_via_mail MESSAGE-ID zvele LINE-SIZE 68
NO STANDARD PAGE HEADING.
TABLES: itcpo.
Open your usual sapscript specifying that the output will be OTF
itcpo-tdgetotf = 'X'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
dialog = ''
form = '............'
language = sy-langu
options = itcpo
EXCEPTIONS
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
OTHERS = 6.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = '............'
element = '............'
EXCEPTIONS
window = 1
element = 2.
DATA: BEGIN OF t_otfdata OCCURS 0.
INCLUDE STRUCTURE itcoo.
DATA: END OF t_otfdata.
Closing the Sapscript, we save data (OTF) in a table
CALL FUNCTION 'CLOSE_FORM'
TABLES
otfdata = t_otfdata
EXCEPTIONS
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
OTHERS = 5.
DATA: len_in LIKE sood-objlen,
len_out LIKE sood-objlen.
DATA: BEGIN OF t_pdfdata OCCURS 0.
INCLUDE STRUCTURE solisti1.
DATA: END OF t_pdfdata.
DATA: BEGIN OF t_otfdata2 OCCURS 0.
INCLUDE STRUCTURE solisti1.
DATA: END OF t_otfdata2.
Move OTF data to another table with lenght 255
LOOP AT t_otfdata.
CONCATENATE t_otfdata-tdprintcom t_otfdata-tdprintpar INTO t_otfdata2.
APPEND t_otfdata2.
ENDLOOP.
Convert OTF format to PDF
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = 'OTF'
format_dst = 'PDF'
devtype = 'PRINTER'
FUNCPARA =
len_in = len_in
IMPORTING
len_out = len_out
TABLES
content_in = t_otfdata2
content_out = t_pdfdata
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
Download on local directory
*CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = len_out
FILENAME = 'c:\test.pdf'
FILETYPE = 'BIN'
TABLES
data_tab = t_pdfdata.
Mail settings
DATA: objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
DATA: objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
DATA: objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINe.
DATA: doc_chng LIKE sodocchgi1.
DATA righe_attachment TYPE i.
DATA righe_testo TYPE i.
DATA z_email(80) TYPE c.
Receivers parameters
SELECT-OPTIONS: s_email FOR z_email LOWER CASE NO INTERVALS.
PARAMETERS rec_type LIKE reclist-rec_type
DEFAULT 'U'. " type of sending address
CLEAR: reclist, reclist[],
objhead, objhead[],
objtxt, objtxt[],
objbin, objbin[],
objpack, objpack[].
Attachment filling
LOOP AT t_pdfdata.
objbin-line = t_pdfdata.
APPEND objbin.
ENDLOOP.
DESCRIBE TABLE objbin LINES righe_attachment.
Text filling
objtxt = 'Testo della Mail - Riga 1'.APPEND objtxt.
objtxt = 'Testo della Mail - Riga 2'.APPEND objtxt.
objtxt = 'Testo della Mail - Riga n'.APPEND objtxt.
DESCRIBE TABLE objtxt LINES righe_testo.
Other filling
doc_chng-obj_name = 'URGENT'.
doc_chng-expiry_dat = sy-datum + 10.
doc_chng-obj_descr = 'Prova invio Mail con PDF'.
doc_chng-sensitivty = 'O'.
doc_chng-doc_size = righe_testo * 255.
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = righe_testo.
objpack-doc_type = 'RAW'.
APPEND objpack.
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 1.
objpack-body_start = 1.
objpack-body_num = righe_attachment.
objpack-doc_type = 'PDF'.
objpack-obj_name = 'TEST'.
objpack-obj_descr = 'File.pdf'.
objpack-doc_size = righe_attachment * 255.
APPEND objpack.
Receivers filling
LOOP AT s_email WHERE sign = 'I'
AND option = 'EQ'
AND NOT ( low IS initial ).
CLEAR reclist.
IF sy-tabix > 1.
reclist-copy = 'X'.
ENDIF.
reclist-receiver = s_email-low.
IF rec_type IS INITIAL.
reclist-rec_type = 'U'. " Internet e-mail
ELSE.
reclist-rec_type = rec_type.
ENDIF.
reclist-notif_del = 'X'. " request delivery notification
reclist-notif_ndel = 'X'. " request not delivered notification
APPEND reclist.
ENDLOOP.
Mail Send
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc_chng
put_in_outbox = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
OBJECT_PARA =
OBJECT_PARB =
receivers = reclist
CONTENTS_HEX =
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 -
How do I add word and pdf docs in an existing pdf doc?
How do I add word and pdf docs in an existing pdf doc?
Or https://createpdf.acrobat.com/
-
Printing Problem in Mail and PDF
Whenever I open a Mail or PDF then choose print, the loading icon keep loading and loading... till 5-10 mins.and slow down other application. I never have this problem untill i installed OSX10.5.2. no matter I updated my adobe acrobat. IT's serious problem. Apple please get me 10.5.3 to fix the problem !!!
Apple suggested us to lower the image to print more faster. But my mail contains text only and still loading for few minutes.. How to fix? Apple get me help!!!!
-
I'm having trouble getting pdf docs to load in Dreamweaver 8.
All of the links looks fine and it loads on another machine just
fine. Anyone have any suggestions. Any help will be greatly
appreciated.What happens when the second machine click on a PDF link?
If everything else is accurate, as you say, then the prime
culprit is
Acrobat. Depending on the machine, the browsers, the plug-in,
and the phase
of the moon (which is nearly full), different machines can
handle PDFs
differently.
Does the PDF not open in the browser?
Does it open in Acrobat Reader?
Does it open in full version Acrobat?
Does nothing happen?
MD
murphy#1 wrote:
> It works on my primary machine where I actually put the
website
> together. Copied files and folders (so everything would
match) and
> recreated links on secondary machine. All links work
except for the
> pdf docs and the links are identical. Checked and
doubled checked
> those. I'm thinking about reinstalling Adobe on the
secondary
> machine and printing those files again through the
distriller and
> save them in the correct file. Also, will "dump" the
cookies on the
> secondary machine as you suggested. Site has not been
published to
> the web yet and won't until secondary machine works too.
(I have
> been known to have a ID10T error frequently myself.) -
When I create a pdf in Photoshop cs3 and attach it to an email in mac mail it converts to a jpg. I need for it to remain a pdf for quality. I have gone thru mail prefs and could not find anything relevant.
thanks
kiskaIf you are using Tiger and its Mail as your system info reports, then you have the Image Size button set to something other than Actual Size. Change it to Actual Size. It was never intended for this feature to apply to PDF, but in Mail 2.x it could, but changed the file type to JPEG. In Leopard and Mail 3, the Image Size selection cannot be applied to PDF.
Ernie -
Is there any way to send a pdf file as a file without it opening? I want to send some single page file that need to be zoomed to read. They are old handwritten ledger pages in pdf format and when sent as an attachment they open whilst in draft mode.
TIAI have solved the problem. For future reference the Adobe pdf file only opens automatically if there is only 1 page in the document. When the recipient clicks and drags the open file into Adobe reader all the normal tools and functions can still be used. The attachment can also be saved on the recipients hard drive where it will appear as an Adobe icon and it can be opened normally.
So I learned something new today! -
I am unable to access my iBooks library from my iPad through the iBooks App. Recent changes to the app says I require IOS 5.0 which I don't have because I have the original IOS that came with my iPad (the original released version) I have an extensive library that I cannot access. What do I do?
bobfromgreen valley wrote:
I require IOS 5.0 which I don't have because I have the original IOS that came with my iPad (the original released version) I have an extensive library that I cannot access. What do I do?
Why do you think you cannot upgrade to iOS 5? That should work fine. iOS 6 is not possible for iPad 1. -
My iPad and iPhone have iCloud icons. How do I access iCloud from my iMac?
How do I take advantage of the free storage? Can I upload photos,Word and PDF docs?Open contacts on your phone and check your groups. Do your contacts belong to any non-iCloud groups such as On My iPhone, a Gmail, Yahoo or Exchange account, or anything else? Also check Settings>Mail,Contacts,Calendars>Default Account (in the Contacts section). What is selected as your default account?
-
Can i use Response method in livecycle designer to render or open pdf doc?
Hello,
Can anybody please tell me is it possible to use response method available in the adobe livecycle designer which takes the input value to open the pdf doc.
Case 1: if we send adobe form throgh mail as pdf doc,then at the receiver side if the user open the pdf doc a popup should come asking for the input value.This popup will be from the response method.
Case 2:if we save the adobe form as pdf doc on to our desktop and then if we try to open the pdf doc a popup should come asking for input value.
Is it possible to do ?
If yes then in which event of livecycle designer we should write that response method and in what way?
If no,is there any other way to do this?
Thanks in advance,
MenakaYes i have tried in other events of livecycle designer.
In Formready event -> if i do preview pdf,first it will display form and then it ll ask for password.But with this event only if i save the pdf to my local desktop and try to open it ll not ask for password anywhere.
In Layoutready event ->Pdf preview in designer is working fine,but when i save it my local desktop and try to open it ll not ask for passward.
Could anybody tell me how to do it.
Menaka. -
Best solutions for storing text, Word and pdf documents on iPad
I just switched from using a powerbook to an iPad + microkeyboard for my work computer (I'm freelance and need to bring my own device wherever I go), and I love the size and weight of it compared to a laptop.
What I am glitching on is the fact that I cannot save documents to my ipad. Clients email Word and PDF docs to me, and I have (very few of) my own docs, such as resumes, which I need to update slightly and send out to them as well. It's not ideal when I need to send out a resume to dig through my Sent folder on Mail and forward it, creating a new email but just saving the attachment. I also need to access certain received documents repeatedly as reference. I'm surprised iOS for iPad doesn't have a "Documents" folder as OS X does.
How are users working around this problem currently? Please give me suggestions for solutions. I'm hopeful that future iterations of iOS will provide a way to store and access a personal library of documents as it does photos and videos, so I will commit to working through this in the short term. What are your work arounds?
TI doubt iOS will ever change. iOS does not have a file manager system like you're used to on a laptop or desktop, so it lacks the ability to access files like you're used to. So whatever workarounds you find will likely become your regular work flow. If Apple hasn't added a file manager to iOS in the past 5 (give or take) years it's doubtful they'll do so in the future...the lack of a file manager is why the iOS operating system is so secure, viruses can't infect and use a file manager system to spread if they don't have one.)
iOS ties the access to files to the apps that access them. As you said, photos with the photos app, music with the music app. With your purchase of a new iOS device you are eligible for free Apple apps, amongst them Pages and Numbers, Apple's word processing and version of excel.. You can store your documents in that app and access them that way. Or there are tons of other word processing apps. I use Documents to Go (although it's not free so you may wish to experiment with the free apps first before you start paying)
File transfer....well Apple's work flow is that everyone has access to always on and always available internet, thus their workflow being built around the cloud and using the internet for file transfer, as well as e-mailing stuff to yourself. There are some flash drives out there that have their own wifi transmitter that may help you. You'd plug them into another computer, put the file on it, turn on the wifi transmitter and use a small localized hotspot to connect your ipad to and download the files to your iPad via an app that will come with the flash drive. -
Storing MS-Word and PDF documents in database uploaded through APEX
I want to allow users to upload MS-Word and PDF documents they have created / edited outside of the APEX app for storage in the database along with the other app data.
I know that I should use a file browse item in a region for this purpose.
I have a some questions:
1. What database datatype is best for storing MS-Word and PDF docs? CLOB?
2. How can the user see that the file has been uploaded? In other words, how can they see that the filename has been uploaded? I want to show this on the page for later viewing. I have uploaded a document, but later, I have no way to see that the document has in fact been uploaded. From the APEX page, the file browse item does not indicate whether or not a file has previously been uploaded.
3. How can the user download the previously uploaded document?
4. Is there a way to give users the capability to edit a document in an APEX app where they can do MS-Word-like editing (font size, font type, bold, italics, etc.)?
I know I've asked a lot here and I appreciate your input.
-ReidIn my case, I am uploading screenshots of my application and then displaying them. You can feel free to use it if you want, the code was mostly taken from examples of file uploads posted by others. Here is some code to get you started:
File Table description
CREATE TABLE FILE_UPLOAD
(name VARCHAR2(4000) PRIMARY KEY,
subject VARCHAR2(4000),
id NUMBER,
blob_content BLOB,
mime_type VARCHAR2(4000),
PAGE_ID NUMBER);File Upload Procedure
IF ( :P20_FILE_NAME is not null ) THEN
INSERT INTO FILE_UPLOAD (id, NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE, PAGE_ID)
SELECT ID,:P20_FILE_NAME,:P20_SUBJECT, blob_content, mime_type, :P20_PAGE_ID
FROM APEX_APPLICATION_FILES
WHERE name = :P20_FILE_NAME;
DELETE from APEX_APPLICATION_FILES WHERE name = :P20_FILE_NAME;
END IF;Download Image Procedure Definition
CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
v_mime VARCHAR2(48);
v_length NUMBER;
v_file_name VARCHAR2(2000);
Lob_loc BLOB;
BEGIN
SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
INTO v_mime,lob_loc,v_file_name,v_length
FROM FILE_UPLOAD
WHERE id = p_file;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( Lob_loc );
end download_my_file;
/make sure to grant the procedure rights for use by anyone
GRANT EXECUTE ON download_my_file TO PUBLICDisplay Image Procedure Definition
create or replace PROCEDURE "DISPLAY_IMAGE"
inID NUMBER
AS
vMIME VARCHAR2(48);
vLENGTH NUMBER;
vFILENAME VARCHAR2(2000);
vBLOB BLOB;
BEGIN
SELECT MIME_TYPE, BLOB_CONTENT, NAME, DBMS_LOB.GETLENGTH(BLOB_CONTENT)
INTO vMIME, vBLOB, vFILENAME, vLENGTH
FROM FILE_UPLOAD
WHERE ID = inID;
owa_util.mime_header(nvl(vMIME, 'application/octet'), FALSE);
htp.p('Content-length: ' || vLENGTH);
owa_util.http_header_close;
wpg_docload.download_file(vBLOB);
END;
/Again, make sure everyone has rights to execute the procedure.
GRANT EXECUTE ON DISPLAY_IMAGE TO PUBLICThis doesn't create an editor inside the browser, it just creates a simple upload/display process. For a WYSIWYG editor that handles PDF or Docs, you'll need something far more sophisticated, and I can't suggest anything there. -
I am having problems interacting with Microsoft Office programs since the last update:cannot create a pdf through the 'print' menu in exel and both Word and Exel docs sent in Mac Mail end up being received as .dat files.
Both these situations have cropped up on my MacBook Pro since the last update.
Thanks for your help.
Cheers
BobThe 'Winmail.dat' problem has been extensively covered in these forums, I would search for that (a Google search works well) and unfortunately I have not seen the pdf print problem before, but assuming the software is current and functions normally (other than the pdf print problem) I have no suggestion other than the obvious (but time consuming) re-installation of Office.
I wish I had more -
How do I convert mail merge documents to individual pdf docs and save each with a field in the merge?
Is this an actual field, or just some piece of static text somewhere? Either way, you can't do it using the Split Document command. You'll need to use a custom-made script to read the value of this "field" and use it when extracting pages from the file.
-
Doc and pdf won't open in Ipad 2 Mail
An arrow appears and when we tap on it, the little disk starts loading and then nothing.
Any clue ?
This problem doesn't exist in my other account.
Thx.I noticed the same issue--I use gmail for email. Anything that had been archived into an email folder had this problem on my iPad. Forwarding the message to myself appeared to fix the issue for me. Once forwarded; I was able to open pdf's quite easily. I tested by refiling into an archived email folder; found the email (and pdf) in that folder--and was able to view the pdf just like before.
Maybe you are looking for
-
% of load on abap and database in se30
Hi, I have created a report for vendor balance, it is working fine and also i am getting data in very short time i want to know about performance analysis with SE30 When i am running report of only one month then on abap it is taking 85 % an
-
Can you create a different default Opportunity name for Lead conversion?
We're using CRMOD for a high-volume call center and we end up with leads with the same name. According to the online help, "The First Name and Last Name for the lead appear in the Opportunity Name field by default." That's working correctly, but it w
-
Can't update my ipod keep getting 9006 error
Hi i updated my iphone to 4.3.4 ok but then tried to update my ipod and keep getting error code 9006 tried turning of firewalls no joy it downloads about 550mb out of 650 and as soon as it go's into processing up come code can anyone help please
-
Need Pivot Table to hide only the rows in the table, now the entire sheet.
Hello, I have an basic pivot table (account type, account number, location, fees assessed) and wish to have a small summary table a couple of columns to the right of the data in the pivot table. Is there a way to be able to have the pivot table onl
-
Photoshop CS6 Suddenly Forgets It Is licensed
Hello, I was running a copy of Photoshop CS6 as a demo on my mac. I then purchased the program and installed it with the serial number it came with. It worked fine. But just over a day ago I fired it up and rather than open up, it tells me my