Attaching a pdf document while sending email
Hi,
Can you help me to send a pdf as an attachment while sending mail.
Also plz tell me the required configuration changes that need to be done.
It is important that where is your file which you are trying to attach and how you are creating the File object out of it to pass it to the MimeMessageUtils.setContent(). As such there is no specific location to place the the file you just need to create its File object correctly. E.g. if your PDF is getting created through some other application and it is present in say C:\app\output\pdf or /usr/local/app/output/pdf then what you can do is set a Java system property (let's name the system property as file.attach.dir) through your server startup scripts with like -Dfile.attach.dir=C:\\app\\output\\pdf or -Dfile.attach.dir=/usr/local/app/output/pdf
And then in your code you can do something like:
File attachment = new File(System.getProperty("file.attach.dir") + File.separatorChar + "attachment.pdf");
MimeMessageUtils.setContent(message, content, attachment, false);
You may also place the attachment files in an ATG specific folder and access it using atg.nucleus.DynamoEnv. Say the file is within a directory called "attachments" in the ATG data directory which defaults to <ATG>\home in case of a non-standalone EAR so you can do
File attachment = new File(atg.nucleus.DynamoEnv.getDataDir().getPath() + File.separatorChar + "attachments" + File.separatorChar + "attachment.pdf");
MimeMessageUtils.setContent(message, content, attachment, false);
If you make and deploy the EAR on application server as standalone then you might already have the ATG data directory set to some location through system property -Datg.dynamo.data-dir in your server startup scripts. So if that is the case you may use this same property as mentioned above in the first approach.
You can always check the file path and whether it is getting properly resolved by using Java File APIs like file.getPath() and file.exists() where file is the File object that you created. Make sure that file.exists() returns you true and you will not encounter FileNotFound Exception.
Similar Messages
-
String gets added to the name of the PDF while sending email
Hi,
I am generating a PDF from a smartform. When i click on the email button on the PDF, it opens outlook with the PDF in the attachment. But i can see some string gets added to the begining of the name of PDF for example if i have named the PDF as 18000012 then while sending email from PDF i can see the name as XXXXX1800012.pdf as the attachment. Is there any way by which i can remove that string.
Thanks,
SonalYou can use text variables in the report description
-
I have created a email in Fireworks and wanted to make a line of text a hyperlink that would take the viewer to a page on my website. I want to attach the final document to my email and sending it out.
1) design for no wider than 600px (otherwise it may not fit in email clients).
2) Slice up your newsletter design in segments for images and html areas with the slice tool.
3) add the <a href="http://www.yourwebsite.com">my website</a> link in one of the html areas.
4) export as generic html 4 code, and put the images in a separate folder.
5) upload all the images to your website's server in a folder (you cannot embed images in an email newsletter - they must link to externally hosted images).
6) change all the links in your html page to the ones that were loaded up on your server. For example, an image's source link would work out similar to this: <img src="http://www.yourwebsite.com/newsletter/image1.jpg" alt="alternate description of your image">
7) open the newsletter with working external images in Chrome or Firefox. Select the entire page content (ctrl-a), and copy it (ctrl-c).
8) create a new email in your mail client. Place the cursor in the body. Paste the newsletter (ctrl-v).
9) send your newsletter to hundreds of recipients, and get blacklisted by several email servers. Receive warning messages from your own hosting provider not to spam other users' email accounts.
10) realize this is too much of a hassle, and instead opt for a service such as MailChimp.
(The result in (9) depends on whether you sent out your newletter only to acquaintances, or not. But even then you might be warned off.)
Btw, many email clients turn off images in an email by default. You must provide the most important content as html, not as images. -
hi , i have a problem in macbook air , i want to attach a PDF file in my email once i attach it the safari closed by it self and a small menu appears it written safari closed unexpectant and it gave me 3 choices either reopen , ok or details .plz help thanks
see when i want to send a file by email ???? it comes safari closed unexpectdly plllllllz helllp !!!!!
Process: Safari [154]
Path: /Applications/Safari.app/Contents/MacOS/Safari
Identifier: com.apple.Safari
Version: 5.0.5 (6533.21.1)
Build Info: WebBrowser-75332101~1
Code Type: X86-64 (Native)
Parent Process: launchd [87]
Date/Time: 2011-06-05 16:28:10.099 -0400
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6
Interval Since Last Report: 213204 sec
Crashes Since Last Report: 800
Per-App Interval Since Last Report: 211953 sec
Per-App Crashes Since Last Report: 9
Anonymous UUID: 6B26E122-C0E3-43C3-8FE8-EB7A61DE4C8E
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread: 5
Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff8259029a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff8259090d mach_msg + 59
2 com.apple.CoreGraphics 0x00007fff830b56ee _CGSSetRegisteredCursor + 181
3 com.apple.CoreGraphics 0x00007fff830b5615 CGSSetRegisteredCursor + 173
4 com.apple.AppKit 0x00007fff840c1a6e -[NSCursor set] + 371
5 com.apple.WebCore 0x00007fff86a07684 WebCore::EventHandler::handleMouseMoveEvent(WebCore::PlatformMouseEvent const&, WebCore::HitTestResult*) + 1508
6 com.apple.WebCore 0x00007fff86bc874b WebCore::EventHandler::passSubframeEventToSubframe(WebCore::MouseEventWithHitTe stResults&, WebCore::Frame*, WebCore::HitTestResult*) + 363
7 com.apple.WebCore 0x00007fff86bc85d9 WebCore::EventHandler::passMouseMoveEventToSubframe(WebCore::MouseEventWithHitT estResults&, WebCore::Frame*, WebCore::HitTestResult*) + 9
8 com.apple.WebCore 0x00007fff86a07365 WebCore::EventHandler::handleMouseMoveEvent(WebCore::PlatformMouseEvent const&, WebCore::HitTestResult*) + 709
9 com.apple.WebCore 0x00007fff86a06fea WebCore::EventHandler::mouseMoved(WebCore::PlatformMouseEvent const&) + 74
10 com.apple.WebCore 0x00007fff86a0684a WebCore::EventHandler::mouseMoved(NSEvent*) + 202
11 com.apple.WebKit 0x00007fff84c05c3f -[WebHTMLView(WebPrivate) _updateMouseoverWithEvent:] + 927
12 com.apple.Foundation 0x00007fff881488ea _nsnote_callback + 167
13 com.apple.CoreFoundation 0x00007fff809f2000 __CFXNotificationPost + 1008
14 com.apple.CoreFoundation 0x00007fff809de578 _CFXNotificationPostNotification + 200
15 com.apple.Foundation 0x00007fff8813f84e -[NSNotificationCenter postNotificationName:object:userInfo:] + 101
16 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
17 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
18 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
19 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
20 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
21 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
22 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
23 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
24 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
25 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
26 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
27 com.apple.AppKit 0x00007fff840f7192 forwardMethod + 104
28 com.apple.AppKit 0x00007fff841c506f -[NSWindow sendEvent:] + 8769
29 com.apple.Safari 0x00000001000421b5 0x100000000 + 270773
30 com.apple.Safari 0x0000000100042142 0x100000000 + 270658
31 com.apple.AppKit 0x00007fff840f987d -[NSApplication sendEvent:] + 4198
32 com.apple.Safari 0x0000000100038e72 0x100000000 + 233074
33 com.apple.AppKit 0x00007fff840904da -[NSApplication run] + 474
34 com.apple.AppKit 0x00007fff840891a8 NSApplicationMain + 364
35 com.apple.Safari 0x0000000100009f18 0x100000000 + 40728
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff825a912a kevent + 10
1 libSystem.B.dylib 0x00007fff825aaffd _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x00007fff825aacd4 _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x00007fff825aa7fe _dispatch_worker_thread2 + 252
4 libSystem.B.dylib 0x00007fff825aa128 _pthread_wqthread + 353
5 libSystem.B.dylib 0x00007fff825a9fc5 start_wqthread + 13
Thread 2:
0 libSystem.B.dylib 0x00007fff825a9f4a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff825aa35c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff825a9fc5 start_wqthread + 13
Thread 3: WebCore: IconDatabase
0 libSystem.B.dylib 0x00007fff825caf8a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff825ceda1 _pthread_cond_wait + 1286
2 com.apple.WebCore 0x00007fff8691f0f9 WebCore::IconDatabase::syncThreadMainLoop() + 249
3 com.apple.WebCore 0x00007fff8691b1fc WebCore::IconDatabase::iconDatabaseSyncThread() + 172
4 libSystem.B.dylib 0x00007fff825c94f6 _pthread_start + 331
5 libSystem.B.dylib 0x00007fff825c93a9 thread_start + 13
Thread 4: Safari: SafeBrowsingManager
0 libSystem.B.dylib 0x00007fff8259029a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff8259090d mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff809e5932 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff809e4dbf CFRunLoopRunSpecific + 575
4 com.apple.Safari 0x000000010002f5c5 0x100000000 + 193989
5 com.apple.Safari 0x000000010002f555 0x100000000 + 193877
6 libSystem.B.dylib 0x00007fff825c94f6 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff825c93a9 thread_start + 13
Thread 5 Crashed:
0 com.apple.CoreFoundation 0x00007fff809c7a20 CFWriteStreamClose + 80
1 com.apple.Foundation 0x00007fff882db917 spoolingClose + 74
2 com.apple.CoreFoundation 0x00007fff809c7aa0 _CFStreamClose + 64
3 com.apple.CFNetwork 0x00007fff8881fea4 HTTPNetStreamInfo::closeRequestResources() + 118
4 com.apple.CFNetwork 0x00007fff8881fac3 HTTPNetConnection::transmitRequest(HTTPNetStreamInfo*, __CFWriteStream*, CFStreamError*, unsigned char) + 1173
5 com.apple.CFNetwork 0x00007fff8881ea0e HTTPNetConnection::requestStreamCallback(void*, __CFWriteStream*, unsigned long) + 70
6 com.apple.CFNetwork 0x00007fff8881e965 NetConnection::connectionRequest(__CFWriteStream*, unsigned long) + 71
7 com.apple.CoreFoundation 0x00007fff80a47373 _signalEventSync + 115
8 com.apple.CoreFoundation 0x00007fff80a480c9 _cfstream_shared_signalEventSync + 553
9 com.apple.CoreFoundation 0x00007fff809e72ad __CFRunLoopDoSources0 + 1021
10 com.apple.CoreFoundation 0x00007fff809e55f9 __CFRunLoopRun + 873
11 com.apple.CoreFoundation 0x00007fff809e4dbf CFRunLoopRunSpecific + 575
12 com.apple.Foundation 0x00007fff881c7f5f +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 297
13 com.apple.Foundation 0x00007fff88148f29 __NSThread__main__ + 1429
14 libSystem.B.dylib 0x00007fff825c94f6 _pthread_start + 331
15 libSystem.B.dylib 0x00007fff825c93a9 thread_start + 13
Thread 6: com.apple.CFSocket.private
0 libSystem.B.dylib 0x00007fff825d3e52 select$DARWIN_EXTSN + 10
1 com.apple.CoreFoundation 0x00007fff80a07498 __CFSocketManager + 824
2 libSystem.B.dylib 0x00007fff825c94f6 _pthread_start + 331
3 libSystem.B.dylib 0x00007fff825c93a9 thread_start + 13
Thread 7: Safari: SnapshotStore
0 libSystem.B.dylib 0x00007fff825caf8a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff825ceda1 _pthread_cond_wait + 1286
2 com.apple.JavaScriptCore 0x00007fff816e5a40 ***::ThreadCondition::timedWait(***::Mutex&, double) + 64
3 com.apple.Safari 0x00000001001be5bd 0x100000000 + 1828285
4 com.apple.Safari 0x00000001000470a7 0x100000000 + 290983
5 com.apple.Safari 0x0000000100046f25 0x100000000 + 290597
6 libSystem.B.dylib 0x00007fff825c94f6 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff825c93a9 thread_start + 13
Thread 8: WebCore: LocalStorage
0 libSystem.B.dylib 0x00007fff825caf8a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff825ceda1 _pthread_cond_wait + 1286
2 com.apple.JavaScriptCore 0x00007fff816e5a40 ***::ThreadCondition::timedWait(***::Mutex&, double) + 64
3 com.apple.WebCore 0x00007fff86c6ffb1 WebCore::LocalStorageThread::threadEntryPoint() + 193
4 libSystem.B.dylib 0x00007fff825c94f6 _pthread_start + 331
5 libSystem.B.dylib 0x00007fff825c93a9 thread_start + 13
Thread 9:
0 libSystem.B.dylib 0x00007fff8259029a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff8259090d mach_msg + 59
2 com.apple.QuartzCore 0x00007fff8551f3a6 CA::Render::Server::server_thread(void*) + 177
3 com.apple.QuartzCore 0x00007fff8551f2e6 thread_fun + 34
4 libSystem.B.dylib 0x00007fff825c94f6 _pthread_start + 331
5 libSystem.B.dylib 0x00007fff825c93a9 thread_start + 13
Thread 10:
0 libSystem.B.dylib 0x00007fff8259029a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff8259090d mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff809e5932 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff809e4dbf CFRunLoopRunSpecific + 575
4 com.apple.CoreFoundation 0x00007fff809e4b46 CFRunLoopRun + 70
5 com.apple.DesktopServices 0x00007fff84fe64d2 TSystemNotificationTask::SystemNotificationTaskProc(void*) + 514
6 ...ple.CoreServices.CarbonCore 0x00007fff861a3335 PrivateMPEntryPoint + 63
7 libSystem.B.dylib 0x00007fff825c94f6 _pthread_start + 331
8 libSystem.B.dylib 0x00007fff825c93a9 thread_start + 13
Thread 11:
0 libSystem.B.dylib 0x00007fff825a9f4a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff825aa35c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff825a9fc5 start_wqthread + 13
Thread 12:
0 libSystem.B.dylib 0x00007fff825a9f4a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff825aa35c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff825a9fc5 start_wqthread + 13
Thread 13:
0 libSystem.B.dylib 0x00007fff825a9f4a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff825aa35c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff825a9fc5 start_wqthread + 13
Thread 14:
0 libSystem.B.dylib 0x00007fff825a9f4a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff825aa35c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff825a9fc5 start_wqthread + 13
Thread 5 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000400 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000024
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000115577f90 rsp: 0x0000000115577f80
r8: 0x00007fff710e8948 r9: 0x0000000000000000 r10: 0x000000011530c440 r11: 0x00007fff8881ff02
r12: 0x0000000000000000 r13: 0x0000000119031d30 r14: 0x00000001155800b0 r15: 0x0000000119031d30
rip: 0x00007fff809c7a20 rfl: 0x0000000000010287 cr2: 0x0000000000000000
Binary Images:
0x100000000 - 0x1006afff7 com.apple.Safari 5.0.5 (6533.21.1) <B81D1199-542C-D929-A1CA-A139EA6262C1> /Applications/Safari.app/Contents/MacOS/Safari
0x115639000 - 0x11563afff ATSHI.dylib ??? (???) <C3BF96C6-C170-B0DD-7541-78AD91B4BD70> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/ATSHI.dylib
0x1156f4000 - 0x1156f8ff7 libFontRegistryUI.dylib ??? (???) <89E50DF0-2A72-B443-28AE-5F27EC7E22C7> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framewo rk/Resources/libFontRegistryUI.dylib
0x116850000 - 0x116850fff com.apple.JavaPluginCocoa 13.4.0 (13.4.0) <00AF9559-29EA-5E25-42CF-BE2447F9EBC5> /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaPluginCocoa.bundle/C ontents/MacOS/JavaPluginCocoa
0x118f2f000 - 0x118f34ff7 JavaLaunching ??? (???) <E859D1E8-3E9D-5432-DCFA-684A9B1EDD2C> /System/Library/PrivateFrameworks/JavaLaunching.framework/Versions/A/JavaLaunch ing
0x11b787000 - 0x11b7adfff GLRendererFloat ??? (???) <0AF0FF0D-6FD6-B5FA-9991-C8F58E8F1DD4> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GL RendererFloat
0x11b7ed000 - 0x11b7f6fff com.apple.qldisplay.PDF 2.3 (327.6) <A5D1AD9F-A1DD-D0AE-9FA1-4D46407A9901> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/Resources/DisplayBundles/PDF.qldisplay/Contents/MacOS/PDF
0x11c000000 - 0x11c191fef GLEngine ??? (???) <7B2CD458-D828-6A44-C918-C194838974D5> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x11c1c2000 - 0x11c5e5fef libclh.dylib 3.1.1 C (3.1.1) <0774DA8C-734E-2639-0F37-CCB20D17CDBD> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
0x200000000 - 0x200787fff com.apple.GeForceGLDriver 1.6.26 (6.2.6) <D469864E-34A6-37EE-A01D-7C2AF0223D35> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDrive r
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <69130DA3-7CB3-54C8-ABC5-423DECDD2AF7> /usr/lib/dyld
0x7fff80003000 - 0x7fff8004afff com.apple.QuickLookFramework 2.3 (327.6) <11DFB135-24A6-C0BC-5B97-ECE352A4B488> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
0x7fff8004b000 - 0x7fff800d7fff com.apple.iLifeMediaBrowser 2.5.4 (468.1.1) <F685B42A-E477-3724-A49C-39599AFBDE95> /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeM ediaBrowser
0x7fff800d8000 - 0x7fff800e3fff com.apple.corelocation 12.1 (12.1) <7B5164FD-F5FD-6837-1DA3-6E18582CEDF3> /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation
0x7fff802c2000 - 0x7fff8030aff7 libvDSP.dylib 268.0.1 (compatibility 1.0.0) <98FC4457-F405-0262-00F7-56119CA107B6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x7fff8030b000 - 0x7fff804efff7 libType1Scaler.dylib ??? (???) <A2207818-4828-41AD-0F6D-87A07F238388> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libType1Scaler.dylib
0x7fff804f0000 - 0x7fff80545ff7 com.apple.framework.familycontrols 2.0.2 (2020) <F09541B6-5E28-1C01-C1AE-F6A2508670C7> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
0x7fff80546000 - 0x7fff805d5fff com.apple.PDFKit 2.5.1 (2.5.1) <38BEE9BB-3716-49BA-7E14-687FE9E066EB> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
0x7fff8062f000 - 0x7fff80679ff7 com.apple.Metadata 10.6.3 (507.15) <DE238BE4-5E22-C4D5-CF5C-3D50FDEE4701> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x7fff807db000 - 0x7fff807e2fff com.apple.OpenDirectory 10.6 (10.6) <4FF6AD25-0916-B21C-9E88-2CC42D90EAC7> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x7fff807e3000 - 0x7fff808fcfef libGLProgrammability.dylib ??? (???) <C4BB281B-629D-08ED-2991-3D51671B0B02> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x7fff808fd000 - 0x7fff808fefff liblangid.dylib ??? (???) <66D5E5AA-CE00-06DE-071B-ECF67D0936BA> /usr/lib/liblangid.dylib
0x7fff808ff000 - 0x7fff80925fe7 libJPEG.dylib ??? (???) <AD42F658-7C32-EEE5-8341-A8EE6476BF46> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x7fff80934000 - 0x7fff80934ff7 com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <4CCE5D69-F1B3-8FD3-1483-E0271DB2CCF3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x7fff80996000 - 0x7fff80998fff com.apple.print.framework.Print 6.1 (237.1) <CA8564FB-B366-7413-B12E-9892DA3C6157> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x7fff80999000 - 0x7fff80b10fe7 com.apple.CoreFoundation 6.6.4 (550.42) <770C572A-CF70-168F-F43C-242B9114FCB5> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff80b11000 - 0x7fff80b73fe7 com.apple.datadetectorscore 2.0 (80.7) <396E3284-B488-A6F4-2B3A-DE421E38C960> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x7fff80b74000 - 0x7fff80bb5fef com.apple.QD 3.36 (???) <5DC41E81-32C9-65B2-5528-B33E934D5BB4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x7fff80bee000 - 0x7fff80c00fe7 libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <43291846-12A7-3518-6C0D-68885CB1C6FB> /usr/lib/libsasl2.2.dylib
0x7fff80c01000 - 0x7fff80c0fff7 libkxld.dylib ??? (???) <F90EDFE8-708A-3046-E403-A3B536FCFA43> /usr/lib/system/libkxld.dylib
0x7fff80c10000 - 0x7fff80c21ff7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <97019C74-161A-3488-41EC-A6CA8738418C> /usr/lib/libz.1.dylib
0x7fff80d17000 - 0x7fff80ed5fff libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <2C6ECACF-CD56-1714-6F63-CB6F5EE7A1E2> /usr/lib/libicucore.A.dylib
0x7fff80ed6000 - 0x7fff80ee1ff7 com.apple.speech.recognition.framework 3.11.1 (3.11.1) <3D65E89B-FFC6-4AAF-D5CC-104F967C8131> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x7fff80efd000 - 0x7fff80f46ff7 com.apple.securityinterface 4.0.1 (40418) <77FDB498-B502-050C-6AF4-1DAB17F64B6F> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x7fff80f47000 - 0x7fff80f58fff com.apple.DSObjCWrappers.Framework 10.6 (134) <88FBCC55-854B-D307-FB5A-026D99AED47E> /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x7fff81158000 - 0x7fff811ddff7 com.apple.print.framework.PrintCore 6.3 (312.7) <CDFE82DD-D811-A091-179F-6E76069B432D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x7fff811de000 - 0x7fff811e4ff7 IOSurface ??? (???) <6AF28EC1-BCC4-9F65-AF7D-ABE60B91072A> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x7fff811e5000 - 0x7fff811e5ff7 com.apple.Cocoa 6.6 (???) <61E16E28-1C4E-8446-6B1E-25B7A6FE59A0> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff81228000 - 0x7fff812b8fff com.apple.SearchKit 1.3.0 (1.3.0) <72272991-E065-9D32-EDA5-A77230C584D6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x7fff81304000 - 0x7fff81339fef com.apple.framework.Apple80211 6.2.4 (624.2) <B2CB69CE-A4F5-D70F-03DE-CF985D5558A2> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x7fff8133a000 - 0x7fff813d4ff7 com.apple.ApplicationServices.ATS 275.15.1 (???) <55B528A6-0C88-6CB8-152B-A34A440FACFE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x7fff813d5000 - 0x7fff816d3fff com.apple.HIToolbox 1.6.5 (???) <AD1C18F6-51CB-7E39-35DD-F16B1EB978A8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x7fff816d4000 - 0x7fff818c4fef com.apple.JavaScriptCore 6533.20 (6533.20.20) <0AA8B101-C02C-0858-84BC-4E4D397E0231> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x7fff818c5000 - 0x7fff81902ff7 libFontRegistry.dylib ??? (???) <8C69F685-3507-1B8F-51AD-6183D5E88979> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x7fff81933000 - 0x7fff8199dfe7 libvMisc.dylib 268.0.1 (compatibility 1.0.0) <AF0EA96D-000F-8C12-B952-CB7E00566E08> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x7fff819a3000 - 0x7fff81a20fef libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <9DBE8FD3-E42D-80C1-11AD-6500C32DBEBF> /usr/lib/libstdc++.6.dylib
0x7fff81a21000 - 0x7fff81b49ff7 com.apple.MediaToolbox 0.484.20 (484.20) <1C80C29E-6FDB-71F3-B465-FF92A30BBF9D> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbo x
0x7fff81b66000 - 0x7fff81ba3fff com.apple.LDAPFramework 2.0 (120.1) <54A6769E-D7E2-DBE2-EA61-87B9EA355DA4> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x7fff81ba4000 - 0x7fff81e0efef com.apple.QuartzComposer 4.2 ({156.28}) <248C697E-B2DD-4F27-27CD-6E6B99B9B0A8> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
0x7fff81e0f000 - 0x7fff81e15ff7 com.apple.DiskArbitration 2.3.1 (2.3.1) <3384F026-6512-86FF-4930-050182F34A0F> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff81e16000 - 0x7fff8209efef com.apple.security 6.1.2 (55002) <015C9A08-3D07-9462-8E91-DB1924349621> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff8209f000 - 0x7fff82110ff7 com.apple.AppleVAFramework 4.10.23 (4.10.23) <3304268B-A93D-9F79-09C0-AA9081406352> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
0x7fff82156000 - 0x7fff82167fff SyndicationUI ??? (???) <62A4BC15-72EA-0CC1-046A-52E576E8D751> /System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/A/Syndicatio nUI
0x7fff82168000 - 0x7fff821a2fff libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <C7153747-50E3-32DA-426F-CC4C505D1D6C> /usr/lib/libssl.0.9.8.dylib
0x7fff821a3000 - 0x7fff82225fff com.apple.QuickLookUIFramework 2.3 (327.6) <9093682A-0E2D-7D27-5F22-C96FD00AE970> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/QuickLookUI
0x7fff82226000 - 0x7fff82468fe7 com.apple.AddressBook.framework 5.0.4 (883) <3C634319-4B5B-592B-2D3A-A16336F93AA0> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x7fff82469000 - 0x7fff8249afff libGLImage.dylib ??? (???) <6925991A-9B1B-B9FA-645A-807F9BCC3DE7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x7fff82551000 - 0x7fff82554fff com.apple.help 1.3.1 (41) <A572906A-BFEF-7F30-887C-67D43ACFA983> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x7fff82555000 - 0x7fff8258eff7 com.apple.MeshKit 1.1 (49.2) <832A074D-7601-F7C9-6D3A-E1C58965C3A1> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/MeshKit
0x7fff8258f000 - 0x7fff82750fff libSystem.B.dylib 125.2.10 (compatibility 1.0.0) <9BAEB2F2-B485-6349-E1AB-637FE12EE770> /usr/lib/libSystem.B.dylib
0x7fff82825000 - 0x7fff8302ffe7 libBLAS.dylib 219.0.0 (compatibility 1.0.0) <2F26CDC7-DAE9-9ABE-6806-93BBBDA20DA0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x7fff83030000 - 0x7fff83077ff7 com.apple.coreui 2 (114) <923E33CC-83FC-7D35-5603-FB8F348EE34B> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x7fff83078000 - 0x7fff8377506f com.apple.CoreGraphics 1.545.0 (???) <F0A5F62D-4C66-5B1F-4F13-322932915901> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff83776000 - 0x7fff837f3fef com.apple.backup.framework 1.2.2 (1.2.2) <CD3554D8-DA47-DDBC-910C-B2F1DE3B8CA6> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x7fff837f4000 - 0x7fff838b6fef libFontParser.dylib ??? (???) <363E2A8A-CEFE-9A74-E677-C240B27A4FC6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff838b7000 - 0x7fff83978fef com.apple.ColorSync 4.6.6 (4.6.6) <EC6C8119-23F6-A96E-47A3-5CD31E462AE3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x7fff839c4000 - 0x7fff83ae5fe7 libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <48AEAFE1-21F4-B3C8-4199-35AD5E8D0613> /usr/lib/libcrypto.0.9.8.dylib
0x7fff83ae6000 - 0x7fff83b86fff com.apple.LaunchServices 362.2 (362.2) <87E172DB-2C0E-E2E5-2A75-FB4284AECDAF> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff83bca000 - 0x7fff83cd0fe7 com.apple.PubSub 1.0.5 (65.21) <1F9B7C84-375D-036F-790A-02BBE7BCE445> /System/Library/Frameworks/PubSub.framework/Versions/A/PubSub
0x7fff83cd1000 - 0x7fff83d16fff com.apple.CoreMediaIOServices 134.0 (1160) <BA22EA4A-4572-749A-4FE0-1323E0B6F6F3> /System/Library/PrivateFrameworks/CoreMediaIOServices.framework/Versions/A/Core MediaIOServices
0x7fff83d17000 - 0x7fff83d95ff7 com.apple.CoreText 3.151.8 (???) <5DCD6BD9-63FB-767E-5993-5AEBE890145B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x7fff83da4000 - 0x7fff83dbfff7 com.apple.openscripting 1.3.1 (???) <9D50701D-54AC-405B-CC65-026FCB28258B> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x7fff83dc2000 - 0x7fff83dd1fff com.apple.opengl 1.6.12 (1.6.12) <29482652-1E44-1C47-428F-1209AA65336D> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff83e8a000 - 0x7fff83fbfff7 com.apple.audio.toolbox.AudioToolbox 1.6.6 (1.6.6) <AFAB42A2-A3A8-83D8-D583-613625706690> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff84010000 - 0x7fff84011ff7 com.apple.audio.units.AudioUnit 1.6.6 (1.6.6) <BE4E577D-87EC-8FD0-5341-AE99CE4ADC99> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff8401e000 - 0x7fff8406dff7 com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1) <01B370FB-D524-F660-3826-E85B7F0D85CD> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
0x7fff84087000 - 0x7fff84a7dfff com.apple.AppKit 6.6.7 (1038.35) <9F4DF818-9DB9-98DA-490C-EF29EA757A97> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff84a7e000 - 0x7fff84b0afef SecurityFoundation ??? (???) <8A74D45E-9FE9-DD58-42F5-C7474FFDD0C1> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x7fff84b0b000 - 0x7fff84be8fff com.apple.vImage 4.1 (4.1) <C3F44AA9-6F71-0684-2686-D3BBC903F020> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x7fff84be9000 - 0x7fff84d67ff7 com.apple.WebKit 6533.21 (6533.21.1) <E954BB9E-51DC-9B68-5312-E1507329A9B3> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x7fff84ecc000 - 0x7fff84fe3fef libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <1B27AFDD-DF87-2009-170E-C129E1572E8B> /usr/lib/libxml2.2.dylib
0x7fff84fe4000 - 0x7fff850cafef com.apple.DesktopServices 1.5.10 (1.5.10) <B7E00D85-F971-D85B-0217-482E15E9E924> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x7fff850d4000 - 0x7fff85189fe7 com.apple.ink.framework 1.3.3 (107) <8C36373C-5473-3A6A-4972-BC29D504250F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x7fff85191000 - 0x7fff8524afff libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <2C5ED312-E646-9ADE-73A9-6199A2A43150> /usr/lib/libsqlite3.dylib
0x7fff8524b000 - 0x7fff8525afff com.apple.NetFS 3.2.2 (3.2.2) <7CCBD70E-BF31-A7A7-DB98-230687773145> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff8525b000 - 0x7fff85311fff libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <99CB3A0F-64CF-1D16-70CD-8AED2EF06C30> /usr/lib/libobjc.A.dylib
0x7fff85367000 - 0x7fff85396fff com.apple.quartzfilters 1.6.0 (1.6.0) <B8F5859D-9372-2EE5-DD77-6E68F15F53B2> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters .framework/Versions/A/QuartzFilters
0x7fff85397000 - 0x7fff853adfff com.apple.ImageCapture 6.0.2 (6.0.2) <06E4103B-9BE4-7EAD-B532-89FC5EB06ED4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x7fff853ae000 - 0x7fff853b3ff7 com.apple.CommonPanels 1.2.4 (91) <0D62B213-485D-170D-07C9-0452492C6BF4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x7fff853b4000 - 0x7fff853c0fff libbz2.1.0.dylib 1.0.5 (compatibility 1.0.0) <6FB0A8F4-72A1-D28F-E801-DE2C7498AFB9> /usr/lib/libbz2.1.0.dylib
0x7fff853c1000 - 0x7fff854cbff7 com.apple.MeshKitIO 1.1 (49.2) <C19D0CCD-1DCB-7EDE-76FA-BF74079AFC6A> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/Frameworks/MeshK itIO.framework/Versions/A/MeshKitIO
0x7fff854cc000 - 0x7fff85869fe7 com.apple.QuartzCore 1.6.3 (227.36) <6FD8E129-135E-2F89-E9F0-A3CD0C6FCEF1> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff8586a000 - 0x7fff8587fff7 com.apple.LangAnalysis 1.6.6 (1.6.6) <1AE1FE8F-2204-4410-C94E-0E93B003BEDA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff85880000 - 0x7fff858abff7 libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <699E0B28-F9C9-5A3E-ACF6-8B42C03560CD> /usr/lib/libxslt.1.dylib
0x7fff858ac000 - 0x7fff858d1ff7 com.apple.CoreVideo 1.6.2 (45.6) <E138C8E7-3CB6-55A9-0A2C-B73FE63EA288> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff858d2000 - 0x7fff858d2ff7 com.apple.vecLib 3.6 (vecLib 3.6) <96FB6BAD-5568-C4E0-6FA7-02791A58B584> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff858d3000 - 0x7fff858d6ff7 com.apple.securityhi 4.0 (36638) <EABABBA8-AB59-599A-1884-0010C059DE62> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x7fff858ff000 - 0x7fff8590cfe7 libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <45B5B514-7CEB-38A9-F34A-1D96F010EC42> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x7fff85910000 - 0x7fff8594bfff com.apple.AE 496.4 (496.4) <55AAD5CA-7160-7899-1C68-562ED8160DF7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x7fff8594c000 - 0x7fff8596dfff libresolv.9.dylib 41.0.0 (compatibility 1.0.0) <9F322F47-0584-CB7D-5B73-9EBD670851CD> /usr/lib/libresolv.9.dylib
0x7fff8596e000 - 0x7fff859a1fff libTrueTypeScaler.dylib ??? (???) <6EFBF3B7-E4D5-E6AE-5A7D-22F37E288737> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
0x7fff859a2000 - 0x7fff85b5afef com.apple.ImageIO.framework 3.0.4 (3.0.4) <EFB373AE-FE02-40C4-ABDC-09D61AFD25EA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x7fff85bd0000 - 0x7fff85c19fef libGLU.dylib ??? (???) <0FCD57C5-D7AA-F2DD-D2EC-C1C8B931F65C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x7fff85f74000 - 0x7fff85f78ff7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
0x7fff85f79000 - 0x7fff86029fff edu.mit.Kerberos 6.5.11 (6.5.11) <085D80F5-C9DC-E252-C21B-03295E660C91> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff8619c000 - 0x7fff864d0fff com.apple.CoreServices.CarbonCore 861.34 (861.34) <B5680539-CB31-6C6D-C0AD-606D4D46E7F5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x7fff864d1000 - 0x7fff864d2fff com.apple.MonitorPanelFramework 1.3.0 (1.3.0) <65E24B21-EE95-A6D1-2094-2F659A7EF7F7> /System/Library/PrivateFrameworks/MonitorPanel.framework/Versions/A/MonitorPane l
0x7fff864d3000 - 0x7fff864d4ff7 com.apple.TrustEvaluationAgent 1.1 (1) <5952A9FA-BC2B-16EF-91A7-43902A5C07B6> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
0x7fff864d5000 - 0x7fff86918fef libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <57D38705-6F21-2A82-F3F6-03CFFF214775> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x7fff86919000 - 0x7fff87594fef com.apple.WebCore 6533.21 (6533.21.1) <A7433C61-B507-BDB0-9CA8-1A3A2A699B2F> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x7fff875d4000 - 0x7fff87691fff com.apple.CoreServices.OSServices 359 (359) <8F509D8D-4C94-9A1C-3A87-5B775D9F6075> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x7fff87692000 - 0x7fff8769dfff com.apple.CrashReporterSupport 10.6.7 (258) <BB0B9A08-6CEC-0500-5BD1-C18E1465E406> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
0x7fff8769e000 - 0x7fff87ae6fe7 com.apple.RawCamera.bundle 3.7.0 (569) <E3794272-AE0D-8D35-3EFB-CBE4048BEB0D> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x7fff87ae7000 - 0x7fff87b39ff7 com.apple.HIServices 1.8.2 (???) <80D63B54-3F43-080C-038A-70038D9AF325> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x7fff87b3a000 - 0x7fff87b49fff libxar.1.dylib ??? (???) <CBAF862A-3C77-6446-56C2-9C4461631AAF> /usr/lib/libxar.1.dylib
0x7fff87b4a000 - 0x7fff87b6aff7 com.apple.DirectoryService.Framework 3.6 (621.11) <AD76C757-6701-BDB5-631E-1CB77D669586> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x7fff87b6b000 - 0x7fff87b6fff7 libCGXType.A.dylib 545.0.0 (compatibility 64.0.0) <49E6AF5D-AF9B-67CF-A6B8-C79F6BA8A627> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x7fff87ba6000 - 0x7fff87d15fe7 com.apple.QTKit 7.6.6 (1756.15) <B35EDB1D-FCB0-1D40-629E-6ACB56D57C68> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
0x7fff87d53000 - 0x7fff87d58fff libGIF.dylib ??? (???) <1B9DCB7F-CD1D-B23F-8AC6-5292B94A4D0E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fff87d59000 - 0x7fff87dc1fff com.apple.MeshKitRuntime 1.1 (49.2) <4D3045D0-0D50-7053-3A05-0AECE86E39F8> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/Frameworks/MeshK itRuntime.framework/Versions/A/MeshKitRuntime
0x7fff87dc2000 - 0x7fff87dd6ff7 com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <D4E9C9C6-633B-54CA-FEE4-E887418442B7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x7fff87dd7000 - 0x7fff87dd7ff7 com.apple.ApplicationServices 38 (38) <92AF04FE-4286-27AD-5694-9D82CEB3A393> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x7fff87dd8000 - 0x7fff87deefef libbsm.0.dylib ??? (???) <675EBE62-505F-0D5F-DCAB-9606289502C1> /usr/lib/libbsm.0.dylib
0x7fff87def000 - 0x7fff87e5bff7 com.apple.CorePDF 1.3 (1.3) <FF2F3F1B-D1D6-684C-B174-6A455E04FF91> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
0x7fff87e5c000 - 0x7fff87e9dfff com.apple.SystemConfiguration 1.10.5 (1.10.2) <FB39F09C-57BB-D8CC-348D-93E00C602F7D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x7fff87e9e000 - 0x7fff87f1aff7 com.apple.ISSupport 1.9.4 (52) <93A57F16-3BD5-25AD-5CFF-00007A141129> /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
0x7fff87f1b000 - 0x7fff88059fff com.apple.CoreData 102.1 (251) <9DFE798D-AA52-6A9A-924A-DA73CB94D81A> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff8805a000 - 0x7fff8805cfff libRadiance.dylib ??? (???) <73257486-8E94-E758-1A5A-5B521F27EE12> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x7fff8805d000 - 0x7fff880a0fef libtidy.A.dylib ??? (???) <2F4273D3-418B-668C-F488-7E659D3A8C23> /usr/lib/libtidy.A.dylib
0x7fff880a3000 - 0x7fff880b9fe7 com.apple.MultitouchSupport.framework 207.10 (207.10) <F006B2C9-C03F-F863-1FBB-952EC77AE699> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
0x7fff880ba000 - 0x7fff880fdff7 libRIP.A.dylib 545.0.0 (compatibility 64.0.0) <2C596A24-8B86-79D6-1A8E-5E8FFB6A1558> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x7fff880fe000 - 0x7fff88137fef libcups.2.dylib 2.8.0 (compatibility 2.0.0) <F8E0672F-C0B4-B161-E50D-A1405D14F21C> /usr/lib/libcups.2.dylib
0x7fff88138000 - 0x7fff883bbfe7 com.apple.Foundation 6.6.6 (751.53) <476E617B-B59B-53DE-991D-98C1993BCBCE> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff883bc000 - 0x7fff883bfff7 libCoreVMClient.dylib ??? (???) <00C97B96-8D3B-45EB-F503-DB49712DC42D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
0x7fff883cc000 - 0x7fff88607fef com.apple.imageKit 2.0.3 (1.0) <5D18C246-303A-6580-9DC9-79BE79467C95> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
0x7fff88608000 - 0x7fff88608ff7 com.apple.CoreServices 44 (44) <DC7400FB-851E-7B8A-5BF6-6F50094302FB> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff88609000 - 0x7fff88631fff com.apple.DictionaryServices 1.1.2 (1.1.2) <E9269069-93FA-2B71-F9BA-FDDD23C4A65E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x7fff88632000 - 0x7fff88676fe7 com.apple.ImageCaptureCore 1.0.4 (1.0.4) <F4ED3329-1A86-EB10-CFC2-999D8699B5E6> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
0x7fff88778000 - 0x7fff8877dfff libGFXShared.dylib ??? (???) <878C429B-44D4-875C-1A35-4FD8C6152695> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x7fff8877e000 - 0x7fff8877eff7 com.apple.Accelerate 1.6 (Accelerate 1.6) <15DF8B4A-96B2-CB4E-368D-DEC7DF6B62BB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff88801000 - 0x7fff888d3fe7 com.apple.CFNetwork 454.11.12 (454.11.12) <B1C9008A-4A5D-609D-5D10-C93DAD6FFB4C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x7fff888d4000 - 0x7fff888d4ff7 com.apple.quartzframework 1.5 (1.5) <0479F6C7-36EB-C146-DD98-4AA6B80E0C7E> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
0x7fff888d5000 - 0x7fff888e9fff libGL.dylib ??? (???) <0FA671EB-6FA0-BA97-C00A-C42247C22B26> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x7fff8891b000 - 0x7fff8896afef libTIFF.dylib ??? (???) <F0F7F0B7-7253-F88F-9E2D-FA3770143758> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff88971000 - 0x7fff889d1fe7 com.apple.framework.IOKit 2.0 (???) <D107CB8A-5182-3AC4-35D0-07068A695C05> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff88a2a000 - 0x7fff88a33ff7 com.apple.DisplayServicesFW 2.3.0 (283) <4F122 -
Error while sending email to external mail - Urgent
Hi All,
I am getting error while sending email with attachement. The Error code is 02.
I am not able to identify the error. bold Please help me in solving this problem.
Is it anything wrong with the code or Any Configuration with SCOT/SOST.bold
the code i am using is :
REPORT YVR_F MESSAGE-ID XX .
TABLES : EDIDC, EDIDS, EDPAR.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS : P_STATUS LIKE EDIDC-STATUS DEFAULT '51'.
SELECT-OPTIONS : S_DIRECT FOR EDIDC-DIRECT,
S_MESTYP FOR EDIDC-MESTYP,
S_CREDAT FOR EDIDC-CREDAT.
SELECTION-SCREEN END OF BLOCK B1 .
PARAMETER: P_EMAIL LIKE SOMLRECI1-RECEIVER,
P_SENDER LIKE SOMLRECI1-RECEIVER no-display,
P_DELSPL AS CHECKBOX,
P_ONLINE NO-DISPLAY.
DATA : TB_EDIDC LIKE STANDARD TABLE OF EDIDC INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_EDPAR LIKE STANDARD TABLE OF EDPAR INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_KNA1 LIKE STANDARD TABLE OF KNA1 INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_ADRC LIKE STANDARD TABLE OF ADRC INITIAL SIZE 0 WITH HEADER
LINE.
DATA: INT_PDF TYPE TABLE OF TLINE WITH HEADER LINE.
DATA : BEGIN OF TB_ED OCCURS 0,
SNDPRN LIKE EDIDC-SNDPRN,
LOC LIKE ADRC-BUILDING,
DOCNUM LIKE EDIDC-DOCNUM,
IDOCTP LIKE EDIDC-IDOCTP,
MESTYP LIKE EDIDC-MESTYP,
DIRECT LIKE EDIDC-DIRECT,
CREDAT LIKE EDIDC-CREDAT,
STATUS LIKE EDIDC-STATUS,
END OF TB_ED.
DATA: IT_MESSAGE TYPE STANDARD TABLE OF SOLISTI1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: IT_ATTACH TYPE STANDARD TABLE OF SOLISTI1 INITIAL SIZE 0
WITH HEADER LINE.
Job Runtime Parameters
DATA: GD_EVENTID LIKE TBTCM-EVENTID,
GD_EVENTPARM LIKE TBTCM-EVENTPARM,
GD_EXTERNAL_PROGRAM_ACTIVE LIKE TBTCM-XPGACTIVE,
GD_JOBCOUNT LIKE TBTCM-JOBCOUNT,
GD_JOBNAME LIKE TBTCM-JOBNAME,
GD_STEPCOUNT LIKE TBTCM-STEPCOUNT,
GD_ERROR TYPE SY-SUBRC,
GD_RECIEVER TYPE SY-SUBRC.
DATA: W_RECSIZE TYPE I,
W_SPOOL_NR LIKE SY-SPONO.
%_print LIKE pri_params.
DATA: GD_SUBJECT LIKE SODOCCHGI1-OBJ_DESCR,
IT_MESS_BOD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
IT_MESS_ATT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
GD_SENDER_TYPE LIKE SOEXTRECI1-ADR_TYP,
GD_ATTACHMENT_DESC TYPE SO_OBJ_NAM,
GD_ATTACHMENT_NAME TYPE SO_OBJ_DES.
Spool to PDF conversions
DATA: GD_SPOOL_NR LIKE TSP01-RQIDENT,
GD_DESTINATION LIKE RLGRAP-FILENAME,
GD_BYTECOUNT LIKE TST01-DSIZE,
GD_BUFFER TYPE STRING.
Binary store for PDF
DATA: BEGIN OF IT_PDF_OUTPUT OCCURS 0.
INCLUDE STRUCTURE TLINE.
DATA: END OF IT_PDF_OUTPUT.
DATA: GD_RECSIZE TYPE I.
CONSTANTS: C_DEV LIKE SY-SYSID VALUE 'DEV',
C_NO(1) TYPE C VALUE ' ',
C_DEVICE(4) TYPE C VALUE 'LOCL'.
DATA: T_PACKING_LIST LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
T_CONTENTS LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_RECEIVERS LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
T_ATTACHMENT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_OBJECT_HEADER LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
W_CNT TYPE I,
W_SENT_ALL(1) TYPE C,
W_DOC_DATA LIKE SODOCCHGI1.
DATA : MSTR_PRINT_PARMS LIKE PRI_PARAMS,
MC_VALID,
P_REPID LIKE SY-REPID,
WF_ID LIKE TSP01-RQIDENT,
LOC_BYTECOUNT TYPE I.
*start-of-selection.
MSTR_PRINT_PARMS-PDEST = 'LOCL'.
P_REPID = SY-REPID.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
authority= ' '
COPIES = '1'
COVER_PAGE = SPACE
DATA_SET = SPACE
DEPARTMENT = SPACE
DESTINATION = 'LP01'
EXPIRATION = '1'
IMMEDIATELY = 'X'
LAYOUT = 'X_65_132'
MODE = SPACE
NEW_LIST_ID = 'X'
NO_DIALOG = 'X'
USER = SY-UNAME
IMPORTING
OUT_PARAMETERS = MSTR_PRINT_PARMS
VALID = MC_VALID
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4.
SUBMIT (P_REPID) TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS MSTR_PRINT_PARMS.
AND RETURN.
NEW-PAGE PRINT ON NO DIALOG PARAMETERS
MSTR_PRINT_PARMS.
perform data.
NEW-PAGE PRINT OFF. "This marks the end of the screen for which the
*SPOOL NO WAS GENERATED.
WF_ID = SY-SPONO.
*converting spool to pdf
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = WF_ID "SPOOL NUMBER
NO_DIALOG = SPACE
PDF_DESTINATION = 'X'
IMPORTING
PDF_BYTECOUNT =
LOC_BYTECOUNT "NUMBER OF BYTES TRANSFERRED
TABLES
PDF = INT_PDF "TABLE FOR PDF REPORT
EXCEPTIONS
ERR_NO_ABAP_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DESTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
OTHERS = 12.
*CALL FUNCTION 'DOWNLOAD'
*EXPORTING
*bin_filesize = loc_bytecount "NO. OF BYTES
*filename = 'C:/EMAILPDF.PDF'
*filetype = 'BIN'
**IMPORTING
**act_filename = loc_filename
*TABLES
*data_tab = int_pdf.
IF P_DELSPL EQ 'X'.
PERFORM DELETE_SPOOL.
ENDIF.
Transfer the 132-long strings to 255-long strings
LOOP AT INT_PDF.
TRANSLATE INT_PDF USING ' ~'.
CONCATENATE GD_BUFFER INT_PDF INTO GD_BUFFER.
ENDLOOP.
TRANSLATE GD_BUFFER USING '~ '.
DO.
IT_MESS_ATT = GD_BUFFER.
APPEND IT_MESS_ATT.
SHIFT GD_BUFFER LEFT BY 255 PLACES.
IF GD_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
DESCRIBE TABLE IT_MESS_ATT LINES GD_RECSIZE.
CHECK GD_RECSIZE > 0.
PERFORM SENDMAIL USING P_EMAIL..
*& Form sendmail
text
--> p1 text
<-- p2 text
FORM SENDMAIL USING P_EMAIL.
CHECK NOT ( P_EMAIL IS INITIAL ).
REFRESH IT_MESS_BOD.
Default subject matter
GD_SUBJECT = 'Subject'.
GD_ATTACHMENT_DESC = 'IDOC LIST'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
IT_MESS_BOD = 'List Of Failed Idocs'.
APPEND IT_MESS_BOD.
IT_MESS_BOD = 'List Of Failed Idocs'.
APPEND IT_MESS_BOD.
If no sender specified - default blank
IF P_SENDER EQ SPACE.
GD_SENDER_TYPE = SPACE.
ELSE.
GD_SENDER_TYPE = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM SEND_FILE_AS_EMAIL_ATTACHMENT
TABLES IT_MESS_BOD
IT_MESS_ATT
USING P_EMAIL
'Document attachment'
'PDF'
GD_ATTACHMENT_NAME
GD_ATTACHMENT_DESC
P_SENDER
GD_SENDER_TYPE
CHANGING GD_ERROR
GD_RECIEVER.
ENDFORM. " sendmail
*& Form DELETE_SPOOL
text
--> p1 text
<-- p2 text
FORM DELETE_SPOOL.
DATA: LD_SPOOL_NR TYPE TSP01_SP0R-RQID_CHAR.
LD_SPOOL_NR = WF_ID. "GD_SPOOL_NR.
CHECK P_DELSPL <> C_NO.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
SPOOLID = LD_SPOOL_NR.
ENDFORM. " DELETE_SPOOL
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
text
-->P_IT_MESS_BOD text
-->P_IT_MESS_ATT text
-->P_P_EMAIL text
-->P_0846 text
-->P_0847 text
-->P_GD_ATTACHMENT_NAME text
-->P_GD_ATTACHMENT_DESC text
-->P_P_SENDER text
-->P_GD_SENDER_TYPE text
<--P_GD_ERROR text
<--P_GD_RECIEVER text
FORM SEND_FILE_AS_EMAIL_ATTACHMENT TABLES IT_MESSAGE
IT_ATTACH
USING P_EMAIL
P_MTITLE
P_FORMAT
P_FILENAME
P_ATTDESCRIPTION
P_SENDER_ADDRESS
P_SENDER_ADDRES_TYPE
CHANGING P_ERROR
P_RECIEVER.
DATA: LD_ERROR TYPE SY-SUBRC,
LD_RECIEVER TYPE SY-SUBRC,
LD_MTITLE LIKE SODOCCHGI1-OBJ_DESCR,
LD_EMAIL LIKE SOMLRECI1-RECEIVER,
LD_FORMAT TYPE SO_OBJ_TP ,
LD_ATTDESCRIPTION TYPE SO_OBJ_NAM ,
LD_ATTFILENAME TYPE SO_OBJ_DES ,
LD_SENDER_ADDRESS LIKE SOEXTRECI1-RECEIVER,
LD_SENDER_ADDRESS_TYPE LIKE SOEXTRECI1-ADR_TYP,
LD_RECEIVER LIKE SY-SUBRC.
DATA: T_PACKING_LIST LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
T_CONTENTS LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_RECEIVERS LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
T_ATTACHMENT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_OBJECT_HEADER LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
W_CNT TYPE I,
W_SENT_ALL(1) TYPE C,
W_DOC_DATA LIKE SODOCCHGI1.
LD_EMAIL = P_EMAIL.
LD_MTITLE = P_MTITLE.
LD_FORMAT = P_FORMAT.
LD_ATTDESCRIPTION = P_ATTDESCRIPTION.
LD_ATTFILENAME = P_FILENAME.
LD_SENDER_ADDRESS = P_SENDER.
LD_SENDER_ADDRESS_TYPE = P_SENDER_ADDRES_TYPE.
Fill the document data.
W_DOC_DATA-DOC_SIZE = 1.
Populate the subject/generic message attributes
W_DOC_DATA-OBJ_LANGU = SY-LANGU.
W_DOC_DATA-OBJ_NAME = 'SAPRPT'.
W_DOC_DATA-OBJ_DESCR = LD_MTITLE .
W_DOC_DATA-SENSITIVTY = 'F'.
Fill the document data and get size of attachment
CLEAR W_DOC_DATA.
READ TABLE IT_ATTACH INDEX W_CNT.
W_DOC_DATA-DOC_SIZE =
( W_CNT - 1 ) * 255 + STRLEN( IT_ATTACH ).
W_DOC_DATA-OBJ_LANGU = SY-LANGU.
W_DOC_DATA-OBJ_NAME = 'SAPRPT'.
W_DOC_DATA-OBJ_DESCR = LD_MTITLE.
W_DOC_DATA-SENSITIVTY = 'F'.
CLEAR T_ATTACHMENT.
REFRESH T_ATTACHMENT.
T_ATTACHMENT[] = IT_ATTACH[].
Describe the body of the message
CLEAR T_PACKING_LIST.
REFRESH T_PACKING_LIST.
T_PACKING_LIST-TRANSF_BIN = SPACE.
T_PACKING_LIST-HEAD_START = 1.
T_PACKING_LIST-HEAD_NUM = 0.
T_PACKING_LIST-BODY_START = 1.
DESCRIBE TABLE IT_MESSAGE LINES T_PACKING_LIST-BODY_NUM.
T_PACKING_LIST-DOC_TYPE = 'RAW'.
APPEND T_PACKING_LIST.
Create attachment notification
T_PACKING_LIST-TRANSF_BIN = 'X'.
T_PACKING_LIST-HEAD_START = 1.
T_PACKING_LIST-HEAD_NUM = 1.
T_PACKING_LIST-BODY_START = 1.
DESCRIBE TABLE T_ATTACHMENT LINES T_PACKING_LIST-BODY_NUM.
T_PACKING_LIST-DOC_TYPE = LD_FORMAT.
T_PACKING_LIST-OBJ_DESCR = LD_ATTDESCRIPTION.
T_PACKING_LIST-OBJ_NAME = LD_ATTFILENAME.
T_PACKING_LIST-DOC_SIZE = T_PACKING_LIST-BODY_NUM * 255.
APPEND T_PACKING_LIST.
Add the recipients email address
CLEAR T_RECEIVERS.
REFRESH T_RECEIVERS.
T_RECEIVERS-RECEIVER = p_EMAIL.
T_RECEIVERS-REC_TYPE = 'U'.
T_RECEIVERS-COM_TYPE = 'INT'.
T_RECEIVERS-NOTIF_DEL = 'X'.
T_RECEIVERS-NOTIF_NDEL = 'X'.
APPEND T_RECEIVERS.
DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
W_SENT_ALL = 'X'.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = W_DOC_DATA
PUT_IN_OUTBOX = 'X'
SENDER_ADDRESS = LD_SENDER_ADDRESS
SENDER_ADDRESS_TYPE = LD_SENDER_ADDRESS_TYPE
COMMIT_WORK = 'X'
IMPORTING
SENT_TO_ALL = W_SENT_ALL
TABLES
PACKING_LIST = T_PACKING_LIST
object_header = objhead
CONTENTS_BIN = T_ATTACHMENT
CONTENTS_TXT = IT_MESSAGE
RECEIVERS = T_RECEIVERS
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99.
IF SY-SUBRC NE 0.
MESSAGE E000 WITH 'Error occurred while sending'.
ELSE.
MESSAGE I000 WITH 'The document was sent'.
ENDIF.
ENDFORM. " SEND_FILE_AS_EMAIL_ATTACHMENT
*& Form data
text
--> p1 text
<-- p2 text
FORM data.
SELECT SNDPRN
DOCNUM
IDOCTP
MESTYP
DIRECT
CREDAT
STATUS
FROM EDIDC
INTO CORRESPONDING FIELDS
OF TABLE TB_EDIDC
WHERE STATUS = P_STATUS
AND MESTYP IN S_MESTYP
AND DIRECT IN S_DIRECT
AND CREDAT IN S_CREDAT.
SELECT KUNNR
INPNR
FROM EDPAR
INTO CORRESPONDING FIELDS
OF TABLE TB_EDPAR
FOR ALL ENTRIES IN TB_EDIDC
WHERE KUNNR = TB_EDIDC-SNDPRN.
SELECT KUNNR
ADRNR
FROM KNA1
INTO CORRESPONDING FIELDS
OF TABLE TB_KNA1
FOR ALL ENTRIES IN TB_EDPAR
WHERE KUNNR = TB_EDPAR-INPNR.
SELECT ADDRNUMBER
BUILDING
FROM ADRC
INTO CORRESPONDING FIELDS
OF TABLE TB_ADRC
FOR ALL ENTRIES IN TB_KNA1
WHERE ADDRNUMBER = TB_KNA1-ADRNR.
LOOP AT TB_EDIDC WHERE STATUS = P_STATUS
AND MESTYP IN S_MESTYP
AND DIRECT IN S_DIRECT
AND CREDAT IN S_CREDAT.
TB_ED-SNDPRN = TB_EDIDC-SNDPRN.
TB_ED-DOCNUM = TB_EDIDC-DOCNUM.
TB_ED-IDOCTP = TB_EDIDC-IDOCTP.
TB_ED-MESTYP = TB_EDIDC-MESTYP.
TB_ED-DIRECT = TB_EDIDC-DIRECT.
TB_ED-CREDAT = TB_EDIDC-CREDAT.
TB_ED-STATUS = TB_EDIDC-STATUS.
READ TABLE TB_EDPAR WITH KEY KUNNR = TB_EDIDC-SNDPRN.
READ TABLE TB_KNA1 WITH KEY KUNNR = TB_EDPAR-INPNR.
READ TABLE TB_ADRC WITH KEY ADDRNUMBER = TB_KNA1-ADRNR.
TB_ED-LOC = TB_ADRC-BUILDING.
APPEND TB_ED.
ENDLOOP.
WRITE :/02 'CustomerNo',
15 'Location Code',
30 'Idoc Number',
55 'Basic Type',
70 'Message Type',
95 'Direction',
110 'Received Date',
130 'Status'.
ULINE.
LOOP AT TB_ED.
WRITE :/02 TB_ED-SNDPRN,
15 TB_ED-LOC,
30 TB_ED-DOCNUM,
55 TB_ED-IDOCTP,
70 TB_ED-MESTYP,
95 TB_ED-DIRECT,
110 TB_ED-CREDAT,
130 TB_ED-STATUS.
ENDLOOP.
ENDFORM. " data
Kindly help me in solving the issue.
Thanks in advance.
Suki.Hi,
Check in transaction SCOT. If your mail is in error status in SCOT, you can assure that there is no problem with your code. If your message has not reached till SCOT, then the problem will be with the code.
If the mail is there in scot with error status tell the BASIS to configure it. I feel this could be the problem.
Regards,
Renjith Michael. -
Reader XI: An Error Occurred While Sending Email
Please help. I am working on a Windows XP computer (SP3, fully updated) with Microsoft Office Outlook set as the default email.
I recently updated this computer to Adobe Reader XI. Whenever the user tries to "Send File as Eamil Attachment" (either using the button or using the File menue option) they get an Adobe Reader message "An error occured while sending email."
I've checked every setting I can think of. Under Preferences - Internet - Internet Settings - Programs, her email is set as Outlook. I tried uninstalling and reinstalling Adobe. I've tried removing and re-adding the Outlook account. I've chcekd for viruses and malware. What else could be causing this problem? I haven't seen this happen on any of our other XP machines.hi,
I have updated from reader x to xi, now outlook 2010 users can no longer attach emails, this use to work fine. I posted this issue elsewhere where someone had trouble with outlook 2003. Outlook either opens up with no attachment or nothing happens at all.
If can help
thanks
Robert -
When I attach a PDF file to an email message, the entire document displays. How do I have the attachment display as an icon?
Try using Applications/Utilities/Terminal - copy and paste the line below and hit return. Worked for me.
defaults write com.apple.mail DisableInlineAttachmentViewing -bool YES -
Attaching a PDF document for a Invioce Parking thru FB60 in background
Dear Friends,
I am working on a requirement to build an interface for Invoice posting/Parking.
Transaction used: FB60
Invoice data will be stored in a staging server, same has to be read and posted in SAP. Till posting part i am clear with the requirement. Invoice data will be in a flat file which i can read and store in my Custome table.
But customer is asking to attach a PDF document (which is a kind of supporting document not the invoice data) while doing the posting.
My queries are:
1. How to fetch the PDF files placed in an external staging server.
2. How to attach those files while doing the posting/parking as job is executed in background.
I want to use BAPI BAPI_INCOMINGINVOICE_PARK for parking the Invoice, but where to attach the PDF.
Or can i do BDC to attach the document?
Any info on this is highly appreciated and rewarded.
Thanks,
SimhaChange in requirement..
Hence i am closing this thread.
Regards,
Simha -
Attaching a PDF document for a Invioce Parki thru FB60 in background
Dear Friends,
I am working on a requirement to build an interface for Invoice posting/Parking.
Transaction used: FB60
Invoice data will be stored in a staging server, same has to be read and posted in SAP. Till posting part i am clear with the requirement. Invoice data will be in a flat file which i can read and store in my Custome table.
But customer is asking to attach a PDF document (which is a kind of supporting document not the invoice data) while doing the posting.
My queries are below:
1. How to fetch the PDF files placed in an external staging server.
2. How to attach those files while doing the posting/parking as job is executed in background.
I want to use BAPI BAPI_INCOMINGINVOICE_PARK for parking the Invoice, but where to attach the PDF.
Any info on this is highly appreciated and rewarded.
Thanks,
SimhaChange in requirement..
Hence i am closing this thread.
Regards,
Simha -
Attaching a PDF document to an order from Web
Hi,
We have a requirement to attached a PDF document to an order in SAP from a web front end (its a custom web application written in cold fusion). We currently create orders from this web application which talks to SAP via XI. I know that using the "Services For Object" option in SAP GUI we can upload external document. Is there a BAPI that can be used to send the document from WEB to be added as an attachment on the order?
Any response will be greatly appreciated.
Thanks,
PareshHi Tom,
ArchiveLink is a service integrated in the SAP Web Application Server for linking archived documents and the application documents entered in the SAP system.
Linking documents according to content guarantees long term easy access to the documents. From the screen of the application document, you can directly display the stored document that is associated with it. You can also use attributes to search for documents. This replaces time consuming processes such as making copies of originals, searching for procedure-related information, etc.
There would definitely be content repository which will be connected to SAP through archivelink. Pls confirm the same with Basis.
You can look at the customizing through
IMG->SAP Web Application Server -> Basis Services -> ArchiveLink
Also pls refer to:
http://help.sap.com/saphelp_47x200/helpdata/en/16/56a539a908455de10000000a114084/frameset.htm
Pls award if helpful.
Reg
Sachin -
How to attach a PDF document to work item .---urgent
Hi EXperts ,
I am wanted to know how to attach a PDF document to my work item which i will be geneating . Pls let me the Method coding to be done so that I can send the attachment also when the work item is generated ..
What is need to pass to Workflow container ...
Regards
AbhilashAh ok,
then the only way I know is to get hold of some one with skills in Smart Forms, and alley up with them. Or better yet, use it as an excuse to learn to do it your self
With a Smart Form, you can parse data into it, create the file, and then use the GOS functionality to attatch it to your BO. All this in back ground!
Kind regards
Mikkel -
Skip Terms and Conditions while sending Email
Hello Experts,
I have a requirement to print the line items of Sales order in front page and Terms and Conditions on back of every page. I need to send the same document as an Email, but without Terms and Conditions.
I could achieve printing part by creating another Master Page for Terms and Conditions and by enabling the page set to print on both sides and there by setting front page and back page properties.
But I could not avoid the back page template while sending email..
Could you please help me to let me know, where I am commiting mistake or else please suggest me if any other method is available for this requirement.
Thanks,
RakeshThanks Andres, for your reply. I accept your solution will definetly work, but client over here, will not accept maintaining two objects of similar kind.
Thanks,
Rakesh -
How can I attach a PDF file to an email?
I would like to attach a PDF file to an email, how can I?
If you have the PDF stored on the iPhone as a separate file you obviously also have a third party app for reading it, so you should be able to e-mail it from there.
If it's on an existing e-mail, forward the e-mail and just change the contents but include the pdf -
MailServiceHelper Failed while sending email java.lang.NullPointerException
Hi guys,
I am trying to send email with Adobe CQ API.
But i am getting a nullpointer exception at this line: MsgGateway.send(htmlEmail);
This is my method that i am using to send.
import com.day.cq.mailer.MessageGateway;
import com.day.cq.mailer.MessageGatewayService;
import javax.mail.internet.InternetAddress;
public boolean sendHtmlEmail(SlingHttpServletRequest sling,
String fromMailAdress, List<String> recepientmailAddress,
String emailSubject, String htmlbodyMail) {
HtmlEmail htmlEmail = new HtmlEmail();
List<InternetAddress> emailAddress = new ArrayList<InternetAddress>();
try {
for (String recipient : recepientmailAddress) {
if (!StringUtil.isEmpty(recipient)) {
emailAddress.add(new InternetAddress(recipient));
log.error(recipient);
if (!StringUtil.isEmpty(fromMailAdress)) {
htmlEmail.setFrom(fromMailAdress);
htmlEmail.setTo(emailAddress);
htmlEmail.setSubject(emailSubject);
htmlEmail.setHtmlMsg(htmlbodyMail);
htmlEmail.setCharset("utf-8");
MessageGatewayService MsgService = getMessageGateWayService(sling);
MessageGateway<HtmlEmail> MsgGateway = MsgService.getGateway(HtmlEmail.class);
MsgGateway.send(htmlEmail); //nullpointer exception caught here
return true;
} catch (Exception e) {
log.error("Failed while sending email", e);
return false;
I have checked to ensure the bundle com.day.cq.cq-mail and my own bundle is running .
I am also sure that 'htmlEmail' is not null by retrieving the email subject via .getSubject and it did return me the subject.
I do not understand what is returning the nullpointerexception.
Thanks in advance !The MessageGateway instance (MessageGateway<HtmlEmail> MsgGateway) is null therby throwing a null pointer.
Instead of instanciating msgGateway as :
MessageGatewayService MsgService = getMessageGateWayService(sling);
MessageGateway<HtmlEmail> MsgGateway = MsgService.getGateway(HtmlEmail.class);
Inject your MessageGateway as:
@Reference
private MessageGateway<HtmlEmail> msgGateway;
and then call send on msgGateway as msgGateway.send(htmlEmail)
~ Aditya -
Error while sending email using TemplateEmailSender in CSC server
Hi,
We are trying to send email using TemplateEmailSender from CSC server. But it is giving Null Pointer Exception in ProfiledMessageSource like below. The same code is working fine in commerce instance but it is failing in CSC instance. We are using ATG2007.1p3
Any pointers would be helpful.
Below is the error.
Error while sending email
java.lang.NullPointerException
at atg.userprofiling.dms.ProfiledMessageSource.isConfiguredForProfileSubject(ProfiledMessageSource.java:196)
at atg.userprofiling.dms.DPSMessageSource.fireEndSessionMessage(DPSMessageSource.java:864)
at atg.userprofiling.dms.DPSMessageSource.fireEndSessionMessage(DPSMessageSource.java:848)
at atg.userprofiling.SessionEventTrigger.nameContextElementPreUnbound(SessionEventTrigger.java:553)
at atg.nucleus.GenericContext.sendPreUnboundEvent(GenericContext.java:200)
at atg.nucleus.GenericContext.preNotifyRemovedObject(GenericContext.java:528)
at atg.nucleus.GenericContext.removeElement(GenericContext.java:566)
at atg.servlet.SessionNameContext.unbindFromNameContext(SessionNameContext.java:557)
at atg.servlet.SessionNameContext.stopSession(SessionNameContext.java:534)
at atg.servlet.SessionNameContext.decrementWrapperCount(SessionNameContext.java:242)
at atg.servlet.SessionBindingReporter.valueUnbound(SessionBindingReporter.java:206)
at org.apache.catalina.session.StandardSession.removeAttributeInternal(StandardSession.java:1625)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:749)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:655)
at org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:1100)
at org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade.java:150)
at atg.userprofiling.email.TemplateInvoker$TemplateSession.endSession(TemplateInvoker.java:935)
at atg.userprofiling.email.TemplateEmailSender.createMessage(TemplateEmailSender.java:2387)Thanks for the reply.
My issue is fixed now. It is JBOSS configuration issue. Sessions are not maintained properly that's why we are getting NULL profile in the session. Our application has multiple WARs so we fixed it by setting emptySessionPath to TRUE. If emptySessionPath attribute in server.xml is false, then each WAR will have its own jsessionid cookie.
I did not touch ProfiledMessageSource as its required for session triggering.
Maybe you are looking for
-
Multiple iPods on one computer question
Hello, I know this question has been asked already and I've read all the help topics about multiple iPods. I've tried twice to use two iPods on one computer and it was not as easy as described. I'm just wondering if I'm doing something wrong. The fir
-
Hi, I got a 2gb wave recording of a live gig. What I want to do is to clean it, add some effects and finally export it into separate mp3 files - one for each number. What would you do? I've tried blading the wavefile and moving them to each separate
-
What role needs to be assigned to the user to access existing custom OData services?
Hi all, What role needs to be assigned to the user to access existing custom OData services? With SAP ALL its working. But cannot assign that to all users. Whats the specific role for this? I tried with /IWFND/RT_GW_USER. But it says the role does no
-
Ymenu - Interfaces - Post Document (General Purpose) -- FBB1
Hi, I tried to perform as per below: I went to ymenu - -> Interfaces --> Post Document (General Purpose) -- FBB1 After that in the Source file, i selected the file that i would like to upload. Follow by click on the execute button. Can i know after i
-
Cannot UPDATE my A. 2 ZS Driver
PLEASE advise and help! I have a new OEM Audigy 2 ZS Card installed so I went to Creative, registered it, and they said I can download drivers etc.. Thus, I went and downloaded the latest for this card; shown as .84.55 6.34MB dated 5/2/05 - - - then