Mail Adapter using ZIP files
Hi,
I need to create a bidirectional integration based in mail. These mails have an attached zipped file that contains 8-10 xml files and those files are the files I must use to create integration.
1 - Any Idea to receive zipped files?
2 - How can I deal with all the received files?
3 - How can I generate and pack the files to send to the external system?
Best regards,
Alfredo Lagunar.
Hi
Reffer to below mentione dlinks they may help you .
Please go throgh these links
http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
Receiver Mail Adapter.
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
eMail Reporting
eMail Report as Attachment (Excel/Word)
The specified item was not found.
The specified item was not found.
The specified item was not found.
Regard's
Chetan Ahuja
Similar Messages
-
File to mail scenario with zip file as an attachment
Hi experts,
I have a file to mail scenario.The mail contains a zip file as an attachment.
The file in the input folder is a zip file. I want to send this zip file via email using mail adapter.How can i achieve this?Please help me to solve it out.
Regards
DiviaHi Narath,
Do check the below link it will be helpfull
Troubleshooting SOAP, HTTP and Mail Adapter Scenarios with TCPGateway
Thanks
Sampath -
Xml file to mail scenario with zip file as an attachment
Hi experts,
I have a file to mail scenario. File is in xml format.
At receiver side, first I want to zip this file and send the zip file as an attachment using mail adapter.
How can i achieve this?
Regards
DiviaHi Shabarish,
In the module tab i have specified the below beans
localejbs/AF_Modules/MessageTransformBean contentType
AF_Modules/PayloadZipBean zip
sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean mail
In the module configuration i mentioned as
Transform.ContentDescription file
Transform.ContentDisposition attachment:filename="file.xml"
zip.filenameKey contentType
zip.mode zipOne
Now i am getting the mail with zip file as an attachment.But the name of the attachment i got is MainDocument.zip
Even the file name inside the zip is MainDocument.xml.
How can i specify my own file name for both zip file and the file inside the archieve folder.Please help me.
Regards
Divia -
How do you use zip files?
Hello all,
I have always stayed away from ZIP files (as in doing it myself, to my own files), since my days in Windows, after all the countless corrupt ZIP files I received from others, that simply would not UNzip...
But recently I've come across references to them again, and I realised I might be missing a trick or two....
Any comments on the following would be appreciated:
1.) What can I use them for?
As in - could I ZIP my entire folder of holiday pictures - all 13GB's of them?
Or is there some sort of size limit, where anything over, and things become problematic?
Are some file types Zipped better than others?
2.) How does it actually work?
As in - what happens to my original files?
Assume the holiday pics are Zipped - do the orginals get compressed, or can I select it so that copies are Zipped, as a kind of backup?
3.) How safe is it?
As in - assuming my hardware and software are all OK, nothing buggy etc. - if I create the ZIP file, pop it somewhere on a USB/External/the same laptop, and then Unzip it later, when I need them again - am I correct in assuming that the chances of the file being corrupted, are relatively slim?
And coming back to those holiday pics - could the compression process result in a loss in picture quality/resolution, were I to then unzip the file? Or - assuming everything works as planned - will the quality of the pictures/file emerge exactly the same as they were prior to being compressed?
I realise all of the above are ridiculously simple questions - but googling this doesn't really help, as most sites simply explain the how to, not the WHY...
The WHY articles were probably all written 15 years ago already... I'm just very, very far behind....
Thanks in advance!
[Mid-2012 MBP 8GB Ram; OSX ML]Zipping an image file should have no effect on image quality, as the image data is not actually changed.
Note that there's very little point in zipping a folder full of images, unless the images are not a compressed file type. You can't compress data that is already compressed - in fact, trying to do so often increases the file size - and JPEG images, for example, are already compressed.
For the most part, you don't need to use zip at all. I absolutely DO NOT recommend storing your files and/or folders on the hard drive in compressed form as a space-saving measure. It doesn't save enough space to be worth the time needed to compress files large enough to warrant it on a modern drive. Accessing zipped files is a pain, too, since you basically have to decompress the whole thing in order to access a file inside a zip file.
Zip becomes useful if you need to attach a large number of files to an e-mail message (zip the files, then attach the single zip file) or want to create an archive of multiple files to download from a web site through a single link. In other words, in situations where you need to transmit many files over the internet, especially where Windows users may be involved, zipping files can be either important or a convenience. -
Mail Adapter Use Mail Package, Mail Body and Attachment
Hello
Have some body a idea, how I can configure the mail adapter with use mail package, that I have in the mail a attachment with content from the messages and a mail body with also text from the message.
Thanks for your reply.
Regards Tom
The different Weblog , I have check:
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-addressHi Thomas,
If you are configuring your Mail adapter as reciever then refer
http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
your sender (say file) should have some message like this
<i>
<ml:Mail xmlns:ml=http://sap.com/xi/XI/Mail/30>
<Subject>Important</Subject>
<From>[email protected]</From>
<To>[email protected]</To>
<X_Mailer>Outlook Express </X_Mailer>
<Content>
This is the content.
</Content>
</ml:Mail></i>
And for Sender Mail Adpater
http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
Hope this will be helpful
Regards
Suraj -
Dynamic Mail Adapter using message split
Hi,
My requirement is like this:
one flat file will come
Sample Structure:
Email_address Custom_ID Status Comments
Many records will be there in that
Sample data:
som @ xi. 1234 approved blablabla
ram @ por 1236 approved blablabla
par @ mdm 1237 approved blablabla
vin @ gp 12348 rejected blablabla
Pi needs to pick the 1st record and construct an email with following information:
email address: som@xi
Likewise every record needs to be sent as email, and club the records in one mail if the mail address is same.
How to go by!
I have read the Micheals Blog:
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
And gone through the SAP note and downloaded the XSD.
The XSD is may works only for one record, also occurance in XSD is (1,1).
if Any other approach Please suggest me.I also tried that it is saying
" Cannot load schema with the target namespace http://sap.com/xi/XI/Mail/30 to namespace http://blabla.com/IMG/INF2199" -
Change e-mail body in mail adapter using module.
Hi All,
I am woking with one mail adapter and I prepared one code to change the attachement name and body content. The attachement is working good but the body e-mail is not working.
After to check a lot of blog my code now is creating two attachements one with the Payload (xml) and other with the text that suppose to come as a body e-mail.
Someone could help me ?
Thanks a lot.
Michael PerettoHi Michael,
Can you check if your main attachment (the one that should be the mail text) does not carry the wrong content-disposition header?
The easiest way to check is to use some message capturing tool (e.g., TCPGateway attached in the SOAP FAQ Note). If this header is present, it should have value inline to inform the mail client to display the content in inline. If the value is set wrong, the MessageTransformBean module can be misused to repair this content header.
Best regards, Yza -
How can I avoid Mail automatically producing zip files
When sending an email with Mail and attatch a .jpg fie. The recipient automatically receives a zip file. How can I avoid this?
What is you send a copy to yourself?
How large is the jpg file?
You can change file size of photos yo send. See:
https://discussions.apple.com/message/17483756#17483756
I just tried on my Mc with 10.9. I send it from my @me.com account to the @me.com account and opened on the Mac and the photo was still a jpg.
I also send it to my [email protected] and opened it via webmail and it was just the same jpg. -
Old DW4 website files - how do I access and use .zip files?
I have been given a .zip file of a now defunct website (Dreamweaver 4) which I wish to ressurrect! Do I need DW4 to access these website files or are the newer versions backward complient? Absolute novice so any advice/assistance gratefully appreciated. Thanks.
1. Double click your .zip file and drag the contents out onto your desktop to extract the archive.
Don't just attempt to use the files in the .zip archive within DW without moving them out.
They will appear to be "browseable" to your OS, but they won't/can't work as a website while in the archive
2. Make sure all of the files are within a single folder (not the Desktop itself)
Desktop > MyWebsiteName > all website files
3. From your current version of DW, go to Site > New Site...
4. Give the site a name and browse to the folder from Step 2 for Local Site Folder
5. If you have your FTP info, you can enter it under Servers at this time, but you don't need it right away to create the Site Definition to start working with DW
6. Hit Save
From there on out, you will work from DW while your site name from Step 4 is displayed in the left dropdown menu of the Files Window (go to Window > Files or hit F8 if it's not visible)
Snakeyez warning about deprecated features will likely be your biggest hurdle while working on an old site in a new version of DW. Hopefully, the original creator didn't use much of the old DW Spry based functionality. -
How can i stop sending my mail as a zip file
new to macbook air, having problems as I seem to only send out my docs in a zip file and do not know how to send then as pages or word or text file???
Buddy seems to have a workaround posted on his blog http://www.lawryk.com/_blog/My_Adobe_Blog/post/Workaround_for_Opening_ Your_Proto_Files_in_Dreamweaver/
Plus adobe is working on a better solution -
Send mail w/ CSV zip file as an attachement w/o using StrictXml2PlainBean
Hi Experts,
Is there any other way to send an email to target, that has a Zipped CSV file as an attachment, without using StrictXml2PlainBean?
I can't use StrictXml2PlainBean because it only accepts up to 3 levels of Recordset in the message type strucutre. The structure of my target is complex, up to 4 levels.
Any suggestions?Use MessageTransformBean, that accepts more levels.
Check online help for details. -
Howto use zipped-file for payload?
hi experts,
in our interface, we get a message with a zipped xml-document. so i have to change the "main payload" to the attachment and then unzip the file.
to swap the payload i used the following entry in the "modul"-tab:
AF_Modules/PayloadSwapBean, local enterprise bean, transform
keys:
transform, swap.keyName, payload-name
transform, swap.keyValue, attachment-1
--> i think this works, because in the response message i see only the payload "attachment-1"
but i am not able to unzip the file.
i used the PayloadZipBean with the following values:
AF_Modules/PayloadZipBean, local enterprise bean, unzip
keys:
unzip, zip.mode, unzip
what am i doing wrong, or did i forgot something?
thx 4 your help!Hi dieter,
in your sender CC (tab module), try that:
Processing Sequence:
Nbr Module Name Type Module Key
1 AF_Modules/PayloadZipBean Local Enterprise Bean unzip
2 AF_Modules/PayloadSwapBean Local Enterprise Bean swappayload
3 CallSapAdapter Local Enterprise Bean 0
Module Configuration:
Module Key Parameter Name Parameter Value
swappayload swap.keyName content-type
swappayload swap.keyValue application/xml
unzip zip.mod unzip
Regards.
Mickael -
Mail merge using PDF file and Excel spreadsheet
How do I mail merge an existing PDF file (the template) with a 50-record text file exported from Excel to create 50 PDFs? I am using Adobe Acrobat XI. I could not find anything under TOOLS | FORMS that would allow me to do a mail merge. I was able to import the text file but it only produced one record.
Since this is a pre-designed legal document, I do not want to recreate the PDF file in MS Word, then perform the mail merge in Word to PDF.
From my online research it seems I will be forced to purchase an Acrobat plugin to perform this simple task.
Am I simply overlooking something?
Thanks.oracle reports does not provide this capability. however, the e-business suite provides a tool that might do, what you are looking for ...
http://otn.oracle.com/products/applications/publishing/index.html
thanks,
ph. -
Configuring FTP adapter using .ppk file
Hi:
I am trying to configure FTP adapter in Weblogic for making a secured connection. My destination system provided a .ppk file, username and password to make a connection. I tried using both the Authentication Type PASSWORD as well as PUBLICKEY, but in both cases i am getting this error
<part name="summary">
<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'FileListing' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. FileConsumer:FTP_ListFiles_out [ FileListing_ptt::FileListing(Empty,filelist) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: Error in establishing a session with SSH Server.. Error in establishing a session with SSH Server.. Unable to establish a session with the server. Please ensure hostname and port specified to login to the server are correct. Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
</part>
<part name="detail">
<detail>Too many authentication failures for testuser</detail>
And in SOA logs i am getting this below error
####<Apr 30, 2013 1:46:05 AM EDT> <Warning> <Connector> <[email protected]> <soa_server1> <orabpel.invoke.pool-4.thread-3> <<anonymous>> <BEA1-4A34E1F57560E2DF58E4> <43b21ccaefeebde3:1e7743d9:13dfccfff26:-8000-00000000008dee9f> <1367300765147> <BEA-190032> << eis/sftp/qwer > ResourceAllocationException thrown by resource adapter on call to ManagedConnectionFactory.createManagedConnection(): "BINDING.JCA-11447
Error in establishing a session with SSH Server..
Error in establishing a session with SSH Server..
Unable to establish a session with the server.
Please ensure hostname and port specified to login to the server are correct.
">
SOA Version: 11.1.1.6, Weblogic Version: 10.3.6
Regards
RKAs you suggested, you can write a custom adapter where you can do duplicate check, file move to duplicate directory and email notification.
But this is trying to cover many business processes under adapter functionality whose intend purpose is just to
work with a transport, speak the transmission protocol and
transfer the file.
Custom adapter:
But still you can do these functionalities in custom adapter.
For article, white papers and webcast for developing custom adapter refer this MSDN page:
Developing Adapters using the BizTalk Adapter Framework
You can still use BizTalk adapter wizard which gives you the template files including registry key required for registering the custom adapter. This may need Visual Studio
2005 to get the template project created. The export Visual Studio 2005 to your latest version to get the template for your latest version. And write your FTP library code in the placeholders.
Or refer the SDK for sample custom adapter and replace those custom functionalities to yours to make and update SDK samples work for you.
http://biztalkadapterwizard.codeplex.com/releases/view/3892
No to custom pipeline:
Your functionalities are not meant for custom pipeline processing. Pipelines are meant for preparing the received message for further processing or preparing the message/file to be sent out. Custom pipeline is not the correct place to write
your functionalities.
Try to isolate the functionalities and handle it different modules and don’t pack everything in custom adapter. For example, you can just use custom adapter
to FTP the file, if it’s a duplicate file transfer the file to different folder location. You can (or ask the team who own the FTP server) to send an email if the duplicate folder receives a file. This would improve the performance of the adapter.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
Mail keeps "using" a file ...
... that was attached to an email so that I can't write over the file later on - I get a file is in use message. Even if I close Mail, the file is inaccessible. Is there some way of shutting off this action? Finder windows are closed so it's not a finder window pointing to the file. Thx.
HI,
I think this has already been mentioned but hoping Apple will do something about it
It's not Apple's responsibility to update third party software.
If you have BrowserPlus installed, it's not compatible with Safari 5.
How to uninstall BrowserPlus: http://help.yahoo.com/l/us/yahoo/browserplus/uninstall.html
You can contact Yahoo here for that. http://help.yahoo.com/l/us/yahoo/mail/yahoomail/contactus/index.html
You're not the only Yahoo user having problems with this... http://discussions.apple.com/message.jspa?messageID=11661807#11661807
Carolyn
Maybe you are looking for
-
Problem while appling incremental backup on standby 10.2.0.4
Hi, While recovering incremental backup on standby database, we are facing problem. Even though we have cataloged the backup we want to recover, when we issue "RMAN> recover database noredo;" recovery fails as rman tries to recover from the backup wh
-
How can I create my BW system in EP6.0
Hello, I am trying to set up the connection for BW system(BW7.0) in EP6.0 but when I open the object editor 'User Management' I can see 'User Management Path', 'User Management Desc', 'User Management Protocol', 'User Management Hostname' instead of
-
i've just installed tomcat and am trying to start up and am getting this error C:\jakarta-tomcat-4.0.3\bin>startup The JAVA_HOME environment variable is not defined This environment variable is needed to run this program The system cannot find the ba
-
i have asked to have my security qeustions reset but have not gotten a email from them yet
-
Restrict third party tolls from database
Hi, How do we restrict third party tools (TOAD etc..) from accessing database?