Zip file attachment
Hello,
we are searching for an answer to the following problem...
We are trying to send an email with an attached file via the email adapter. We are using the mail package format for sending the email. The content of the mail package is converted into an file attachment in the mail adapter. Because we have to define the attachment name we use the MessageTransformationBean to change it.
Now we want to zip the attached file... Can anyone give me a hint, how to realize it? Have we write a module, which we have to call inside the mail adapter? If so, where must we place this module in the EJB sequence?
Thank you for your replies...
Best regards,
Lars
Hi Palaniraja,
thank you for your answer...
My question to your suggestion is, can we use it in our case? Because we generate the attached file with the email adapter. I don't know exactly if the file is already send, if we place the module behind the mail adapter EJB. Or must we place it before this EJB. Which step will be the best time to place the new module? Before or after the mail adapter EJB?
It would be great to get the code from your site... Could you please send the code to my EMail address from my Business Card?
Thanks a lot...
Regards,
Lars
Similar Messages
-
Zip file attachment in Apple Mail
I am new to Mac and Apple Mail. I received a mail with a zip file attached. But Apple Mail shows the attachment as some html text. How do I retrieve and save the zip file?
some one sent you a zip file and you are having trouble opening it... it shouldn't... but if you do you can down load: http://www.stuffit.com/mac-expander.html
or http://itunes.apple.com/us/app/stuffit-expander/id405580712?mt=12 -
How to email a .zip file attachment from PC
Hi,
Please, let me know how to email a .zip file attachment from Presentation Server.
Thanks,
Madhuri.Hi,
try fm SO_DOCUMENT_SEND_API1
it's well documented (look with SE37)
and look here:
/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
regards Andreas -
Hello All
How to attach a ZIP file in DMS while creating document from CV01N transaction.
I have tried this in CV01n & ZIP file is attached but after creating Document when I am go in CV02N transaction & tries to open the ZIP file attachement system is giving the error "File can not be opened...File format is not correct"
Is there any seeting I need to do for data carrier type & Application type.
Your reply is appreciated.
Thanks
Pravink.Hi Pravin,
Have you maintained in DC30 "work station application" following entries
for eg:
TZP *.zip
For the required DMS document type.
If yes, let us know the error message you get.
Regards,
Deepak Kori -
Hi,
I have written a simple email client that sends a multipart message with a zip file attachment. I have written another email client that receives that email. I built it from looking at the javamail samples and the JGuru tutorial. Everything works fine on one mail host I am using, but I get errors on another email host. The two errors I see are....
javax.mail.internet.ParseException
at javax.mail.internet.ParameterList.<init>(ParameterList.java:61)
at javax.mail.internet.ContentType.<init>(ContentType.java:83)
at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:269)
at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:159)
and...
javax.mail.MessagingException: Missing start boundary
at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:297)
at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:159)
both of these errors occur when I call the MultiPart.getCount() method. I have seen a lot of similar posts here, but no solution. One hint at what my problem might be is that the host that I get the error on is in Europe. The most confusing thing is that other than having a different boundary, the received message that works correctly looks identical to the one that doesn't work.
Any ideas on what the problem is?
Thanks.Yes, I am having the same issue. But I am seeing these issue after the exchange server is upgraded to 2003. It seems like there is an issue with Message format in Exchange 2003. Any idea what we need to do fix this issue?
-
Retreiving zip file attachement
Hi,
How can I read a zip file attachment that is sent
inline in the message?
thanks,
dannyyI dont think
u can do much with the zipped attachments only solution would be to give the download option for this zipped attachment and i think u know how to do it
[email protected]
regards
hari -
Send email with password protected zip file attachment
Hi Experts,
The requirement is to zip a password protected excel file and send the zipfile through email. There is no middleware(PI) involved. The program has to be run in background mode. It is possible to create a password protected excel file using OLE method, but it will not work in background mode.
Also it is possible to place the zip file in application server, but I am not able to give password for this file.
Any help would be greatly appreciated.
Regards,
Renjith NairHi,
You have to write a customer adapter module to handle this requirement.
Zip/Unzip can be done using the payloadzipbean standard module:
http://help.sap.com/saphelp_nw04/helpdata/en/45/da9358a1772e97e10000000a155369/content.htm
/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
Is encoding an option instead of password for you:
/people/farooq.farooqui3/blog/2008/09/24/sap-xipi-encode-outgoing-payload-using-adapter-module -
Mail Adapter ZIP File Attachment
Hello,
I have created an interface using the mail receiver to mail a file as an attachment to an email address. I have used an ABAP mapping to create the Mail message associating the required content of Mail message. This all works fine and the emails with the required attachments are delivered successfully.
I now need the ability to ZIP the file attachments. I have had a look through some of the forum messages and it looks like I am going to have to create a java module for the receiver mail adapter to ZIP the file.
Has anyone done this before? If so can you give me some pointers. I have developed modules for the file adapter but am not sure how to ZIP.
Alternatively can this be done as part of the ABAP mapping. I have started looking at class CL_ABAP_ZIP. I am now able to compress the content but this does not create a valid archive as the attachment.
Any help would be much appreciated.
Thanks
GaryDear Sameer ,
Can you send me the Java Code which zips the folder or files .
My email id is [email protected]
Regards
Prabhat -
How do I open a zip file attachment
I received a one-page file in Excell as a zipped attachment. I do not know how to open it and I don't have Excel on my iMac. I am running 10.6.8 Snow Leopard ona single user Intel iMac. HOW do I open this attachment? Thank you.
Drag the attachment to your Desktop. Double-click on the file. It should unzip automatically. If it does not then download and install The Unarchiver 3.6.1.
Although this will de-archive the attachment, there is little you can do with it without Excel or something similar.
You can try the freeware suite, Libre Office, that is functionally similar to Office 2007 for Windows except it works on Lion.
You may want to consider as well:
These two suites are similar to Libre Office but not as current or as well-supported:
NeoOffice
Open Office
And, then there is Apple's iWork suite:
Pages - word processing and layout
Keynote - presentation
Numbers - spreadsheet
Each can open and save Office compatible files. They may be purchased separately via the Mac App Store for $19.99 each.
(Access to the Mac App Store requires Snow Leopard 10.6.6 or higher and an Apple ID.) -
How do I open a zip file attached to an email.
The email is from a trusted individual
First save it outside mail, e.g. on desktop; simply drag it there or use save function of attached files in Mail.app
If you double click on it and does not open, the file is corrupt or incomplete.
If you did that while in Mail.app, I assume the download had not yet been completed at the time you clicked on it. -
Zip file Mail attachment download in ios 7
Hi
I have downlaoded a zip file attachment from my Mail in ios 7 on Iphone. I am not able to locate the location of the file.
Please help me in locating the file.
ThanksHi,
as I found this in wikipedia:
Another common problem is the use of '\n' when communicating using an Internet protocol that mandates the use of ASCII CR+LF for ending lines. Writing '\n' to a text mode stream works correctly on Windows systems, but produces only LF on Unix, and something completely different on more exotic systems. Using "\r\n" in binary mode is slightly better, as it works on many ASCII-compatible systems, but still fails in the general case. One approach is to use binary mode and specify the numeric values of the control sequence directly, "\x0D\x0A".
Back to my issue:
In the UDF I am adding "\r\n" but only the "\n" seems to survive!
In Mapping test line feeds are available and the lines are shown as expected.
Using Notepad ++ to open the created txt file from the mail shows that LF is in the file at each end of line but CR is missing.
CR is only at the end of the last line in the file and is not from the UDF that creates the mail or the UDF that creates the attachment lines. Seems that this is added somewhere else behind the mapping.
This is what I found in galileo computing
(http://www.galileocomputing.de/glossar/gp/anzeige-11241/FirstLetter-Z, SORRY, only available in german language!):
In Parsing of XML-Documents the XML-Parser changes the end of line delimiter internally in general to a simple line feed (LF, #0A) as usual in UNIX. ..... In Windows this could result in problems with readability of source texts (e.g. in Notepad) which can be solved by choosing the right editor.
My target application is on Windows and not able to "choose" the right editor (PI system is on windoes OS too) !
But Im wondering where the CR at the end of the text comes from when all the \r\n will be replaced with \n as described.
Ideas are really welcome!
Best regards
Dirk
Edited by: Meinhard Dirk on May 31, 2011 2:45 PM -
I recieved an e-mail with a large zip file attached.
I double click on the attachment but can't open it on my minimac.
I did forward it to work and it opened with out a glitch.
Am I doing something wrong or does OSX not handle zip files.
Thanks,
PeteYes, attachment was xxx.zip
Tried to 'unstuff' it, but couldn't drag and drop onto unstuff icon.
when I click to open it asks if I want to open, I say yes and then it 'disapears"
Tried again this AM with no results.
Can open in Windows, but don't want to have to e-mail note to work to open
What do I do next? -
Problem with attached zip file
I received an email with a zip file attached, but whenever I try to open it I get the message "Unable to unarchive "filename.zip: into "Desktop." (Error 1 - Operation not permitted)"
Can anyone help?Download Stuffit Expander which can open just about anything you throw at it. You can obtain this "free" utility from Versiontracker and Macupdate.
-
Downloading attached zip file from emails using safari
How to download, and where will be the downloaded attached zip file in email be stored using safari? How to open and save the zip file attached to the email? Do you need an app to open and store the zip file?
The app GoodReader (I don't know if there are any free apps that can also do it) can be used to zip and unzip email attachments
press and hold the zip file in your email - after a couple of seconds you should get a popup, with one option being 'Open in GoodReader' which you should select
GoodReader should then open with the zip file listed under My Documents
select Manage Files on the right-hand side of GoodReader, select the zip file, and touch the Unzip button that appears on the right
You should also be able to download zip files directly into GoodReader by typing the URL in its Wed Downloads sectio. -
Allow Zip Files as Attachments in PDFs
As many of you are aware, newer versions of Acrobat have removed the ability to open or save zip files attached to a PDF (without a complex registry hack).
Notice that I've attached a zip file to this post. Adobe: If you've deemed zip files safe enough to be hosted and delivered in your own forums, maybe they're safe enough to be reinstated in PDFs?
I believe no product should force security on its users without providing them any practical way to override. Web browsers, email clients, and operating systems warn you of potentially dangerous files and then let the client make the choice. What if it's a zip file from a trusted source full of harmless text documents? Too bad - because Acrobat says so. Acrobat makes no attempt to examine the zip file to see if perhaps its contents are dangerous - it just sweepingly decides zips are far too dangerous to let the user have any voice in the matter. I fundamentally disagree.
I think Adobe got this one wrong - and I cast a vote that they loosen the noose on zip files on a future release. I'd like to hear other users' thoughts on this issue. Adobe is good at listening to their users - so tell them what you think.
Cheers,
DanThis information is for Acrobat Professional users in Windows XP. I don't know if it
is valid for PCs using only Acrobat Reader.
Adobe is wrong but that doesn't mean we have to live with their problem.
Since when does anyone open attachments from unknown or unsolicited sources?
Some zip files can be or contain executables (.exe) but that is no excuse for not
knowing where your emails or files come from and not having up to date virus software.
Adobe did not disallow zip file attachments, they just buried the enable so deep
that the average user would never find it and using an editor (regedit) that most users
have never heard of. As far as I am concernced, without any word from the Adobe
Tower, this is pure marketing.
I have inserted a jpeg photo that shows, for Windows XP, where to find the hidden enable
and how to edit to allow opening OR saving (recommended) zip files. This is the
file I have been passing to my Engineers and suppliers. The information comes from
a help call I put in to Adobe.
Editting the registry is not difficult, you just need to be sure that nothing unusual
happens while editting the text or saving after done. Have an IT person or other
superuser do the edit if you are unsure. After editting and saving, select BuiltInPermList,
then pulldown File and click Export. This produces a one-click edit that will fix the
problem on any Windows XP computer.
Adobe is also blocking rar, tar and tgz compressions.
This edit needs to repeated anytime Acrobat is reinstalled.
Maybe you are looking for
-
I dropped my iPhone 4 and now it won't sync to iTunes
Last night I dropped my iPhone 4 pretty severely and smashed the front glass. It's been working fine, with the occasional freak out (podcasts stop playing after ten seconds or so, but that righted itself), but this morning (after turning it on & off)
-
Move itunes from one computer to another computer
I have load 100's of CD's to my itunes. I have now purchased a new computer and would like to know how I can move these from the old to the new computer. When I attach my IPOD it requests if I would like to load those file purchased from ITUNES only
-
when i bought my mac I used an old app account that i do not remember it's password, so i had to open a new one but i can't updates my programs, so what should i do !
-
PDF Form Requires a newer version of Adobe Reader
New at this...Created my form in Live Cycle 8.0/Professional 8. Throughout company we are using Acrobat Reader 7.0 and are not at this time looking to upgrade. When our users open this form, get "This PDF form requires a newer version of Adobe Reader
-
Struts1.1 + tomcat 5.5 and jndi
Hi all, I have made a web application using struts 1.1. In this I am using tomcat container security check for log in. For this I have REALM tag in META-INF/context.xml. Now I am thinking to use JNDI for connection pooling, so that I can avoid to put