Migrating files and accounts via Firewire Transfer method fails

We just bought a new Powerbook and I'm trying to migrate our old pics and docs to the new machine from a G3 iBook.
During the account setup process, I'm asked if I would like to transfer the files..I go through the process of rebooting the iBook in target disk mode (and connecting the firewire cable) and check off the accounts and folders I'd like to move. It says it will take 4 hours for to move the 20+Gb of data. That seems like a long time..but I'm fine with that.
Now for the problem
I hit the Continue button and nothing gets migrated to the new machine - it just hangs there with the status bar looking like a blue candy cane. I've left it like that for 6+ hours hoping something may happen but no luck. I've rebooted both machines numerous times, and it consistantly hangs at the same point.
Any ideas? My guess is the G3 iBook is about to die and having trouble keeping the connection but thats only a guess.
Thanks in advance for the help.

Hi lndshk, Welcome to Apple Discussions.
It may well be a problem with the directory on your G3. Have you run repair disk on the G3:
Repair Disk:
Steps for using Disk Utility
1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
3. Click the First Aid tab.
4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
5. Select your Mac OS X volume.
6. Click Repair.
If you repair errors run it until no errors found.
If it cannot be be repaired and you need to migrate by hand, here is a list of where your important data is stored ("~" stands for "Home"):
Your data in ~/Documents
~/Library/Application Support/AddressBook (copy the whole folder)
~/Library/Application Support/iCal(copy the whole folder)
Also in ~/Library/Application Support (copy whatever else you need)
~ /Library/Keychains (copy the whole folder)
~/Library/Mail (copy the whole folder)
~/Library/Preferences/com.apple.mail.plist *This is a very important file which contains all email account settings and general mail preferences.
~ /Library/iTunes (copy the whole folder)
~/Library/Application Support/Safari (copy the whole folder)
~/Library/Application Support/iMovie (copy the whole folder)
~/Pictures/iPhoto library
~/Music/iTunes
~/Movies/iMovie
If you want cookies:
~/Library/Cookies/Cookies.plist
~/Library/Application Support/Webfoundation/HTTPcookies.plist
For Entourage users:
Entourage is in Documents/Microsoft user data
Also in ~ /Library/Preferences/Microsoft
internet explorer favorites are in ~/Library/Preferences/Explorer/favorites.html
As for third party applications, you'll have to install them fresh and don't try to change the name of the Home directory without specific instructions.
-mj
[email protected]

Similar Messages

  • PICS IN ALL SORTS OF FILES AND ACCOUNTS

    I am trying to get together all the pictures on my computer in one file, so I can sort them out.
    My mac has been used by different people over the time, and I myself have a business and a private account. Very confusing!
    I am 'the administrator' and have access to all files and accounts, but is there a simple way to just get them all together, put them in one I-Photo file and re-arrange them (and throw most out).
    Hopefully you can help. Many thanks!
    Marc

    Marc
    Welcome to the Apple user discussion forums
    I am trying to get together all the pictures on my computer in one file, so I can sort them oot?
    First - unless you want to lose all edits, albums and projects do not modify the iPhoto library in any way - do not delete, move or modify images within the iPhoto library or you will corrupt it and not be able to use it
    As to other photos - search for all files with .JPG in their name and import the ones you want into iPhoto - you may want to archive them and then (assuming that you are using a managed library) you can delete them from their location outside of the iPhoto library
    But you want to organize them before you import them to iPhoto - once they are in iPhoto you must use iPhoto for all organization - never the finder
    LN

  • HT203167 I lost my Ipad, the serial number is DMOJ2N70DVD1 . Im worried they will acces my file and account on the Ipad.

    hi
    I lost my Ipad, the serial number is DMOJ2N70DVD1 . Im worried they will acces my file and account on the Ipad.

    IF you have not done so already, you need to sign up for ICloud at www.icloud.com.  Sign in with your Apple account.  From there you can locate your iPad if it is turned on.  iCloud allows you wipe your iPad clean if necessary.  Oh and don't put you iPad serial number out there.  Someone may be able to hack into your account. 
    WHen you find your iPad change your password.

  • I exported an archive of iCal from a computer running the last OS X. On a new computer running OS X (10.7.4), I tried to import the .icbu file and got a message "The calendar failed to restore". How do I fix this/get my calendar?

    I exported an archive of iCal from a computer running the last OS X. On a new computer running OS X (10.7.4), I tried to import the .icbu file and got a message "The calendar failed to restore". How do I fix this/get my calendar?

    I exported an archive of iCal from a computer running the last OS X. On a new computer running OS X (10.7.4), I tried to import the .icbu file and got a message "The calendar failed to restore". How do I fix this/get my calendar?

  • Why doesn't my new Thunderbird account see my migrated email files and account info?

    Said bye to Win XP and did clean install of Win 7. Have tried 3 dif methods described at
    https://support.mozilla.org/en-US/kb/profiles-tb#w_restoring-to-a-different-location (Restoring
    a profile backup, Restoring to a different location, Moving a profile) to transfer my email
    files/settings/accounts, but nothing shows up except the account configured at install of
    Thunderbird. I have closed Tbird and rebooted PC, but none of my backup files show.
    Somewhere I read:
    Find the "Mozilla" (for Mozilla Suite/SeaMonkey 1.x), "SeaMonkey" (for SeaMonkey 2),
    "Firefox", or "Thunderbird" folder in the profile folder path that contains the registry.dat
    file or profiles.ini file and the "Profiles" folder (Windows and Mac)...
    My understanding was that all I needed to back up was the profile folder and all below it and transfer it to my new Thunderbird Win 7 location. I have no registry.dat file or profiles.ini file.

    Umm, that looks OK. I was wondering if it had inserted an extra layer of folders; when moving from XP to W7 myself, I found it had separated the profile data into a new subfolder, Profiles, but you already have that and it's correctly declared in the profiles.ini file.
    I'm puzzled. Just to check, the folder named pf8j2npn.default should contain, amongst other things, folders named Mail and ImapMail, and files such as prefs.js, abook.mab and history.mab
    Could you post your settings here please?
    In Thunderbird, '''Help|Troubleshooting Information'''.
    Clear the "include account names" checkbox. Click the "copy text to clipboard" button, use paste (ctrl+v) to paste into your next reply here. Feel free to chop out anything you consider too personal (but please leave server names), and we don't need all the stuff about fonts and printers. But I'm not expecting it to list very many accounts. :-(

  • My 5 year old iMac's hard drive is at the point of failing.  I'm trying to save al files on it, but it wont allow backup via Time Machine to an external hard drive.  How can I keep from losing all the files and programs if the hard drive fails?

    I'm concerned that my iMac, purchased 5 years ago, is about the crash and I can't back up my files and programs to an external hard drive via Time Machine because the computer freezes after only a couple hundred MB and gets nowhere near the required amount.
    How can I save these files and programs if the computer hard drive fails or has to be replaced without the backup being able to be done? I need to do something quickly, but I'm not sure what I can or should be doing.

    Get an external hard drive, some good ones that I like are the OWC, http://www.macsales.com Mercury Elite Pro drives...they are very good and reasonably priced.
    Get the drive, connect via USB or FireWire, then use Disk Utility to format the new drive as Mac OS X Extended (Journaled), and then use Disk Utility to Restore the current drive to the new drive.  Restore actually clones the drive so you will have a bootable backup on the external drive.
    After you have formatted and named the external drive, click Restore in the main Disk Utility window, drag the name of the old hard drive to the Source box, and drag the name of the new external drive to the Destination box.  DU will make an exact clone of the internal drive on the external drive.
    That clone will be a complete backup of the operating system and all of your data.
    You can test it by restarting the iMac and hold the Option key.  That will give you a grey screen showing all bootable drives.  Just click the external drive, then click the upward pointing arrow under it and the iMac will boot from that drive.

  • Where do migrated files and folders go on destination computer?

    I used migration assistant send files and folders from my portable to my desktop. Just trying to get all my data in one place - probably attempting "merging." Followed instruction for migration assistant and it said it completed task. Butr I can not find the folders and files from my portable on my dektop. Where would they be??

    Check here:
    Macintosh HD/Users
    It will probably be in a folder labeled with the name of the User Account on the old Mac.

  • Recently Migrated Files - Mail Accounts Grey out Randomly

    I recently migrated files from an older Macbook running Tiger to a newer Macbook Pro running Snow Leopard. Now some of my email accounts grey out when I check email and the accounts that are grey are different each time! I can still retrieve email on the old computer so the problem is not my ISP or email provider. I have checked all the accounts and they appear to be the same as on the old computer. I did, however, re-enter all the info by hand just in case. I have run Connection Doctor and get different results every time even if I change nothing. Any clues?

    Update: I tried taking all my accounts offline and retrieving mail from only one account at a time. This DID seem to work but it's unacceptable to have to retrieve email this way. I have 8 accounts. But maybe the additional info will help someone troubleshoot.

  • File and Account Management When Dual-Booting Mavericks and Earlier OS X

    I want to install Mavericks into a separate partition on my mid-2009 MacBook Pro so that I can still boot into Snow Leopard to run some essential legacy software. My question is: how do I configure everything so that I only have to install each app once and so that user accounts access one set of files?
    For example, I would like to be able to run, say, MS Office within either Mavericks or Snow Leopard, but I want to use the same software installation, the same preferences and other support files, and save to the same user file space.
    Would someone be kind enough to point me to instructions for setting something like this up? I am an experienced computer user, and I am capable of following instructions. However, I am not a power user, nor do I know the ins and outs of navigating through the terminal.
    Thank you in advance.
    David

    Hi Dave
    Have you found a solution yet? I have exactly the same issue, and same questions. Being able to continue to use 10.6.8 for essential legacy material and a few old programs is a pre-condition of my upgrading to 10.9.
    Installing 10.9 onto a new partition, or a new drive (as I shall do on my early 2008 Mac Pro) is mentioned as an option in virtually every article on the web on upgrading, but I can find nothing that explains precisely what you do about your user account.
    I'm not so worried so much about the applications. I'll just migrate all that work in 10.9 across to the 10.9 drive, but not delete them from the 10.6.8. drive. I can see too much chance of OS conflicts if you tried to run them in both OS from a single location.
    I initially thought it should be possible to access all my content through a single user account which is accessible whether I boot in 10.6.8 or 10.9. I can't find a convincing answer to whether that is possible or not anywhere, or instructions on how to do it if it is possible.
    I wonder if I'm not being too complicated about this?. Once 10.9 is installed, I suspect I'll use that for everything except the programs and content that only work in 10.6.8.  And it may be far better to have all the 10.6.8 stuff in a specific and separate user account in any case.
    But I'd be interested in what you may have found out or decided to do!

  • Allow users to attach a file and remit via form

    I am creating a fillable worksheet for users via Acrobat 9 Pro
    I would like users to be able to fill out the form, click a submit button (which brings up their respective email client to remit data to form creator (me). BUT....
    also somewhere on the form i would like to give them the opportunity to attach or append any other documents they might have locally.
    for example, users are working in the PDF form, filling it out and loving it. Then they come to a question which is a form field but also says something to the nature, "if you have references of existing information please feel free to attach to this form" and be able to add or click a button to attach a local MS Word Doc, excel doc, ppt, visio, pdf, etc.
    Thanks!

    Sorry, I had to edit this.
    First enable commenting rights for the file, and the users will be able to select "Tools > Comment & Markup > Attach a File as a Comment".

  • Encrypt file and send via email

    Hi,
    I have a file which I wish to encrypt and send via email. I know how to send by email but wish to send the file (csv), protected. I have read a few boards that say you could zip the file and add password protection. But sadly none of the forums show how to do this, does anyone have any code examples of what packages I would need?
    Any help would be greatly appreciated.

    See the JavaMail Third Party Products list at http://java.sun.com/products/javamail/Third_Party.html.
    Bouncy Castle is a popular package to handle secure email.

  • Control file and spfile auto backup backup is failing

    Hello All,
    I am using Oracle RAC 11gR2 with ASM. My database is 2 nodes RAC1 and RAC2.
    I am taking RMAN database backups to ASM diskgroup (FRA) and to a Network File System mounted on both RAC1 and RAC2. I have this requirement to take backup also outside ASM.
    I have set: CONFIGURE CONTROL FILE AUTOBACKUP ON;
    I am runing the RMAN backup job from node 2 (RAC2)
    I am facing the below error when taking a backup to the Network File system;
    Starting Control File and SPFILE Autobackup at 08-SEP-12
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 09/08/2012 18:20:06
    ORA-00245: control file backup failed; target is likely on a local file systemHow could I solve that ?
    Regards,

    NB wrote:
    Is that general configuration ? or i can only do it for the sessions that RMAN to NFS?at rman
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'location_of_shared_storage%F';

  • I can't open Adobe files and keep getting this message: "Adobe failed to connect to the DDE server" - anyone got a fix for this? I'm Windows 7, 64bit running Office 2010 Pro Plus - anyone got a fix for this?

    Forgot to mention I'm using Firefox V.4

    Hey Jorge,
    I've checked Reader, and there are no updates. I've run a Windows version compatibility test - although it only goes up to Vista, and not Windows 7.
    Anyway, it appears I can now open Adobe files - but I've found another issue: when I right-click on a file and scroll down to the 'send to email recipient', it doesn't automatically open an Outlook email with the file as an attachment - in fact it doesn't open Outlook at all, let alone automatically?
    Any clues?

  • Migrated files and New User Account

    Hello,
    New Mac user here.  I successfully migrated all the content from my old PC onto my Mac Mini and it was put into a new user account.  I'd like to transfer this content into the Admin account and delete the added user.  What's the best way to go about doing this?  Thanks so much!

    Use Quicktime Player version 7 instead of Quicktime 10.
    Mac OS X 10.6 includes QuickTime versions 10.0 and 7.6.3. The QuickTime 7 player will only be present if a QuickTime Pro key was present at the time of installation, or if specified as part of a custom install, or individually downloaded.
    http://support.apple.com/kb/dl923
    Snow Leopard update 10.6.4 included an update to 7.6.6 (if installed). You can install it from the above link even though it says for 10.6.3. It's the same version of QuickTime Player 7.6.6.
    Only QuickTime Player 7.6.3 or 7.6.6 can be updated to "Pro".

  • How to ZIP file and send via SMTP in Oracle

    Dear All,
    I want to send data every month via email where the data i got from view.
    The problem is the file is to big, so i should zip it.
    the question is How i can perform it with procedure and send it automatically via Job every 1st month
    what i've done was i create a procedure to make the file in zip
    [quote/]
    CREATE OR REPLACE PROCEDURE production.CREATE_EXCEL_DTKPITerminate IS
        vvrun varchar2(3000);
        vsender varchar2(100);
        vrecepient varchar2(100);
      vccrecipient varchar2(1000);
        vsubject varchar2(1000);
        vmessage long;
        v_loc varchar2(5);
       NAME:       CREATE_EXCEL
       PURPOSE:
       REVISIONS:
       Ver        Date        Author           Description
       1.0        10/15/2012          1. Created this procedure.
       NOTES:
       Automatically available Auto Replace Keywords:
          Object Name:     CREATE_EXCEL
          Sysdate:         10/15/2012
          Date and Time:   10/15/2012, 9:42:40 , and 10/15/2012 9:42:40
          Username:         (set in TOAD Options, Procedure Editor)
          Table Name:       (set in the "New PL/SQL Object" dialog)
    begin
       vsender := '[email protected]';
         vrecepient := '[email protected]';
      vccrecipient := '[email protected]';
         vsubject := 'KPI Terminate'||TO_CHAR(SYSDATE,'MM-YYYY');
         vmessage :=
            'MESSAGE .';
         as_xlsx.query2sheet('
         select cmp_company,emp#,name,class,goucode,goudesc,job,job_name,tglkeluar
                ,nac_seq,nac_code,nac_type,nac_begin,nac_desc,reason,reason_code
                from V_KPITerminate
         --insert into blobs(blob_id,blob_name)
         --values (1,as_xlsx.finish);
         SEND_SMTP_PUZZLE_DTKRY(vsender,vrecepient,vccrecipient,vsubject,vmessage,as_xlsx.finish,'DataKPITerm -'||to_char(sysdate,'yyyy')||'.zip');
      --as_xlsx.save( 'BASE_DIR3', 'SWT.xls' );
    end;
    [/quote]
    when i execute this, Error ocured
    Message       : ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512           : at "SYS.UTL_SMTP", line 21
    ORA-06512           : at "SYS.UTL_SMTP", line 97
    ORA-06512           : at "SYS.UTL_SMTP", line 399
    ORA-06512           : at "PU22PROD_123.SEND_SMTP_PUZZLE_DTKRY", line 151
    ORA-29294           : A data error occurred during compression or uncompression.
    ORA-06512           : at "PU22PROD_123.CREATE_EXCEL_KPITERM", line 60
    ORA-06512           : at line 2
    cann anyone help?
    the data is too big so i prefer it zip.. can anyone help..
    the SMTP I use is like this
    CREATE OR REPLACE PROCEDURE production.SEND_SMTP_PUZZLE_DTKRY (pSender VARCHAR2,pRecipient VARCHAR2, pCCRecipient VARCHAR2, pSubject VARCHAR2,pMessage LONG,pattach BLOB,pfilename VARCHAR2) IS
      v_src_loc  BFILE := BFILENAME('BASE_DIR3', 'pajak.xls');
          l_buffer   RAW(54);
          l_amount   BINARY_INTEGER := 54;
         l_pos      INTEGER := 1;
         l_blob     BLOB := EMPTY_BLOB;
         l_blob_len INTEGER;
          v_amount   INTEGER;
          crlf CONSTANT VARCHAR2(2):= CHR(13) || CHR(10);
      v_connection_handle  UTL_SMTP.CONNECTION;
        v_smtp_host          VARCHAR2(30) := 'mail.mayora.co.id'; --My mail server, replace it with yours.
        v_subject            VARCHAR2(30) := 'Your Test Mail';
        l_message            VARCHAR2(200) := 'This is test mail using UTL_SMTP';
      pcc varchar2(50);
      i number := 1;
      j number := 1;
      l_original_blob blob;
      l_compressed_blob blob;
    BEGIN
       BEGIN
         /*Preparing the LOB from file for attachment. */
         --DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
         --dBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
         --v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
         --DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
         --l_blob_len := DBMS_LOB.getlength(l_blob);
      l_original_blob     := pattach;
         l_compressed_blob   := TO_BLOB('1');
      UTL_COMPRESS.lz_compress (src => l_original_blob,
                                   dst => l_compressed_blob);
      --DBMS_LOB.FREETEMPORARY(l_compressed_blob);
      l_blob := l_compressed_blob;
         l_blob_len := DBMS_LOB.getlength(l_blob);
         /*UTL_SMTP related coding. */
         v_connection_handle := UTL_SMTP.OPEN_CONNECTION(host => v_smtp_host);
         UTL_SMTP.HELO(v_connection_handle, v_smtp_host);
         UTL_SMTP.MAIL(v_connection_handle, psender);
         UTL_SMTP.RCPT(v_connection_handle, precipient);
        if pCCRecipient is not null then
            if(instr(pCCRecipient,',') = 0) then
            utl_smtp.rcpt(v_connection_handle, pCCRecipient);
            else
           while(instr(pCCRecipient,',',i) > 0)
            loop
            pcc := substr(pCCRecipient,i, instr(substr(pCCRecipient,i),',')-1);
            i := i+instr(substr(pCCRecipient,i),',');
            utl_smtp.rcpt(v_connection_handle,pcc);
            end loop;
            pcc := substr(pCCRecipient,i,length(pCCRecipient));
            utl_smtp.rcpt(v_connection_handle,pcc);
            end if;
        end if;
         --UTL_SMTP.RCPT(v_connection_handle, v_cc_email_address);
         UTL_SMTP.OPEN_DATA(v_connection_handle);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                               'FROM' || ': ' ||  psender || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                               'TO' || ': ' ||  precipient || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                               'CC' || ': ' ||  pCCRecipient || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                               'SUBJECT' || ': ' ||  pSubject || UTL_TCP.CRLF);
       --MIME header.
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'MIME-Version: 1.0' || UTL_TCP.CRLF);
        UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             ' boundary= "' || 'BASE_DIR3.SECBOUND' || '"' ||
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
         -- Mail Body
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             '--' || 'BASE_DIR3.SECBOUND' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'Content-Type: text/plain;' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             ' charset=US-ASCII' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle, Pmessage || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
         -- Mail Attachment
       UTL_SMTP.WRITE_DATA(v_connection_handle,
                             '--' || 'BASE_DIR3.SECBOUND' || UTL_TCP.CRLF);
        UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'Content-Type: application/octet-stream' ||
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             ' filename="' || pfilename || '"' || --My filename
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
       /* Writing the BLOL in chunks */
         WHILE l_pos < l_blob_len LOOP
           DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
           UTL_SMTP.write_raw_data(v_connection_handle,
                                  UTL_ENCODE.BASE64_ENCODE(l_buffer));
           UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
           l_buffer := NULL;
           l_pos    := l_pos + l_amount;
        END LOOP;
         UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
         -- Close Email
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             '--' || 'BASE_DIR3.SECBOUND' || '--' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
         UTL_SMTP.CLOSE_DATA(v_connection_handle);
         UTL_SMTP.QUIT(v_connection_handle);
      EXCEPTION
        WHEN OTHERS THEN NULL;
        --return 1;
          UTL_SMTP.QUIT(v_connection_handle);
          RAISE;
      END;
    END;

    this is my smtp procedure
    CREATE OR REPLACE PROCEDURE PROD.SEND_SMTP_PUZZLE_DTKRY (pSender VARCHAR2,pRecipient VARCHAR2, pCCRecipient VARCHAR2, pSubject VARCHAR2,pMessage LONG,pattach BLOB,pfilename VARCHAR2) IS
      v_src_loc  BFILE := BFILENAME('BASE_DIR3', 'pajak.xls');
          l_buffer   RAW(54);
          l_amount   BINARY_INTEGER := 54;
         l_pos      INTEGER := 1;
         l_blob     BLOB := EMPTY_BLOB;
         l_blob_len INTEGER;
          v_amount   INTEGER;
          crlf CONSTANT VARCHAR2(2):= CHR(13) || CHR(10);
      v_connection_handle  UTL_SMTP.CONNECTION;
        v_smtp_host          VARCHAR2(30) := 'mail.mayora.co.id'; --My mail server, replace it with yours.
        v_subject            VARCHAR2(30) := 'Your Test Mail';
        l_message            VARCHAR2(200) := 'This is test mail using UTL_SMTP';
      pcc varchar2(50);
      i number := 1;
      j number := 1;
      l_original_blob blob;
      l_compressed_blob blob;
    BEGIN
       BEGIN
         /*Preparing the LOB from file for attachment. */
         --DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
         --dBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
         --v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
         --DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
         --l_blob_len := DBMS_LOB.getlength(l_blob);
      l_original_blob     := pattach;
         l_compressed_blob   := TO_BLOB('1');
      UTL_COMPRESS.lz_compress (src => l_original_blob,
                                   dst => l_compressed_blob);
      --DBMS_LOB.FREETEMPORARY(l_compressed_blob);
      l_blob := l_compressed_blob;
         l_blob_len := DBMS_LOB.getlength(l_blob);
         /*UTL_SMTP related coding. */
         v_connection_handle := UTL_SMTP.OPEN_CONNECTION(host => v_smtp_host);
         UTL_SMTP.HELO(v_connection_handle, v_smtp_host);
         UTL_SMTP.MAIL(v_connection_handle, psender);
         UTL_SMTP.RCPT(v_connection_handle, precipient);
        if pCCRecipient is not null then
            if(instr(pCCRecipient,',') = 0) then
            utl_smtp.rcpt(v_connection_handle, pCCRecipient);
            else
            while(instr(pCCRecipient,',',i) > 0)
            loop
            pcc := substr(pCCRecipient,i, instr(substr(pCCRecipient,i),',')-1);
            i := i+instr(substr(pCCRecipient,i),',');
            utl_smtp.rcpt(v_connection_handle,pcc);
            end loop;
            pcc := substr(pCCRecipient,i,length(pCCRecipient));
            utl_smtp.rcpt(v_connection_handle,pcc);
            end if;
        end if;
         --UTL_SMTP.RCPT(v_connection_handle, v_cc_email_address);
         UTL_SMTP.OPEN_DATA(v_connection_handle);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                               'FROM' || ': ' ||  psender || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                               'TO' || ': ' ||  precipient || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                               'CC' || ': ' ||  pCCRecipient || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                               'SUBJECT' || ': ' ||  pSubject || UTL_TCP.CRLF);
         --MIME header.
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'MIME-Version: 1.0' || UTL_TCP.CRLF);
        UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             ' boundary= "' || 'BASE_DIR3.SECBOUND' || '"' ||
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
         -- Mail Body
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             '--' || 'BASE_DIR3.SECBOUND' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'Content-Type: text/plain;' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             ' charset=US-ASCII' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle, Pmessage || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
         -- Mail Attachment
       UTL_SMTP.WRITE_DATA(v_connection_handle,
                             '--' || 'BASE_DIR3.SECBOUND' || UTL_TCP.CRLF);
        UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'Content-Type: application/octet-stream' ||
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             ' filename="' || pfilename || '"' || --My filename
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
       /* Writing the BLOL in chunks */
         WHILE l_pos < l_blob_len LOOP
           DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
           UTL_SMTP.write_raw_data(v_connection_handle,
                                  UTL_ENCODE.BASE64_ENCODE(l_buffer));
           UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
           l_buffer := NULL;
           l_pos    := l_pos + l_amount;
        END LOOP;
         UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
         -- Close Email
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             '--' || 'BASE_DIR3.SECBOUND' || '--' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(v_connection_handle,
                             UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
         UTL_SMTP.CLOSE_DATA(v_connection_handle);
         UTL_SMTP.QUIT(v_connection_handle);
      EXCEPTION
        WHEN OTHERS THEN NULL;
        --return 1;
          UTL_SMTP.QUIT(v_connection_handle);
          RAISE;
      END;
    END;
    is there a mistake?

Maybe you are looking for

  • How do I convert a VOB file so I can use it in iMovie

    A family member converted our old super 8 movies to dvd. It has narration but I just want to pull clips from it to make an iMovie. Is there software available for Mac users. I have iLife, iWork and CS3 installed. I also have a few other programs on m

  • How to install Adobe Illustrator 7.0?

    Could you tell me please? I purchased one old Adobe Illustrator 7.0.  I tried to install it on Mac mini, but it did not.  I clicked to start the install, but one window cam out on moniter as follow: "You can't open the application "Install Adobe Illu

  • Microsoft Windows Network: The local device name is already in use.

    I posted in : http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/disconnected-network-drive-error-as-follows-an/9a877c38-5e86-4c34-84c2-427a965577c6?page=2 Error: "An error occurred while reconnecting drive letter to \\network serv

  • Adding background image to JTextPane??

    how to do that? thanks in advance....

  • IPad doesn't delete pics, previously sync with it from my pc

    Hi I want to remove a folder I synchronized with iPad from my pc Windows, but when I'm in Itunes and choose not to re-sync it, it doesn't remove it. Pictures are still there, even though I tried lot of times to remove it from iPad. Could someone help