Mail and Keychain Problem

I would like to refer to the problem of Mail asking multiple (50 plus) a day for the passwords for POP accounts. The question has been posted a couple of times here and a dozens of times in other forums. Nobody was able to give an answer. If nobody has an answer to a software problem, then it is normally called a bug.
The simple question to Apple: When will you fix this bug? It makes Mail basically unusable.
Regards

sorry to have not provided details, as everybody I know has this problem. and a couple of others-:)
-http://discussions.apple.com/thread.jspa?threadID=549320&tstart=150
-http://discussions.apple.com/thread.jspa?threadID=542171&tstart=270
-http://discussions.apple.com/thread.jspa?threadID=548118&tstart=285
they all relate to exactly the same problem and they have been asked in the last 4-5 days in this forum and no solution has been offered. The last time I looked for an answer was 4 weeks ago and the ratio of asked questions (this question) and no answers was the same. I have seen this question in all other Mac user forums and no solution has been offered there as well. This has let me to the hypothesis, that it is a bug.
ok the details:
I have 5 POP accounts on my mac and one .Mac account. The .Mac never has a problem, but the POP accounts ask for the password randomly, sometimes twice a minute. This must happen when Mail checks with the respective mail server for new messages. The problem has popped up half a year ago, I believe when Tiger got introduced. We are five people in our office and everybody has this problem, at work and at home and with 6 different providers.
Even if you check the box, "Save password in Keychain" it happens again. You can avoid this by closing Mail and just opening it when you check for new mail every couple of hours, or you can hit the button "Connect to Internet" in Mail. If you are lucky all the POP accounts get downloaded.
I have tried the Keychain fixes, everything that got posted as possible fixes. Nothing worked.
Help would be appreciated.
G4 17 inch Mac OS X (10.4.7)

Similar Messages

  • Mail and keychain problems when upgrading to SL

    I have tried twice to upgrade to SL from 10.4.11.
    Initially everything is smooth as glass, fast, no issues at all.
    After I open mail everything works fine. After closing mail; the next time I open it and try to get mail the little boxes asking for my password shows up on 3 of the 5 accounts.
    I add the password and I can get mail.
    However if I check the box to save the PW to the keychain, mail stops working. In the worst case I loose all my mail in the account where I asked for the PW to be saved.
    Needless to say I only did that once.
    I do NOT get the use mail 1st time message until I loose my mail. Then everything is gone
    I have tried to remove and re-add the offending accounts both in mail set-up and in thew keychain.
    " " " " " the mail.plist.
    " " " " " " " " to the desktop and re-placing it.
    I have talked to apple support and nobody has a clue. 1st time was Aug, '10, then again this weekend.
    Still the same problem.
    On the positive side Safari was working again, and Aperture "flew"
    So I really want to upgrade.
    The people I have talked to who have upgraded from 10.4.11 to SL do not seem to have had a problem.
    Everything works fine with Tiger, except Safari and Aperture is slow. Firefox is also slow, but Safari doesn't work anymore.
    Being a former techie (retired now) I have checked, DBL checked and tripple checked. Permissions are fine, althoug after the upgrade there were a couple that I fixed.
    I am back on Tiger, Good thing I backup frequently.
    Please can anyone assist?????
    I am going to try it again, but not until I get some productive feedback
    Thanks
    Hanne333

    Thank you for the total lack of help!!
    Next time someone asks::
    Go to keychain firstaid ( I am assuming you know how to get there ;-p
    and run it, then repair it
    Keychain now works

  • How do I use Migration Assistant to get my Mail and Keychain settings from

    How do I use Migration Assistant to get my Mail and Keychain settings from my Power Mac G5 2.3Ghz? I just purchased a new 2.5 MacBook Pro which will be delivered tomorrow, and I want to to know how to transfer Mail and Keychain?
    Thank You in advance for your reading and replying.
    Kindest Regards,
    Sebastian

    Rather than using Migration Assistant, which can cause trouble with the PPC to Intel change, simply boot the G5 in FireWire target disk mode and manually transfer the following:
    /Home/Library/Keychains (copy the whole folder)
    /Home/Library/Mail (copy the whole folder)
    /Home/Library/Preferences/com.apple.mail.plist
    You might want to look over Kappy's helpful guide for migrating, which covers the full process for a manual migration (including the above files).
    Hope this helps...

  • Mail and iPhoto Problems with sending photos.

    Mail and iPhoto Problems with sending photos.
    I have this problem that started a while ago and seems to be getting worse.
    Here are the different scenarios.
    -If I try to share a photo to email within iPhoto, it will insert the image file name in the mail message, but no image icon or opened image. In iPhoto Preferences under General I have chosen to use Email Photos using Mail.
    -If I choose to use iPhoto to send the photo, it will compose the message and the photo is viewable. If I send the message i can view the photo within the email I sent to myself. Nothing happens when I double click on the photo in the Mail message. Nothing happens when i control click on the photo in the mail message. Nothing happens when I try to drag the photo to the desktop from the mail message. When I try to save attachments from the email and choose a place to save it, the save button is grayed out and it cannot be saved. When I check the mail message it says there is an attachemnt but there is no file size listed.
    -If I use the stationary within Mail app I cannot drag a photo into the placeholder, I get a circle with a line through it symbol when I try. It happens if I try to drag a photo from the desktop or from the media browser within Mail app.
    -If I drag the photo to the desktop from iPhoto, I can double click it on the desktop and it will open in Preview.
    -If I then control click on the same photo on the desktop and scroll to share/email, the generic photo icon will be inserted in the mail message. If i double click the photo icon in the mail message  I get a message it can't be opened because it is empty.
    -If I drag that same image to the mail message body the same thing happens.
    -If I send that email to someone they cannot open the image file.
    What I can do:
    - I can drag that same image file on the desktop to my dropbox folder and  it will upload. From there I can go on my iPad and download the photo and send it through email just fine.
    -I can open the same image file on my desktop in Preview, I can copy and paste it into a mail message and the image will be viewable in the mail message by me and by the recipient.
    -I can drag that same image on the desktop to my safari browser window and it will be viewable in the page. i can then copy and paste that image into a mail message and it is viewable in the message.  I can then send that email message to myself and i can control click on the image and get all my options. It also shows as an attachment with the size of the image file in the mail message.
    I can send that message to someone and they can see the photo and open it fine.
    -If I send that same email to me I can see the photo within the mail.  If I then drag that photo to the desktop I cannot use it again to put in an email as the same problem happens again.
    I have tried all scenarios in my user account, another users account and in a guest account. The same happens in all. I am guessing because of this it is not a corrupt preference file, unless all of the preference files are corrupt. The guest user account I added a new email account so it was brand new and still had the problem.
    I am stumped, all and any help is appreciated.

    Another problem that may be related….
    I have Snapz Pro. I used to be able to save the snaps to my desktop or a folder. Now when I take a screenshot and try to save the file to my desktop or a folder on my desktop I get this message  "Files cannot be created in the selected location. You do not have permission to write to the selected location.   Please choose a different location."  I have found that i can only save the file to the clipboard.   I have repaired permissions many times and still I have this problem.

  • Simultaneous Mail and iCal problems - iCal shows old to-dos

    I was getting ready for my weekly backup, so I ran all the cleaning activities in OnyX. Then when I logged in after the restart, Quicksilver crashed on me 3 times in a row and acted as if I was installing it for the first time. I did not, however, have to completely reset Quicksilver. It did remember most of my settings.
    Once I dealt with Quicksilver, I launched SuperDuper for the back up. SuperDuper, however, asked me to register the software. I've had to re-enter license numbers for other products, so I didn't think much of it. I launched Mail to find the message with my registration info, and that's when I started freaking out.
    Mail and iCal launched simultaneously even though I clearly selected just Mail in Quicksilver. Mail displayed the welcome screen and asked me to set up a new account. iCal displayed about 30 alarms dating from early 2006 to today (9/22/2007). It also asked me if I wanted to changed the time zone setting in iCal to match the change on the computer. My calendars seemed in tact in iCal, but my to-do list is completely outdated. I now have old action items dating back to 8/2006.
    After several other trouble shooting steps detailed in another post (http://discussions.apple.com/thread.jspa?threadID=1145401), Mail opened up by itself (no iCal) and all my accounts and messages were there.
    iCal, however, still has all the old to-do items.
    Does anyone know or have any idea why this happened and how I can fix the to-do list?
    Thanks!

    No problem with Calendar but Mail keeps syncing with the server.  The activity window is full all the time - apparently re-syncing though no new mail is downloaded.  Rang in but they have no idea what's causing it and have sent diagnostic to engineers.  In 10.8, just a quick burst of activity when mail was checked for but now it's constant.  As a result, emptying the Deleted Items mailbox is very slow.  Am worried about the amount of bandwidth being eaten up.

  • Mail and Notes problems in Mavericks

    I've just installed Mavericks and I'm instantly having problems with Mail and Notes. To wit:
    1) Prior to the upgrade, I had dozens of messages flagged. Now, almost no messages show up as flagged.
    2) Some Smart Mailboxes now only display only a handful of messages, when before the upgrade some of those boxes contained dozens, if not hundreds of messages.
    3) Now that Notes has been separated from Mail (I skipped Mountain Lion altogether) I can't get my iCloud notes to sync to the new app.
    Any guesses or advice?
    Thank you,
    Jeff

    Hello Oskar98,
    Thank you for the details of the issue you are experiencing when importing video from your camera into iMovie.  I was not sure of the exact steps you took to import the video footage, and I wanted to provide the steps to confirm you are following all the steps.
    Try importing the footage from your camera by clicking on the link that refers to your camera type and following the steps in the related article:
    To create movies in iMovie, you must import (transfer) your video footage from your camera to your Mac. You can import from most types of cameras, including:
    iPad, iPhone, or iPod touch
    File-based cameras
    Tape-based cameras
    You can find additional information about importing at the following link:
    iMovie (2013): Importing overview
    http://support.apple.com/kb/PH14670
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • MAIL AND ICAL PROBLEM

    Hi , 
    I have a BBZ10 , and I have  a problem in sending e.mail and with the syncronization of the calendar with iCal of my MAC. 
    My smtp is configurated with the details of my domain , and the configuration is ok. 
    ICal is also configurated by following the instruciont found on this site. 
    In fact, after setting the mail account and the calendar everyting works good. 
    But at an certain point I have had a problme that is the mail the I send seem to be sent but the recipient of the mail do not receive it, seme thing with iCal, the event that i create do not appear any more on my MAC. 
    Thank you for your help 
    Bye 
    Dante

    Hey dantefav77,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    Do you get a red X or a specific error message when sending out emails?  Also what type of email account are you using on the BlackBerry Z10?
    How often do you lose the connection with iCal and sending?
    I look forward to your reply.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Mail and Leopard problem?

    Mail is not shutting down properly since upgrading to Leopard... I know others have this problem but I have not seen a credible way of resolving. Any ideas while the Jobs team is hopefully (!!) trying to resolve? Thanks, Floor.
    (while quitting Mail, window dissapears but Mail menu bars stays up and Mail is still active... need to use Force Quit to get it to go away).

    This forum is dedicated to the productivity application, AppleWorks. It is not a "catch-all" for how Apple computers work. For you I suggest the Mac OS X v10.5 Leopard > Mail and Address Book forum.

  • Mail and Kerberos problem

    Mail client: 10.7.4
    Mail server: 10.6.8
    Mail protocol: imap
    Authentication: Kerberos V5
    The problem: when I login on my client, a TGT is acquired normally, klist shows it, and if I launch Mail, mail get a imap service ticket and all works fine.
    When my TGT expires, I cannot get a new TGT otherwise than a kinit, which is unacceptable for my users. Before, whith Snow Leopard or Leopard mail client, if no TGT was present on client, mail poped up a specific kerberos dialog box to ask the password and then get a new TGT and imap service ticket. It is anyway the actual behavior with others services as AFP for example.
    I have try to create an user Launch Agent which make a kinit periodically, but when the Mac client get out of long sleep state, the TGT is expired and I have no way to launch my script at this moment.
    To reproduce the problem with no ticket at sequence start:
    foo-mac1:~ foo$ klist
    klist: krb5_cc_get_principal: No credentials cache file found
    foo-mac1:~ foo$ kinit  kinit [email protected]
    foo-mac1:~ foo$ klist
    Credentials cache: API:501:12
            Principal: [email protected]
      Issued           Expires          Principal
    Jul  5 10:41:50  Jul  5 20:41:50  krbtgt/[email protected]
    A this point, I launch Mail, a service ticket is created, my account is connected and well working.
    foo-mac1:~ foo$ klist
    Credentials cache: API:501:12
            Principal: foo@XSERVER1. MYDOMAIN.NET
      Issued           Expires          Principal
    Jul  5 10:41:50  Jul  5 20:41:50  krbtgt/XSERVER1. MYDOMAIN.NET@XSERVER1. MYDOMAIN.NET
    Jul  5 11:01:22  Jul  5 20:41:50  imap/xserver3.mydomain.net@XSERVER1. MYDOMAIN.NET
    I quit mail and delete my TGT.
    foo-mac1:~ foo$ kdestroy
    foo-mac1:~ foo$ klist
    klist: krb5_cc_get_principal: No credentials cache file found
    If I launch Mail, my account cannot connect and does not propose password dialog as precedent versions so I cannot re-create TGT and imap service ticket otherwise than kinit.
    moreover, Mail log a logic entry:
    03/07/12 17:04:52,838 Mail: GSSAPI Error:  Miscellaneous failure (see text (No credentials cache file found (negative cache))
    03/07/12 17:04:52,838 Mail: [<_LibSasl2SASLClient: 0x7f951dd4f080> mechanism: GSSAPI security layer: no] Failed to start the SASL connection
    SASL(-1): generic failure: GSSAPI Error:  Miscellaneous failure (see text (No credentials cache file found (negative cache))
    Do you have an idea to make Mail propose an user friendly dialog box when TGT expires or do you have an idea to launch a script when a Mac get out of sleep?

    No solution at this point. Now we are seeing the same problem trying to authenticate radius users. Extremely frustrating!
    /var/log/system.log:
    Sep 19 11:22:58 hostname /usr/sbin/PasswordService[54]: wrong-sized secret 32
    Sep 19 11:22:58 hostname /usr/sbin/PasswordService[54]: Unexpected State Reached in MS-CHAPv2 plugin
    Sep 19 11:24:05 hostname /usr/sbin/PasswordService[54]: wrong-sized secret 32
    Sep 19 11:24:05 hostname /usr/sbin/PasswordService[54]: Unexpected State Reached in MS-CHAPv2 plugin
    Sep 19 11:26:27 hostname /usr/sbin/PasswordService[54]: wrong-sized secret 32
    Sep 19 11:26:27 hostname /usr/sbin/PasswordService[54]: Unexpected State Reached in MS-CHAPv2 plugin
    /var/log/radius/radius.log:
    Fri Sep 19 14:21:56 2008 : Error: rlm_mschap: authentication failed -14090
    Fri Sep 19 14:28:31 2008 : Auth: rlm_opendirectory: Could not get the user's uuid.
    Fri Sep 19 14:28:31 2008 : Auth: rlm_opendirectory: Could not get the user's uuid.
    Fri Sep 19 14:28:31 2008 : Auth: rlm_opendirectory: Could not get the user's uuid.
    Fri Sep 19 14:28:48 2008 : Auth: rlm_opendirectory: Could not get the user's uuid.
    I'm wondering if it's trying to use the wrong auth mech at first. I see the user come in with a successful DIGEST-MD5 during the problem, then successful MS-CHAPv2 following the password reset. Resetting the user's password "fixes" the issue. Until it happens again at an unspecified time.

  • Mac Mail and Hotmail problem

    Hello,
    Sorry if this has been asked before but I have searched with no luck yet.
    I recently set up Mail to retrieve mail from my hotmail accounts.
    It worked fine for about 4 days then just stopped working. It will not connect to the hotmail server.
    I have tried all the suggestions I have seen during my search but nothing works.
    I deleted my accounts on Mac Mail and started again but now get the message that the server "pop3.live.com" is not responding during the setup.
    Why would this work for a few days then without any changes from me just stop working? Why does the server not respond now but did four days ago when I initially set it up without any problems.
    Any suggestions would be appreciated
    Regards.

    The same thing happened to me and probably to all other users of the httpmail plugin. I looked up on the Automagic Software website (creator of httpmail) and they mentioned that as of September 1st 2009, Microsoft has withdrawn support for HTTPmail protocol.
    If someone else has got it to work, please post here. Thanks.

  • Mail and Gmail problem (beginner in mac)

    Hello, I just moved from windows to mac. Right now I am having this problem:
    I seted up my gmail account in apple mail, i have never deleted an email in my gmail account (i have around 4k mails), and now when i sync the account, apple mail downloads all and every email to my mac from my gmail account.
    is there anyway to download only unread emails (update)? and after a day or two mail deletes old emails?
    i just followed mail's steps to set the g acct.
    thanks,

    I'm having the same problem, but before I follow this step, I just want to be clear:
    I want my NEW mails to be loaded with imap in Apple Mail, but I don't want the old messages (more than 18,000) to be downloaded. Are you saying that if I check "only messages I've read" that only the subject line of the emails will be automatically downloaded from the old mails, but not the contents of the emails themselves until I click on the mail?
    Problem is, I also work a lot 'offline' in airplanes, and I want to be able to work on my current emails so that when I'm back someplace where I'm 'online' all those messages can be sent. I do need to have the contents of my current emails (the ones I need to respond to), so will this work against me?
    Thanks in advance.

  • E-mail and Attachment Problem on web...

    hi guys,
    I developed a form in forms 6i for my client/server application. It was working well in c/s environment. I use to generate a PDF file and send the same file via attachment to the person by giving its e-mail address.
    But the same form is not working when i have deployed the form on web via forms9iAS.
    My code that use to send the e-mail and attachemnt was like this:
    Declare
    Outlook_Object OLE2.OBJ_TYPE;
    Mail_Object OLE2.OBJ_TYPE;
    Item1 OLE2.OBJ_TYPE;
    Item2 OLE2.OBJ_TYPE;
    OLEPARAM ole2.list_type;
    var_Send OLE2.OBJ_TYPE;
    var_Attach1 OLE2.OBJ_TYPE;
    var_Attach2 OLE2.OBJ_TYPE;
    plist ParamList;
    starting_date varchar2(10);
    ending_date varchar2(10) ;
    FileName varchar2(80);
    Lstarting_date varchar2(10);
    Get_Employee_ID varchar(200);
    Get_Where varchar(200);
    Mail_Subject varchar2(500);
    LcBody varchar2(2000);
    BEGIN
    -- Begining sending e-mail to Departmental Heads
    go_block('vBasc_inf');
    first_record;
         ---while :system.last_record = 'FALSE'
         loop
              if      :vBasc_inf.chkSend = 'Y' THEN
                   Plist := get_parameter_list ('Attendance');
                        if not Id_null(Plist) then
                             destroy_parameter_list(Plist);
                        end if ;
                        Plist := create_parameter_list('Attendance');
                        Starting_Date := To_char(:NonDatabase.txtStarting_date,'dd/mm/yyyy');
                        Ending_Date := To_char(:NonDatabase.txtending_date,'dd/mm/yyyy');
                   LStarting_date := to_char(:NonDatabase.txtStarting_date,'yyyy-mm-dd');
                   --FileName := 'c:\bss\attendance\'
                   -- || substr(:vBasc_inf.txtbranch,1,1) ||'-'
                   -- || Rtrim(substr(:vBasc_inf.txtDepartment,1,3)) || '-'
                   -- || LStarting_date || '.pdf';
                   FileName := 'c:\bss\attendance\'
                   || :vBasc_inf.Employee_id ||'-'
                   || LStarting_date || '.pdf';
                        mail_subject := 'Attendance Sheet ' || To_char(:NonDatabase.txtStarting_date,'dd-Mon-yy') || ' to ' || To_char(:NonDatabase.txtending_date,'dd-Mon-yy') || ' (' || :vBasc_inf.department_id || ')' ;
    --                    host('Del ' || filename ,NO_SCREEN );
                        --Add_parameter(plist,'PBranch_id',text_parameter,:vBasc_inf.branch_id);
                        --Add_parameter(plist,'pdepartment_id',text_parameter,:vBasc_inf.Department_ID);
                        Add_parameter(plist,'pstarting_date',text_parameter,Starting_date);
                        Add_parameter(plist,'pending_date',text_parameter,Ending_date);
                        Add_parameter(plist,'PEmployee_id',text_parameter, :vBasc_inf.employee_id);
                        Add_parameter(plist,'PARAMFORM',text_parameter,'NO');
                        Add_parameter(plist,'DESNAME',text_parameter,FileName);
                        Add_Parameter(plist,'DESTYPE',TEXT_PARAMETER,'FILE');
                        Add_Parameter(plist,'DESFORMAT',TEXT_PARAMETER,'PDF');
                        run_product(reports,'EmployeeWise_AttendanceSheet',synchronous,batch,filesystem,plist,screen);
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'BUSY');
                        Outlook_Object := OLE2.CREATE_OBJ('Outlook.Application');
    ---               OLE2.Set_Property(Outlook_Object,'UserName', 'Daily Attendance');
    ---               message ('Yes');
    ---               message ('Yes');
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,'MAPI');
                        Mail_Object := OLE2.INVOKE_OBJ(Outlook_Object,'GetNameSpace',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        --newMail
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,0);
                        Item1 := OLE2.INVOKE_OBJ(Outlook_Object,'CreateItem',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        -- If you want to display outlook new message screen
    --               Item2 := OLE2.INVOKE_OBJ(Item1,'Display');
              ole2.set_property(Item1,'To',:vBasc_inf.e_mail);
              ---ole2.set_property(Item1,'To','[email protected]');
                        ole2.set_property(Item1,'Subject',Mail_Subject );
                        LcBody := :vbasc_inf.emp_name||','|| chr(13) ||chr(13) || :nondatabase.txtmessage ;
                        ole2.set_property(Item1,'Body',LcBody );
                        --ole2.set_property(Item1,'Body','This is First mail of Attendance Sheet');
                        var_Attach1 := OLE2.GET_OBJ_PROPERTY(Item1,'Attachments');
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,FileName);
                        var_Attach2 := OLE2.INVOKE_OBJ(var_Attach1,'add',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        var_Send := OLE2.INVOKE_OBJ(Item1,'Send');
              end if ;
              :vBasc_inf.chksend := 'N';
         IF :system.last_record = 'TRUE' THEN
                   set_item_property('vBasc_inf.CMDCHECKALL', label, 'Check All');
              EXIT ;
         END IF ;
              next_record;
              end loop ;     
              OLE2.RELEASE_OBJ( Item1);
              OLE2.RELEASE_OBJ( Mail_Object );
              OLE2.RELEASE_OBJ( Outlook_Object );
              SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');
              first_record;
              Message('Mail sent seccessfully.........');
              Message('Mail sent seccessfully.........');
    -- Ending sending e-amil to Departmental Heads     
    END;
    BUT now on web its giving me the following error:
    REP-0081: Error during the IO operations.
    REP-0110: Unable to open file 'C:\bss\attendance\14210-01/01/2005.PDF'.
    scaba 14
    What changes i have to made to this form to run well on web?
    Or is there any other way to send mails and attachment in forms 6i for web using oracle9iAS?
    Pliz help.
    Imran Baig

    I have changed my Code from run product to :
    Declare
    Outlook_Object OLE2.OBJ_TYPE;
    Mail_Object OLE2.OBJ_TYPE;
    Item1 OLE2.OBJ_TYPE;
    Item2 OLE2.OBJ_TYPE;
    OLEPARAM ole2.list_type;
    var_Send OLE2.OBJ_TYPE;
    var_Attach1 OLE2.OBJ_TYPE;
    var_Attach2 OLE2.OBJ_TYPE;
    plist ParamList;
    starting_date varchar2(10);
    ending_date varchar2(10) ;
         FileName varchar2(80);
    Lstarting_date varchar2(10);
    ln_emp_id number(8);
    lc_email varchar2(100);
    Get_Employee_ID varchar(200);
    Get_Where varchar(200);
    Mail_Subject varchar2(500);
    LcBody varchar2(2000);
    lc_msg_txt VARCHAR2(2000);
         lc_slc_stmt VARCHAR2(4000);
         lc_slc_stmt2 VARCHAR2(4000);
         lc_Slct_Smry VARCHAR2(4000);
         lpl_para_id PARAMLIST;
    lc_alert_btn NUMBER;
    LC_RP_HD          VARCHAR2(4000);
    LC_RP_HD2 VARCHAR2(4000);
    Lc_Rp_Order VARCHAR2(4000);
    web_message varchar2(4000);
    cursor C1 is
    select emp_employees.employee_id, emp_emp_info.e_mail
         from emp_employees, emp_emp_info
         where emp_employees.employee_id = emp_emp_info.employee_id
         and emp_emp_info.e_mail is not null
         and emp_employees.employee_id between :emp_date_blk.from_id and :emp_date_blk.to_id
         and emp_employees.employee_id = 14210
         order by emp_employees.employee_id;
    BEGIN
         OPEN C1;
         IF C1%ISOPEN THEN
              LOOP
                   FETCH C1 INTO ln_emp_id, lc_email;
                   EXIT WHEN C1%NOTFOUND;
                        Plist := get_parameter_list ('email_sal_slip');
                             if not Id_null(Plist) then
                                  destroy_parameter_list(Plist);
                             end if ;
                        Plist := create_parameter_list('email_sal_slip');          
                        FileName := 'c:\'
                   || ln_emp_id || '.pdf';
                   mail_subject := 'Salary slip for the month of ' || To_char(:emp_date_blk.from_date,'Month-yyyy') ;
                   lc_slc_stmt := User_Selection(lc_msg_txt, lc_slct_smry,lc_Rp_Hd,lc_Rp_Hd2,lc_Rp_Order);
                   lc_slc_stmt := 'P_where=' || '"' || lc_slc_stmt || '"';
                   lc_Rp_Hd := ' Rp_Heading=' || '"' || lc_Rp_Hd || '"';
                        lc_Rp_Hd2 := ' Rp_Heading2=' || '"' || lc_Rp_Hd2 || '"';
                        lc_Rp_Order := ' P_Order_BY=' || '"' || lc_Rp_Order || '"';
                        Add_parameter(plist,'PARAMFORM',text_parameter,'NO');
                        Add_parameter(plist,'DESNAME',text_parameter,FileName);
                        Add_Parameter(plist,'DESTYPE',TEXT_PARAMETER,'FILE');
                        Add_Parameter(plist,'DESFORMAT',TEXT_PARAMETER,'PDF');
                        --run_product(reports,'EmployeeWise_AttendanceSheet',synchronous,batch,filesystem,plist,screen);
                        Execute_Report('EMP_SAL_SLIP', 'EMP_SAL_SLIP.rdf', 'EMP_SAL_SLIP.PDF', 'PDF', 'BSSRepSrvA', 'ora-test-app', lc_slc_stmt2, web_message);
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'BUSY');
                        Outlook_Object := OLE2.CREATE_OBJ('Outlook.Application');
    ---               OLE2.Set_Property(Outlook_Object,'UserName', 'Daily Attendance');
    ---               message ('Yes');
    ---               message ('Yes');
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,'MAPI');
                        Mail_Object := OLE2.INVOKE_OBJ(Outlook_Object,'GetNameSpace',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        --newMail
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,0);
                        Item1 := OLE2.INVOKE_OBJ(Outlook_Object,'CreateItem',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        -- If you want to display outlook new message screen
    --               Item2 := OLE2.INVOKE_OBJ(Item1,'Display');
              ole2.set_property(Item1,'To',lc_email);
              ---ole2.set_property(Item1,'To','[email protected]');
                        ole2.set_property(Item1,'Subject',Mail_Subject );
                        ole2.set_property(Item1,'Body',LcBody );
                        --ole2.set_property(Item1,'Body','This is First mail of Attendance Sheet');
                        var_Attach1 := OLE2.GET_OBJ_PROPERTY(Item1,'Attachments');
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,FileName);
                        var_Attach2 := OLE2.INVOKE_OBJ(var_Attach1,'add',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        var_Send := OLE2.INVOKE_OBJ(Item1,'Send');
              END LOOP;
         CLOSE C1;
         OLE2.RELEASE_OBJ( Item1);
              OLE2.RELEASE_OBJ( Mail_Object );
              OLE2.RELEASE_OBJ( Outlook_Object );
              SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');
              Message('Mail sent seccessfully.........');
              Message('Mail sent seccessfully.........');
         END IF;
    END;
    Have used d2kwutility to execute my report. i have also instaled outlook on my application server.
    Now when i try to run my report and send e-mail it gives the following error.
    ORA-305500
    What is this error about and how to resolve it?
    Imran

  • Mail and safari problem

    Hi All busy week for the boards.
    Has anyone come across this one? Was trying the Mail contents of page ideas for creating custom
    mail and have found safari saying
    "Safari couldn’t create an email message because it couldn’t locate an email application.""You can use the Mail application included with Mac OS X to send webpages. To do so, you need to install Mail using the Mac OS X installation CDs."
    I have done the install of 10.5 which went smooth, then tried a seperate install of both mail and safari from the 10.5 disk but still nothing.
    Any ideas you gurus?

    B, Genius, that did the trick. It was down as default but just selected it again and bingo, the warning
    from safari went away, Had to restart mail though to make it all work but work it did.
    Thnx so much, that one had me, It's guys like you on the boards that help make mac great
    not just the genius of elJobso.

  • I've installed Mavericks on my Macbook Air and it keeps asking me to log in - not a mail or keychain problem - actual OS log in.

    I've installed Mavericks on my Macbook Air. Every twenty minutes or so I get the log in screen and have to type in my computer password again.
    I don't think this is a keychain or mail problem - just the computer login.

    Try this.
    https://support.apple.com/kb/TS5362
    Best.

  • Mail update & keychain problems

    Since installing a large security update yesterday on my MacBook Pro, I have not been able to use Mail. I keep getting the following message:
    "Mail has been updated. Do you want to allow the new version to access the same keychain items (such as passwords) as the previous version?"
    The options are Don't Change or Change All. When I click "Change All," the dialog box stays on screen for a very long time, ca. 10 minutes. Then it pops up AGAIN. Eventually I just give up as it seems the program is not responding.
    By the way, in the past I used to get these messages regarding "SyndicationAgent.app". The same problem--the computer being nearly frozen for 10-15 minutes--also occurred, although it would eventually get past it. Fortunately those messages have stopped.
    Any help regarding this would be greatly appreciated! It's driving me bananas!!
    thanks,
    Mark

    For those who are put off by the above website here is what was done to 'Fix KeyChain constantly asking for permission to update as your software has been upgraded" (this occurred after Security Update 2009-004 for 10.4 Intel, could not get mail without that blasted box constantly showing up)
    In order to fix this problem if you are having it, just open the Terminal (/Applications/Utilities/Terminal) and type:
    sudo mv /var/db/CodeEquivalenceDatabase /var/db/CodeEquivalenceDatabase.old
    Hit return, it will ask you if you are serious, if so enter password, well swallow hard and do it; then re-boot; on re-signing in it asks you for 'Keychain permission to update (in my case Airport) as it has been upgraded, cruse the stars and hit yes, everything will work! Going to Safari in my case asked for permission, and I gave it and it works fine, same thing for each account in Mail; once okayed it works fine and doesn't keep asking for Keychain permission for more than once!

Maybe you are looking for

  • Photoshop won't open photos from Mac photo app

    I'm just trying to open some of my photos into photoshop to do some editing. When I click "open" then try to go to the photos which are in the Apple Photo app, photoshop doesn't recognize them. That's the only location the photos are in. Someone help

  • Second Update - I'm unable to restore previous session as I do not have the option on homepae or history menu

    Closed as duplicate. Please continue with the original question [/questions/992628] ~J99 Dear Sir/Madam, I do hope you are able to assist me - I lodged a query earlier on today and got a response (I've put it below) really quickly and was much apprec

  • Did anyone manage to read DLT with Ratoc FR1SX?

    Hi guys. This week I got the Ratoc Firewire to SCSI adapter and hooked up my DLT4000 machine. DVD SP (and every other relavant application I tried) worked perfectly to write the tapes with this adapter. Even dual layer projects, with the historically

  • My iphone 5 makes crackling sounds when calling using headset

    when using headset to make phone calls or facetime, after a few mins or so crackling sounds can be heard from both sides of the call, ive tried various headsets and the same issue occurs, also tried a new sim card. this problem only occurs when using

  • How to catch an error in APEX 4.2

    Hi, I have 2 regions The 2. Region is to be displayed only if there is a special request built by column ID is not null and there was no error caught from validation in the region before (= Region 1) How can I cath the error and make a condition for