Transfer of legacy open P.O with attachments to SRM

Hello SRM Folks,
Can some one let me know How we can transfer Open P.O or closed P.O from Legacy system to SRM with  Attachments directly..
Need your inputs..
Thanks in advance

Hi Ivy,
         Thanks for the quick response. the note provided is for SRM 7.0 and SRM 7.0 EHP1 packages and currently we are in SRM 7.0 EHP2
Can you please guide me in configuring the settings required in DMS in ECC side.
1. Is it mandatory to use only document type of SRM in ECC or any Z-Document type can be used ?
2. Wat is the relevant settings to be mapped in DC10, DC20 and DC30 . If possible guide me step by step of settings for the document type to send the attachment in PR.
3. Does the system sends the document in URL or as an attachment to SC ?
Regards,
Ramprakash N

Similar Messages

  • Mail crashes on opening any message with attachments

    mail crashes on opening any message with attachments
    this started happening about a month ago. I thought the problem was that there was too much mail in the program -
    so, I acquired a program called MAILSTEWARD (which I recommend!) and it stores & saves my old mail.
    I reset MAIL, so it kept my address and smart folder instructions etc, but all the mail itself was gone (I forget how I did that - I probably will try it again...)
    for a few weeks, everything was fine - I could open an eMail with an attachment, and it worked.
    but now it started crashing again everytime there's an attachment!
    don't know what to do - there's only a month's worth of mail in there (which I should clean out anyhow) - but it seems to me that's not too much...
    thanks!
    w

    that's it - I ran the updater - and I believe I have been able to use it all day without the program crashing when it encounters an attachment.
    one goofy thing I noticed, for the first time, there appear to be two applications folders on my start-up drive (1) in my user folder (2) in the "main" hard drive folder.
    MAIL is in both - I believe the "main" one was updated; when I turned on the "user" MAIL it crashed when I opened an eMail with an attachment; when I opened the same eMail with the "main" mail there was no problem.
    now what does this tell us?
    thanks again!
    will

  • Mail crashes upon opening of mails with attachments

    This happens all the time since i bought it two weeks ago. everytime i try opening one with an attachment, mail would just hang and crash. does anybody face this problem too? How do i solve this?

    that's it - I ran the updater - and I believe I have been able to use it all day without the program crashing when it encounters an attachment.
    one goofy thing I noticed, for the first time, there appear to be two applications folders on my start-up drive (1) in my user folder (2) in the "main" hard drive folder.
    MAIL is in both - I believe the "main" one was updated; when I turned on the "user" MAIL it crashed when I opened an eMail with an attachment; when I opened the same eMail with the "main" mail there was no problem.
    now what does this tell us?
    thanks again!
    will

  • Posting invoice with attachments in SRM

    Hello All,
    We have a requirement in SRM to create a module pool program which will post an invoice (like standard invoice without PO reference). Once the invoice is posted, a custom worklfow is triggered to determine the approver for this invoice. After determining the approver, an e-mail will be sent to him along with the details of the invoice for approval.
    We need to attach some documents while posting the invoice and the same need to be sent along with the e-mail as attachments. Currently we are using the standard FM's 'BBP_PD_INV_CREATE', 'BBP_PD_INV_UPDATE' and 'BBP_PD_INV_SAVE' to post the invoice with attachments.
    Can you please suggest whether this is the correct way to post the invoice and if so how to retrieve these attachments from the invoice and attach it to our e-mail?
    Thank you.
    Regards,
    Vishnu

    why not use offline approval functionality which has option for sending ataachment

  • Cant open certain emails with attachments

    Hi
    I'm having a problem with my iphone running ios 7.1.2 with exchange mail server, cant open up certain emails with atttachments, no similar pattern can be new email or replied email, any type of attachement, i just get nothing, any ideas?
    Thanks

    close out of the mail app, double tap the home button and completely close out of the app.
    Then do a reset, hold down the home/sleep button together until you see the apple logo and then release, then wait for the device to boot back up.
    Then check emails again.

  • Issues working with Attachments in Outlook 2010

    I have 2, possibly related, problems with Outlook 2010 and email attachments.
    1/ When opening a mail with attachments I cannot drag multiple attachments out to save in a folder at once.  the first attachment selected will be saved, but not subsequent ones.  Nor can I do a multiple-select and Save As via the right-click menu.
    The only way around this I have found is to drag or save each document individually
    2/ When opening Excel sheets (Excel 2010) directly from email, the first sheet will open normally.  But if I try to open a second sheet, whether from the same email or a different one, the second sheet doesn't open.
    The only work-around i have found is to close the first sheet I opened and/or to save the second sheet to disk and then open it explicitly in a new copy of Excel
    Can you give me any help in resolving these annoying behaviours?
    Many thanks
    Tim
    TimWB

    Hi Tim,
    R1. If we open the email with attachments, on the Message tab, in the
    Actions group, click Other Actions, and then select
    Save All Attachments, will all the attachment been saved?
    R2. Did you get any error message when the second sheet failed to open? Please open one Excel file, click File > Options > Advanced and then scroll down to
    General section. Clear the option “Ignore other applications that use Dynamic Data Exchange (DDE)” and then check the issue again.
    In addition, we can try to run Outlook in safe mode to check the result. Press Windows key + R, type
    outlook.exe /safe in the Run dialog and press Enter.
    Also try to clear Outlook Secure Temp folder to check the result. See:
    http://www.howto-outlook.com/faq/securetemp.htm
    Please let me know the result.
    Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Saving a Photoshop CC project from a Mac (in .PSD format) to a thumb drive and trying to transfer it to a Dell laptop with Photoshop CS6.  Will not open...Error message: could not complete your request because it is not a valid photoshop document.

    Saving a Photoshop CC project from a Mac (in .PSD format) to a thumb drive and trying to transfer it to a Dell laptop with Photoshop CS6.  Will not open...Error message: could not complete your request because it is not a valid photoshop document.

    The file was corrupted somewhere along the way (assuming it was still readable on the Macintosh).
    The platforms don't matter, but you still need file transfer that doesn't corrupt files...

  • I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. Some contacts have problems opening files sent by me using Mail too. This was never a problem on pre-Intel. A real Mac **** up !

    I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. And some contacts occasionally have problems opening files sent by me using Mail too. This was never a problem on pre-Intel Mac. A real Mac **** up ! Any ideas ?

    Can you drag and drop the attachments visible in the email to the Desktop OK or does that fail ?
    Re the sending: Are these recipients on Mac's or PC's as the file type could be an issue, if on Mac's then try setting the Mail Preferences Composing setting to Plain Text not Rich Text and see if that improves things.

  • In Exchange 2013 i cannot open mails with attachments greater than 19.6 MB in EWS or OWA

    Hello,
    i have in Exchange 2013 CU3 on Windows 2012 the following problem :
    When backup mails using EWS i get the message " EWS Error Code : ErrorMessageSizeExceeded." in mails with attachments greater than 20.137 KB ( 19.6 MB).
    Then I checked all the settings of the EWS , but the defaults are already significantly higher than these 19.6 MB (Base64 approximately 26.5 MB)
    web.config ( maxAllowedContentLength = " 85000000 ").
    Settings of the MaxSendSize and ReceiveSize are 300MB .
    All requestfiltering settings in IIS are set to 85MB.
    When i access via EMS or OWA , file attachments over 19.6 MB can not be opened .
    However, the preview shows in OWA the correct mail including attachment and it can be saved from the preview up to the set maximum size.
    By double clicking on an email in OWA bigger than 19.6 MB i get the following error message:
    "Error : Your request can not be completed right now Please try again later . . "
    Send and receive mail can also be up to maxsize .
    When accessing via Outlook , this problem does not occur.
    i hope anyone here can help me
    Thanks in advance

    Hi,
    To change the maximum message size for Outlook Web App clients, you need to change the value of
    maxAllowedContentLength, maxRequestLength and both instances of
    maxReceivedMessageSize by editing %ExchangeInstallPath%ClientAccess\Owa\web.config in notepad.
    To change the maximum message size for Exchange Web Services clients, you need to change the value of
    maxAllowedContentLength and all instances of maxReceivedMessageSize="67108864" in %ExchangeInstallPath%ClientAccess\exchweb\ews\web.config.
    When you are finished, save and close the Web.config file. Also need to restart IIS by running the following command:
    IISReset /noforce
    For more information about Configure Client-Specific Message Size Limits on Client Access Servers, please refer to:
    http://technet.microsoft.com/en-us/library/hh529949(v=exchg.150).aspx
    Thanks,
    Winnie Liang
    TechNet Community Support

  • I often get emails with attachments that will not open with my mac. Is there any free software to help this

    I often get emails with attachments that will not open with my mac often a small ? will show. How do I open these

    What kind of attachment? Post an example file name.

  • When I send an email with attachments and open them on my ipad some of them open but others do not

    When I send an email with attachments and open them on my ipad some of them open but others do not

    What are the types that won't open?
    Do you have an App that can open those types of files?

  • I received 2emails with attachments 1st had pictures and music can see pictures but no music 2nd had words and commentary can not open attachment at all after downloading

    I received 2emails with attachments on both,  1st had pictures and music , can see the pictures but cannot hear music,  2nd had words and a commentary , cannot get either after downloading when I press the download a mail sign appears

    Depending on what kind of computer you have, you're gonna need to put that backup in the appropriate folder or itunes is not gonna be able to see it for you to use.

  • Crashing when opening mail with attachments (exchange server)

    Hi,
    I have a user using Mac OS X Mail with an Exchange Server. OS X Mail crashes when she opens an email with an attachment. Though it doesn't happen all the time, when it does crash there is an attachment with the email.
    Crash report below:
    Date/Time: 2007-04-30 10:26:35.635 -0700
    OS Version: 10.4.9 (Build 8P2137)
    Report Version: 4
    Command: Mail
    Path: /Applications/Mail.app/Contents/MacOS/Mail
    Parent: WindowServer [58]
    Version: 2.1.1 (752.3)
    Build Version: 1
    Project Name: MailViewer
    Source Version: 7520300
    PID: 415
    Thread: 10
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000000
    Thread 0:
    0 libSystem.B.dylib 0x9000a457 machmsgtrap + 7
    1 com.apple.CoreFoundation 0x9082c2b3 CFRunLoopRunSpecific + 2014
    2 com.apple.CoreFoundation 0x9082bace CFRunLoopRunInMode + 61
    3 com.apple.HIToolbox 0x92ddc8d8 RunCurrentEventLoopInMode + 285
    4 com.apple.HIToolbox 0x92ddbfe2 ReceiveNextEventCommon + 385
    5 com.apple.HIToolbox 0x92ddbe39 BlockUntilNextEventMatchingListInMode + 81
    6 com.apple.AppKit 0x93262465 _DPSNextEvent + 572
    7 com.apple.AppKit 0x93262056 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
    8 com.apple.AppKit 0x9325bddb -[NSApplication run] + 512
    9 com.apple.AppKit 0x9324fd2f NSApplicationMain + 573
    10 com.apple.mail 0x00094df2 0x1000 + 605682
    11 com.apple.mail 0x00094d19 0x1000 + 605465
    Thread 1:
    0 libSystem.B.dylib 0x9000a457 machmsgtrap + 7
    1 com.apple.CoreFoundation 0x9082c2b3 CFRunLoopRunSpecific + 2014
    2 com.apple.CoreFoundation 0x9082bace CFRunLoopRunInMode + 61
    3 com.apple.Foundation 0x92823d3a -[NSRunLoop runMode:beforeDate:] + 182
    4 com.apple.Foundation 0x92823c36 -[NSRunLoop run] + 75
    5 com.apple.MessageFramework 0x9949e5af +[_NSSocket _runIOThread] + 97
    6 com.apple.Foundation 0x927ee2e0 forkThreadForFunction + 123
    7 libSystem.B.dylib 0x90024987 pthreadbody + 84
    Thread 2:
    0 libSystem.B.dylib 0x9001a93c select + 12
    1 libSystem.B.dylib 0x90024987 pthreadbody + 84
    Thread 3:
    0 libSystem.B.dylib 0x90025027 semaphorewait_signaltrap + 7
    1 com.apple.Foundation 0x9284426c -[NSConditionLock lockWhenCondition:] + 39
    2 com.apple.AppKit 0x93339270 -[NSUIHeartBeat _heartBeatThread:] + 377
    3 com.apple.Foundation 0x927ee2e0 forkThreadForFunction + 123
    4 libSystem.B.dylib 0x90024987 pthreadbody + 84
    Thread 4:
    0 libSystem.B.dylib 0x9000a457 machmsgtrap + 7
    1 com.apple.CoreFoundation 0x9082c2b3 CFRunLoopRunSpecific + 2014
    2 com.apple.CoreFoundation 0x9082bace CFRunLoopRunInMode + 61
    3 com.apple.Foundation 0x92823a0f +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 259
    4 com.apple.Foundation 0x927ee2e0 forkThreadForFunction + 123
    5 libSystem.B.dylib 0x90024987 pthreadbody + 84
    Thread 5:
    0 libSystem.B.dylib 0x9000a457 machmsgtrap + 7
    1 com.apple.CoreFoundation 0x9082c2b3 CFRunLoopRunSpecific + 2014
    2 com.apple.CoreFoundation 0x9082bace CFRunLoopRunInMode + 61
    3 com.apple.Foundation 0x9284abc2 +[NSURLCache _diskCacheSyncLoop:] + 206
    4 com.apple.Foundation 0x927ee2e0 forkThreadForFunction + 123
    5 libSystem.B.dylib 0x90024987 pthreadbody + 84
    Thread 6:
    0 libSystem.B.dylib 0x9000a457 machmsgtrap + 7
    1 com.apple.CoreFoundation 0x9082c2b3 CFRunLoopRunSpecific + 2014
    2 com.apple.CoreFoundation 0x9082bace CFRunLoopRunInMode + 61
    3 com.apple.Foundation 0x92823d3a -[NSRunLoop runMode:beforeDate:] + 182
    4 com.apple.Foundation 0x92823c36 -[NSRunLoop run] + 75
    5 com.apple.WebKit 0x94cbb529 +[WebFileDatabase _syncLoop:] + 198
    6 com.apple.Foundation 0x927ee2e0 forkThreadForFunction + 123
    7 libSystem.B.dylib 0x90024987 pthreadbody + 84
    Thread 7:
    0 libSystem.B.dylib 0x90049617 semaphoretimedwait_signaltrap + 7
    1 com.apple.Foundation 0x9288cd30 FCONDITION_WAITTIMEOUT + 128
    2 com.apple.Foundation 0x9288cc7a -[NSConditionLock lockWhenCondition:beforeDate:] + 101
    3 com.apple.MessageFramework 0x99499821 -[InvocationQueue _drainQueue] + 210
    4 com.apple.Foundation 0x927ee2e0 forkThreadForFunction + 123
    5 libSystem.B.dylib 0x90024987 pthreadbody + 84
    Thread 8:
    0 libSystem.B.dylib 0x90049617 semaphoretimedwait_signaltrap + 7
    1 com.apple.Foundation 0x9288cd30 FCONDITION_WAITTIMEOUT + 128
    2 com.apple.Foundation 0x9288cc7a -[NSConditionLock lockWhenCondition:beforeDate:] + 101
    3 com.apple.MessageFramework 0x99499821 -[InvocationQueue _drainQueue] + 210
    4 com.apple.Foundation 0x927ee2e0 forkThreadForFunction + 123
    5 libSystem.B.dylib 0x90024987 pthreadbody + 84
    Thread 9:
    0 libSystem.B.dylib 0x90049617 semaphoretimedwait_signaltrap + 7
    1 com.apple.Foundation 0x9288cd30 FCONDITION_WAITTIMEOUT + 128
    2 com.apple.Foundation 0x9288cc7a -[NSConditionLock lockWhenCondition:beforeDate:] + 101
    3 com.apple.MessageFramework 0x99499821 -[InvocationQueue _drainQueue] + 210
    4 com.apple.Foundation 0x927ee2e0 forkThreadForFunction + 123
    5 libSystem.B.dylib 0x90024987 pthreadbody + 84
    Thread 10 Crashed:
    0 libobjc.A.dylib 0x90a57387 objc_msgSend + 23
    1 com.apple.MessageFramework 0x99499993 -[InvocationQueue _drainQueue] + 580
    2 com.apple.Foundation 0x927ee2e0 forkThreadForFunction + 123
    3 libSystem.B.dylib 0x90024987 pthreadbody + 84
    Thread 11:
    0 libSystem.B.dylib 0x90049617 semaphoretimedwait_signaltrap + 7
    1 ...apple.AddressBook.framework 0x9475e646 -[ABRemoteImageLoader workLoop] + 158
    2 com.apple.Foundation 0x927ee2e0 forkThreadForFunction + 123
    3 libSystem.B.dylib 0x90024987 pthreadbody + 84
    Thread 10 crashed with X86 Thread State (32-bit):
    eax: 0x00000000 ebx: 0x927d26ce ecx: 0x90abdfd0 edx: 0x00000177
    edi: 0x00000008 esi: 0xb0230e38 ebp: 0xb0230ec8 esp: 0xb0230e04
    ss: 0x0000001f efl: 0x00010206 eip: 0x90a57387 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    Binary Images Description:
    0x1000 - 0x1b2fff com.apple.mail 2.1.1 (752.3) /Applications/Mail.app/Contents/MacOS/Mail
    0x14d97000 - 0x14d98fff com.apple.textencoding.unicode 2.1 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
    0x14df7000 - 0x14df7fff com.apple.SpotLightCM 1.0 (121.36) /System/Library/Contextual Menu Items/SpotlightCM.plugin/Contents/MacOS/SpotlightCM
    0x15048000 - 0x1505dfff com.apple.Mail.Syncer 1.1.1 (752.3) /System/Library/Frameworks/Message.framework/Versions/B/Resources/Syncer.syncsc hema/Contents/MacOS/Syncer
    0x15206000 - 0x15208fff com.apple.AutomatorCMM 1.0.1 (68) /System/Library/Contextual Menu Items/AutomatorCMM.plugin/Contents/MacOS/AutomatorCMM
    0x15225000 - 0x15229fff com.apple.FolderActionsMenu 1.3.1 /System/Library/Contextual Menu Items/FolderActionsMenu.plugin/Contents/MacOS/FolderActionsMenu
    0x1522e000 - 0x1522ffff com.symantec.NAVCMPlugIn 10.1 (003) /Library/Contextual Menu Items/NAVCMPlugIn.plugin/Contents/MacOS/NAVCMPlugIn
    0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld
    0x90000000 - 0x90170fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
    0x901c0000 - 0x901c2fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
    0x901c4000 - 0x90201fff com.apple.CoreText 1.1.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
    0x90228000 - 0x902fefff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
    0x9031e000 - 0x90773fff com.apple.CoreGraphics 1.258.61 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
    0x9080a000 - 0x908d2fff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x90910000 - 0x90910fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x90912000 - 0x90a05fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
    0x90a55000 - 0x90ad4fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
    0x90afd000 - 0x90b61fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
    0x90bd0000 - 0x90bd7fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
    0x90bdc000 - 0x90c4ffff com.apple.framework.IOKit 1.4.6 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x90c64000 - 0x90c76fff libauto.dylib /usr/lib/libauto.dylib
    0x90c7c000 - 0x90f22fff com.apple.CoreServices.CarbonCore 682.21 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x90f65000 - 0x90fcdfff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x91005000 - 0x91043fff com.apple.CFNetwork 129.20 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x91056000 - 0x91066fff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
    0x91071000 - 0x910effff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x91124000 - 0x91142fff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x9114e000 - 0x9115cfff libz.1.dylib /usr/lib/libz.1.dylib
    0x9115f000 - 0x912fefff com.apple.security 4.5.2 (29774) /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x913fc000 - 0x91404fff com.apple.DiskArbitration 2.1.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x9140b000 - 0x91412fff libbsm.dylib /usr/lib/libbsm.dylib
    0x91416000 - 0x9143cfff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x9144e000 - 0x914c7fff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x91515000 - 0x91515fff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x91517000 - 0x91542fff com.apple.AE 314 (313) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
    0x91555000 - 0x91629fff com.apple.ColorSync 4.4.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
    0x91664000 - 0x916e1fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x9170e000 - 0x917b7fff com.apple.QD 3.10.24 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
    0x917dd000 - 0x91828fff com.apple.HIServices 1.5.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
    0x91847000 - 0x9185dfff com.apple.LangAnalysis 1.6.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
    0x91869000 - 0x91883fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
    0x9188d000 - 0x918cafff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
    0x918de000 - 0x918eafff com.apple.speech.synthesis.framework 3.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x918f1000 - 0x91930fff com.apple.ImageIO.framework 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x91943000 - 0x919f5fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
    0x91a3b000 - 0x91a51fff libcups.2.dylib /usr/lib/libcups.2.dylib
    0x91a56000 - 0x91a74fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x91a79000 - 0x91ad8fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x91aea000 - 0x91aeefff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x91af0000 - 0x91b74fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
    0x91b78000 - 0x91bb5fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x91bbb000 - 0x91bd5fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x91bda000 - 0x91bdcfff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x91bde000 - 0x91cbcfff libxml2.2.dylib /usr/lib/libxml2.2.dylib
    0x91cd9000 - 0x91cd9fff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x91cdb000 - 0x91d69fff com.apple.vImage 2.5 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
    0x91d70000 - 0x91d70fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
    0x91d72000 - 0x91dcbfff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x91dd4000 - 0x91df8fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
    0x91e00000 - 0x92209fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
    0x92243000 - 0x925f7fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
    0x92624000 - 0x92711fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
    0x92713000 - 0x92790fff com.apple.DesktopServices 1.3.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
    0x927d1000 - 0x92a01fff com.apple.Foundation 6.4.8 (567.29) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x92b1b000 - 0x92b32fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x92b3d000 - 0x92b95fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x92ba9000 - 0x92ba9fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x92bab000 - 0x92bbbfff com.apple.ImageCapture 3.0.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
    0x92bc9000 - 0x92bd1fff com.apple.speech.recognition.framework 3.6 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
    0x92bd7000 - 0x92bdcfff com.apple.securityhi 2.0.1 (24742) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
    0x92be2000 - 0x92c73fff com.apple.ink.framework 101.2.1 (71) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
    0x92c87000 - 0x92c8afff com.apple.help 1.0.3 (32.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
    0x92c8d000 - 0x92caafff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
    0x92cba000 - 0x92cc0fff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
    0x92cc6000 - 0x92d29fff com.apple.htmlrendering 66.1 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
    0x92d4d000 - 0x92d8efff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
    0x92db5000 - 0x92dc2fff com.apple.audio.SoundManager 3.9.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
    0x92dc9000 - 0x92dcefff com.apple.CommonPanels 1.2.3 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
    0x92dd3000 - 0x930c8fff com.apple.HIToolbox 1.4.9 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
    0x931ce000 - 0x931d9fff com.apple.opengl 1.4.16 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x931de000 - 0x931f9fff com.apple.DirectoryService.Framework 3.2 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
    0x93249000 - 0x93249fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x9324b000 - 0x93901fff com.apple.AppKit 6.4.8 (824.42) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x93c82000 - 0x93cfdfff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x93d36000 - 0x93df0fff com.apple.audio.toolbox.AudioToolbox 1.4.5 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x93e33000 - 0x93e33fff com.apple.audio.units.AudioUnit 1.4.2 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x93e35000 - 0x93ff6fff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x9403c000 - 0x9407dfff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
    0x94085000 - 0x940bffff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x940c4000 - 0x940d5fff com.apple.CoreVideo 1.4 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x94119000 - 0x94161fff com.apple.bom 8.5 (86.3) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x941ed000 - 0x941fdfff com.apple.securityfoundation 2.2.1 (28150) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
    0x9420a000 - 0x94247fff com.apple.securityinterface 2.2.1 (27695) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
    0x94263000 - 0x94272fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
    0x94279000 - 0x94284fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x942d0000 - 0x942eafff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x942f0000 - 0x945aefff com.apple.QuickTime 7.1.5 /System/Library/Frameworks/QuickTime.framework/QuickTime
    0x94712000 - 0x9485bfff com.apple.AddressBook.framework 4.0.4 (485.1) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    0x948e7000 - 0x948f6fff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
    0x948fd000 - 0x94926fff com.apple.LDAPFramework 1.4.2 (69.1.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x9492c000 - 0x9493bfff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
    0x9493f000 - 0x94964fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
    0x94970000 - 0x9498dfff libresolv.9.dylib /usr/lib/libresolv.9.dylib
    0x94cb9000 - 0x94d4bfff com.apple.WebKit 419 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x94da5000 - 0x94e27fff com.apple.JavaScriptCore 418.3 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCor e.framework/Versions/A/JavaScriptCore
    0x94e5a000 - 0x95139fff com.apple.WebCore 418.21 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
    0x952b8000 - 0x952dbfff libxslt.1.dylib /usr/lib/libxslt.1.dylib
    0x952e2000 - 0x9536afff com.apple.syncservices 2.5 (194) /System/Library/Frameworks/SyncServices.framework/Versions/A/SyncServices
    0x95502000 - 0x9553afff com.apple.PDFKit 1.0.3 /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
    0x95a57000 - 0x95a6dfff libJapaneseConverter.dylib /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
    0x96468000 - 0x96468fff com.apple.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x9694b000 - 0x9696dfff com.apple.speech.LatentSemanticMappingFramework 2.5 /System/Library/PrivateFrameworks/LatentSemanticMapping.framework/Versions/A/La tentSemanticMapping
    0x97304000 - 0x97311fff com.apple.DMNotification 1.0.4 (37) /System/Library/PrivateFrameworks/DMNotification.framework/Versions/A/DMNotific ation
    0x974a2000 - 0x97579fff com.apple.QuartzComposer 1.2.4 (32.22) /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
    0x97602000 - 0x97602fff com.apple.quartzframework 1.0 /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    0x9776d000 - 0x97787fff com.apple.slideshow 1.0.4 (1.0) /System/Library/PrivateFrameworks/Slideshow.framework/Versions/A/Slideshow
    0x97b06000 - 0x97b4bfff com.apple.ISSupport 1.1.2 (16) /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
    0x97b70000 - 0x97b99fff com.apple.DotMacSyncManager 1.0.4 (155) /System/Library/PrivateFrameworks/DotMacSyncManager.framework/Versions/A/DotMac SyncManager
    0x97ca4000 - 0x97ce9fff com.apple.PAPICommon 2.5 (131) /System/Library/PrivateFrameworks/DotMacLegacy.framework/Versions/A/DotMacLegac y
    0x99468000 - 0x99473fff com.apple.IMFramework 3.1.4 (429) /System/Library/Frameworks/InstantMessage.framework/Versions/A/InstantMessage
    0x9947d000 - 0x995e9fff com.apple.MessageFramework 2.1.1 (752.3) /System/Library/Frameworks/Message.framework/Versions/B/Message
    Model: MacBookPro1,1, BootROM MBP11.0055.B08, 2 processors, Intel Core Duo, 2.16 GHz, 2 GB
    Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 256 MB
    Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
    Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
    AirPort: spairportwireless_card_type_airportextreme (0x168C, 0x86), 0.1.31.1
    Bluetooth: Version 1.7.14f14, 2 service, 1 devices, 1 incoming serial ports
    Network Service: Built-in Ethernet, Ethernet, en0
    Network Service: Parallels Host-Guest, Ethernet, en2
    Network Service: Parallels NAT, Ethernet, en3
    Serial ATA Device: ST910021AS, 93.16 GB
    Parallel ATA Device: MATSHITADVD-R UJ-857
    USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
    USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
    USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
    USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 500 mA
    USB Device: Apple Optical USB Mouse, Mitsumi Electric, Up to 1.5 Mb/sec, 100 mA
    USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 250 mA
    USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA
    Mac Book Pro   Mac OS X (10.4.8)  
    Mac Book Pro   Mac OS X (10.4.9)  

    Hi micmac74.
    Mail crashed for no apparent reason.
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all the filesystem issues, if any, reinstall the Combo Update for the type of computer and the version of Mac OS X you’re using, unless this is the version of Mac OS X that came with the computer:
    About the Mac OS X 10.4.9 Combo Update
    Mac OS X 10.4.9 Combo Update for PowerPC
    Mac OS X 10.4.9 Combo Update for Intel
    After installing the Combo Update, the computer may restart twice and the first restart may take several minutes. This is normal.
    Take a look at the following articles for guidelines on how to properly install system updates:
    Troubleshooting installation and software updates
    Installing software updates
    Basically, you should verify/repair the startup disk before installing the update, no applications should be running while installing it, and you may experience unexpected results if you have third-party system software modifications (not normal applications) installed.

  • How to send Email with attachments

    Hi im Trying to send a file as attachment using EMail Activity operator.
    Can we do it using Email activity? If yes, then how can we do it? If no, then please tell me about any other method using which i can send a email with attachments.
    Regards
    Vibhuti

    Better late than never, a comprehensive demo on the topic:
    REM
    REM maildemo.sql - A PL/SQL package to demonstrate how to use the UTL_SMTP
    REM package to send emails in ASCII and non-ASCII character sets, emails
    REM with text or binary attachments.
    REM
    REM Note: this package relies on the UTL_ENCODE PL/SQL package in Oracle 9i.
    CREATE OR REPLACE PACKAGE demo_mail IS
      ----------------------- Customizable Section -----------------------
      -- Customize the SMTP host, port and your domain name below.
      smtp_host   VARCHAR2(256) := 'smtp-server.some-company.com';
      smtp_port   PLS_INTEGER   := 25;
      smtp_domain VARCHAR2(256) := 'some-company.com';
      -- Customize the signature that will appear in the email's MIME header.
      -- Useful for versioning.
      MAILER_ID   CONSTANT VARCHAR2(256) := 'Mailer by Oracle UTL_SMTP';
      --------------------- End Customizable Section ---------------------
      -- A unique string that demarcates boundaries of parts in a multi-part email
      -- The string should not appear inside the body of any part of the email.
      -- Customize this if needed or generate this randomly dynamically.
      BOUNDARY        CONSTANT VARCHAR2(256) := '-----7D81B75CCC90D2974F7A1CBD';
      FIRST_BOUNDARY  CONSTANT VARCHAR2(256) := '--' || BOUNDARY || utl_tcp.CRLF;
      LAST_BOUNDARY   CONSTANT VARCHAR2(256) := '--' || BOUNDARY || '--' ||
                                                  utl_tcp.CRLF;
      -- A MIME type that denotes multi-part email (MIME) messages.
      MULTIPART_MIME_TYPE CONSTANT VARCHAR2(256) := 'multipart/mixed; boundary="'||
                                                      BOUNDARY || '"';
      MAX_BASE64_LINE_WIDTH CONSTANT PLS_INTEGER   := 76 / 4 * 3;
      -- A simple email API for sending email in plain text in a single call.
      -- The format of an email address is one of these:
      --   someone@some-domain
      --   "Someone at some domain" <someone@some-domain>
      --   Someone at some domain <someone@some-domain>
      -- The recipients is a list of email addresses  separated by
      -- either a "," or a ";"
      PROCEDURE mail(sender     IN VARCHAR2,
               recipients IN VARCHAR2,
               subject    IN VARCHAR2,
               message    IN VARCHAR2);
      -- Extended email API to send email in HTML or plain text with no size limit.
      -- First, begin the email by begin_mail(). Then, call write_text() repeatedly
      -- to send email in ASCII piece-by-piece. Or, call write_mb_text() to send
      -- email in non-ASCII or multi-byte character set. End the email with
      -- end_mail().
      FUNCTION begin_mail(sender     IN VARCHAR2,
                    recipients IN VARCHAR2,
                    subject    IN VARCHAR2,
                    mime_type  IN VARCHAR2    DEFAULT 'text/plain',
                    priority   IN PLS_INTEGER DEFAULT NULL)
                    RETURN utl_smtp.connection;
      -- Write email body in ASCII
      PROCEDURE write_text(conn    IN OUT NOCOPY utl_smtp.connection,
                     message IN VARCHAR2);
      -- Write email body in non-ASCII (including multi-byte). The email body
      -- will be sent in the database character set.
      PROCEDURE write_mb_text(conn    IN OUT NOCOPY utl_smtp.connection,
                     message IN            VARCHAR2);
      -- Write email body in binary
      PROCEDURE write_raw(conn    IN OUT NOCOPY utl_smtp.connection,
                    message IN RAW);
      -- APIs to send email with attachments. Attachments are sent by sending
      -- emails in "multipart/mixed" MIME format. Specify that MIME format when
      -- beginning an email with begin_mail().
      -- Send a single text attachment.
      PROCEDURE attach_text(conn         IN OUT NOCOPY utl_smtp.connection,
                   data         IN VARCHAR2,
                   mime_type    IN VARCHAR2 DEFAULT 'text/plain',
                   inline       IN BOOLEAN  DEFAULT TRUE,
                   filename     IN VARCHAR2 DEFAULT NULL,
                      last         IN BOOLEAN  DEFAULT FALSE);
      -- Send a binary attachment. The attachment will be encoded in Base-64
      -- encoding format.
      PROCEDURE attach_base64(conn         IN OUT NOCOPY utl_smtp.connection,
                     data         IN RAW,
                     mime_type    IN VARCHAR2 DEFAULT 'application/octet',
                     inline       IN BOOLEAN  DEFAULT TRUE,
                     filename     IN VARCHAR2 DEFAULT NULL,
                     last         IN BOOLEAN  DEFAULT FALSE);
      -- Send an attachment with no size limit. First, begin the attachment
      -- with begin_attachment(). Then, call write_text repeatedly to send
      -- the attachment piece-by-piece. If the attachment is text-based but
      -- in non-ASCII or multi-byte character set, use write_mb_text() instead.
      -- To send binary attachment, the binary content should first be
      -- encoded in Base-64 encoding format using the demo package for 8i,
      -- or the native one in 9i. End the attachment with end_attachment.
      PROCEDURE begin_attachment(conn         IN OUT NOCOPY utl_smtp.connection,
                        mime_type    IN VARCHAR2 DEFAULT 'text/plain',
                        inline       IN BOOLEAN  DEFAULT TRUE,
                        filename     IN VARCHAR2 DEFAULT NULL,
                        transfer_enc IN VARCHAR2 DEFAULT NULL);
      -- End the attachment.
      PROCEDURE end_attachment(conn IN OUT NOCOPY utl_smtp.connection,
                      last IN BOOLEAN DEFAULT FALSE);
      -- End the email.
      PROCEDURE end_mail(conn IN OUT NOCOPY utl_smtp.connection);
      -- Extended email API to send multiple emails in a session for better
      -- performance. First, begin an email session with begin_session.
      -- Then, begin each email with a session by calling begin_mail_in_session
      -- instead of begin_mail. End the email with end_mail_in_session instead
      -- of end_mail. End the email session by end_session.
      FUNCTION begin_session RETURN utl_smtp.connection;
      -- Begin an email in a session.
      PROCEDURE begin_mail_in_session(conn       IN OUT NOCOPY utl_smtp.connection,
                          sender     IN VARCHAR2,
                          recipients IN VARCHAR2,
                          subject    IN VARCHAR2,
                          mime_type  IN VARCHAR2  DEFAULT 'text/plain',
                          priority   IN PLS_INTEGER DEFAULT NULL);
      -- End an email in a session.
      PROCEDURE end_mail_in_session(conn IN OUT NOCOPY utl_smtp.connection);
      -- End an email session.
      PROCEDURE end_session(conn IN OUT NOCOPY utl_smtp.connection);
    END;
    CREATE OR REPLACE PACKAGE BODY demo_mail IS
      -- Return the next email address in the list of email addresses, separated
      -- by either a "," or a ";".  The format of mailbox may be in one of these:
      --   someone@some-domain
      --   "Someone at some domain" <someone@some-domain>
      --   Someone at some domain <someone@some-domain>
      FUNCTION get_address(addr_list IN OUT VARCHAR2) RETURN VARCHAR2 IS
        addr VARCHAR2(256);
        i    pls_integer;
        FUNCTION lookup_unquoted_char(str  IN VARCHAR2,
                          chrs IN VARCHAR2) RETURN pls_integer AS
          c            VARCHAR2(5);
          i            pls_integer;
          len          pls_integer;
          inside_quote BOOLEAN;
        BEGIN
           inside_quote := false;
           i := 1;
           len := length(str);
           WHILE (i <= len) LOOP
          c := substr(str, i, 1);
          IF (inside_quote) THEN
            IF (c = '"') THEN
              inside_quote := false;
            ELSIF (c = '\') THEN
              i := i + 1; -- Skip the quote character
            END IF;
            GOTO next_char;
          END IF;
          IF (c = '"') THEN
            inside_quote := true;
            GOTO next_char;
          END IF;
          IF (instr(chrs, c) >= 1) THEN
             RETURN i;
          END IF;
          <<next_char>>
          i := i + 1;
           END LOOP;
           RETURN 0;
        END;
      BEGIN
        addr_list := ltrim(addr_list);
        i := lookup_unquoted_char(addr_list, ',;');
        IF (i >= 1) THEN
          addr      := substr(addr_list, 1, i - 1);
          addr_list := substr(addr_list, i + 1);
        ELSE
          addr := addr_list;
          addr_list := '';
        END IF;
        i := lookup_unquoted_char(addr, '<');
        IF (i >= 1) THEN
          addr := substr(addr, i + 1);
          i := instr(addr, '>');
          IF (i >= 1) THEN
         addr := substr(addr, 1, i - 1);
          END IF;
        END IF;
        RETURN addr;
      END;
      -- Write a MIME header
      PROCEDURE write_mime_header(conn  IN OUT NOCOPY utl_smtp.connection,
                         name  IN VARCHAR2,
                         value IN VARCHAR2) IS
      BEGIN
        utl_smtp.write_data(conn, name || ': ' || value || utl_tcp.CRLF);
      END;
      -- Mark a message-part boundary.  Set <last> to TRUE for the last boundary.
      PROCEDURE write_boundary(conn  IN OUT NOCOPY utl_smtp.connection,
                      last  IN            BOOLEAN DEFAULT FALSE) AS
      BEGIN
        IF (last) THEN
          utl_smtp.write_data(conn, LAST_BOUNDARY);
        ELSE
          utl_smtp.write_data(conn, FIRST_BOUNDARY);
        END IF;
      END;
      PROCEDURE mail(sender     IN VARCHAR2,
               recipients IN VARCHAR2,
               subject    IN VARCHAR2,
               message    IN VARCHAR2) IS
        conn utl_smtp.connection;
      BEGIN
        conn := begin_mail(sender, recipients, subject);
        write_text(conn, message);
        end_mail(conn);
      END;
      FUNCTION begin_mail(sender     IN VARCHAR2,
                    recipients IN VARCHAR2,
                    subject    IN VARCHAR2,
                    mime_type  IN VARCHAR2    DEFAULT 'text/plain',
                    priority   IN PLS_INTEGER DEFAULT NULL)
                    RETURN utl_smtp.connection IS
        conn utl_smtp.connection;
      BEGIN
        conn := begin_session;
        begin_mail_in_session(conn, sender, recipients, subject, mime_type,
          priority);
        RETURN conn;
      END;
      PROCEDURE write_text(conn    IN OUT NOCOPY utl_smtp.connection,
                     message IN VARCHAR2) IS
      BEGIN
        utl_smtp.write_data(conn, message);
      END;
      PROCEDURE write_mb_text(conn    IN OUT NOCOPY utl_smtp.connection,
                     message IN            VARCHAR2) IS
      BEGIN
        utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw(message));
      END;
      PROCEDURE write_raw(conn    IN OUT NOCOPY utl_smtp.connection,
                    message IN RAW) IS
      BEGIN
        utl_smtp.write_raw_data(conn, message);
      END;
      PROCEDURE attach_text(conn         IN OUT NOCOPY utl_smtp.connection,
                   data         IN VARCHAR2,
                   mime_type    IN VARCHAR2 DEFAULT 'text/plain',
                   inline       IN BOOLEAN  DEFAULT TRUE,
                   filename     IN VARCHAR2 DEFAULT NULL,
                      last         IN BOOLEAN  DEFAULT FALSE) IS
      BEGIN
        begin_attachment(conn, mime_type, inline, filename);
        write_text(conn, data);
        end_attachment(conn, last);
      END;
      PROCEDURE attach_base64(conn         IN OUT NOCOPY utl_smtp.connection,
                     data         IN RAW,
                     mime_type    IN VARCHAR2 DEFAULT 'application/octet',
                     inline       IN BOOLEAN  DEFAULT TRUE,
                     filename     IN VARCHAR2 DEFAULT NULL,
                     last         IN BOOLEAN  DEFAULT FALSE) IS
        i   PLS_INTEGER;
        len PLS_INTEGER;
      BEGIN
        begin_attachment(conn, mime_type, inline, filename, 'base64');
        -- Split the Base64-encoded attachment into multiple lines
        i   := 1;
        len := utl_raw.length(data);
        WHILE (i < len) LOOP
           IF (i + MAX_BASE64_LINE_WIDTH < len) THEN
          utl_smtp.write_raw_data(conn,
             utl_encode.base64_encode(utl_raw.substr(data, i,
             MAX_BASE64_LINE_WIDTH)));
           ELSE
          utl_smtp.write_raw_data(conn,
            utl_encode.base64_encode(utl_raw.substr(data, i)));
           END IF;
           utl_smtp.write_data(conn, utl_tcp.CRLF);
           i := i + MAX_BASE64_LINE_WIDTH;
        END LOOP;
        end_attachment(conn, last);
      END;
      PROCEDURE begin_attachment(conn         IN OUT NOCOPY utl_smtp.connection,
                        mime_type    IN VARCHAR2 DEFAULT 'text/plain',
                        inline       IN BOOLEAN  DEFAULT TRUE,
                        filename     IN VARCHAR2 DEFAULT NULL,
                        transfer_enc IN VARCHAR2 DEFAULT NULL) IS
      BEGIN
        write_boundary(conn);
        write_mime_header(conn, 'Content-Type', mime_type);
        IF (filename IS NOT NULL) THEN
           IF (inline) THEN
           write_mime_header(conn, 'Content-Disposition',
             'inline; filename="'||filename||'"');
           ELSE
           write_mime_header(conn, 'Content-Disposition',
             'attachment; filename="'||filename||'"');
           END IF;
        END IF;
        IF (transfer_enc IS NOT NULL) THEN
          write_mime_header(conn, 'Content-Transfer-Encoding', transfer_enc);
        END IF;
        utl_smtp.write_data(conn, utl_tcp.CRLF);
      END;
      PROCEDURE end_attachment(conn IN OUT NOCOPY utl_smtp.connection,
                      last IN BOOLEAN DEFAULT FALSE) IS
      BEGIN
        utl_smtp.write_data(conn, utl_tcp.CRLF);
        IF (last) THEN
          write_boundary(conn, last);
        END IF;
      END;
      PROCEDURE end_mail(conn IN OUT NOCOPY utl_smtp.connection) IS
      BEGIN
        end_mail_in_session(conn);
        end_session(conn);
      END;
      FUNCTION begin_session RETURN utl_smtp.connection IS
        conn utl_smtp.connection;
      BEGIN
        -- open SMTP connection
        conn := utl_smtp.open_connection(smtp_host, smtp_port);
        utl_smtp.helo(conn, smtp_domain);
        RETURN conn;
      END;
      PROCEDURE begin_mail_in_session(conn       IN OUT NOCOPY utl_smtp.connection,
                          sender     IN VARCHAR2,
                          recipients IN VARCHAR2,
                          subject    IN VARCHAR2,
                          mime_type  IN VARCHAR2  DEFAULT 'text/plain',
                          priority   IN PLS_INTEGER DEFAULT NULL) IS
        my_recipients VARCHAR2(32767) := recipients;
        my_sender     VARCHAR2(32767) := sender;
      BEGIN
        -- Specify sender's address (our server allows bogus address
        -- as long as it is a full email address ([email protected]).
        utl_smtp.mail(conn, get_address(my_sender));
        -- Specify recipient(s) of the email.
        WHILE (my_recipients IS NOT NULL) LOOP
          utl_smtp.rcpt(conn, get_address(my_recipients));
        END LOOP;
        -- Start body of email
        utl_smtp.open_data(conn);
        -- Set "From" MIME header
        write_mime_header(conn, 'From', sender);
        -- Set "To" MIME header
        write_mime_header(conn, 'To', recipients);
        -- Set "Subject" MIME header
        write_mime_header(conn, 'Subject', subject);
        -- Set "Content-Type" MIME header
        write_mime_header(conn, 'Content-Type', mime_type);
        -- Set "X-Mailer" MIME header
        write_mime_header(conn, 'X-Mailer', MAILER_ID);
        -- Set priority:
        --   High      Normal       Low
        --   1     2     3     4     5
        IF (priority IS NOT NULL) THEN
          write_mime_header(conn, 'X-Priority', priority);
        END IF;
        -- Send an empty line to denotes end of MIME headers and
        -- beginning of message body.
        utl_smtp.write_data(conn, utl_tcp.CRLF);
        IF (mime_type LIKE 'multipart/mixed%') THEN
          write_text(conn, 'This is a multi-part message in MIME format.' ||
         utl_tcp.crlf);
        END IF;
      END;
      PROCEDURE end_mail_in_session(conn IN OUT NOCOPY utl_smtp.connection) IS
      BEGIN
        utl_smtp.close_data(conn);
      END;
      PROCEDURE end_session(conn IN OUT NOCOPY utl_smtp.connection) IS
      BEGIN
        utl_smtp.quit(conn);
      END;
    END;
    /

  • Can not view (some) emails with attachments

    There has already been some discussion about individuals getting the "This message has not been downloaded from the server" error.
    http://discussions.apple.com/message.jspa?messageID=4983643
    Has anyone found a solution to this problem? I am using GMail and am having problems reading (some) emails with attachments. I can read the first several lines through the preview view, but can not open (some) emails without getting the "This message has not been downloaded from the server" error.
    The problem appears to be completely random. The problem occurs sometimes after I open the email on my computer, and other times it occurs before I open the email on my computer. And sometimes opening the email on my computer does not cause any problem opening the email on my phone.
    I have seen this problem on two different phones now and have re-created the email accounts on both phone several times. But the problems keeps (eventually) appearing--for some, but not all emails.
     PowerBook G4, Macintosh 512K     iPod nano (2nd Gen 8GB), iPhone (8GB)

    So, I think things are actually sending/downloading and it's just taking time and the iphone is defaulting to the error message.
    I don't think that's the case. I have several week-old messages on my iPhone (each under 300k) that still say "The message has not been downloaded from the server."
    I've been connected to wifi for over an hour now, so that's plenty of time to downloaded these few small emails. I can read the "preview" of the message from the Inbox screen, but when I click on the message itself, I get the error.
    And, those messages with the attachments that I was able to open this morning? I can no longer open them now. Very, very frustrating.

Maybe you are looking for

  • Action in a ISU Service Contract

    Hello experts; As a requirements i had to find a way to automatically renew a contract when the contract owner didn't react before 30 days in advance the contract planned end date. To accomplish that i created an action on Item level that triggers a

  • Can you import Video Frames to Layers if your video is larger than 1280x720?

    I can import a video that is 1280x720 or smaller to layers, but can't import one larger than that or Photoshop freezes up. and then has to be force quit.  when i reopen it after force quiting, it immediately crashes and then when i reopen it and try

  • Formula for arriving at percentage of increase/decrease

    Does anyone know the formula in Numbers '09 to identify sales increase/decrease percent from one cell or date period compared to another? In Excel it is quite simple, i.e. =(B-A)/A and ENTER. This formula doesn't work in Numbers. I'd like to get deep

  • Latest update causing dual screens?!!?

    Hello, i ve just updated to the latest flashplayer and i got this at every video i see in the internet [IMG]http://i310.photobucket.com/albums/kk414/Labradoraki/lolwtf.jpg[/IMG] any specific option to fix it or just hope team fixes it fast? can i dow

  • How can I access my iCloud backups on my pc? I'd like to see my pictures and videos...

    My iCloud backup is full. How can I access the backup on my pc to see if I want to copy it (photos and vids) onto my pc and then delete it? btw iOS 7... I cannot upgrade to iOS 8 due to lack of storage space.