Set flags in a pop3 provider

I am using a pop3 provider which doesn't support any permanent flags. But I want to know what are the new messages. How do I do it?

I am using a pop3 provider which doesn't support any
permanent flags. But I want to know what are the new
messages. How do I do it?i don't think there is any flag in POP3
personally, I would store the date of the last interrogation, and I would erase the messages after each interrogation (what is frequent whith POP).

Similar Messages

  • Javamail - no pop3 provider

    Hello,
    i have a problem with the javamail-1.3.1 API within the Oracle 9i (9.2.0.3) on Linux.
    I would like to retrieve a POP3 account and process the incoming mails within a Java Stored Procedure.
    I uploaded the javamail classes (imap.jar, mailapi.jar, pop3.jar, smtp.jar and the acivation.jar) into my account with the loadjava tool ( -resolve). When i try now to connect to a pop3 account, i get the error:
    javax.mail.NoSuchProviderException: No provider for pop3
    On the terminal my function works properly, so i list the available javamail providers and notice that on the oracle 9i the pop3 provider is missing.
    my sourcecode fragment:
    Properties props = System.getProperties();
    Session session = Session.getDefaultInstance(props, null);
    Provider[] providers = session.getProviders();
    for (int z = 0; z < providers.length; z++)
    System.out.println (providers[z]);
    store = session.getStore("pop3"); // within the Oracle, i get here the above error
    terminal - provider list:
    javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stems, Inc]
    Oracle 9i - provider list:
    javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
    Microsystems, Inc]
    Where is my pop3 provider and how can register my pop3 mail provider within the oracle 9i ?
    best regards
    Adam Caban

    Good job coming up with the workaround, verpixelt! I guess it seems that Apple's philosophy is to make it 'even that much easier' to setup an email account on the iphone in iOS5, however, my legacy email account is not IMAP, and yet it tried to create an IMAP account, which wreaked havoc on my ability to use my email account on my iphone. Your solution of setting up the account with the wrong password gave me the ability to make the IMAP/POP choice which then allowed my email account to function normally on my iPhone 4S. Thanks. 
    Apple, - please put the IMAP/POP selection option back in for email account setup on the iPhone. Thank you.

  • Parameter field still editable after setting flag 'PropFlags​_NotEditab​le'?

    Hi,
    Parameter field still editable after setting flag ‘PropFlags_NotEditable’?
    I have defined a step type with a string parameter. (MyParameter). This parameter field has to contain custom generated data, stuffed from a code module.
    I want to have ‘MyParameter’ read only for all instances of the step in my sequence.
    I have set the property flag ‘PropFlags_NotEditable’ for ‘MyParameter’ in my step type definition, because I want to have this parameter read only in all instances.
    When I try to edit ‘MyParameter’ field in an instance of the step in the sequence in the variable pane ‘Step’ - ‘MyParameter’, it still works?
    What is wrong here, I suppose this should work?
    Best regards

    1) Make sure you have show hidden properties turned on in the station options, preferences tab.
    2) In your step type expand the variables to the place where the expression is stored for the parameter argument. In the .NET adapter this would be something like the following:TS.SData.Call.Params[0].ArgVal. Right-click on ArgVal and select the Properties menu item.
    3)  Click on the advanced button and select flags.
    4) When the edit flags dialog pops up, click on the Type Flags button.
    5) Check the PropFlags_NotEditable flag for the Instance Default Flags section. Click OK on this dialog.
    6)  If you want the change to effect currently open instances I think checking the "Reset Flags... " checkbox on the edit flags dialog will do this, otherwise this change will only effect new instances of your step type. Press ok on the remaining dialogs.
    7) New instances will now not allow editing that value. NOTE: This only works for the sequence editor module panel though. It does not work for the dialog version used by the user-interfaces.
    One thing I want to make sure you are aware of for step types is that using a default code module like this has drawbacks versus using postsubsteps. Setting the default code module doesn't keep the user from changing the specification after they insert the step, also updating existing steps if you want to change the prototype is more problematic. You might be better off with a design more like the step types that ship with teststand like the message popup step type (which also ship with source code so you can see how they are implemented) which instead use post-substeps and edit-substeps and instead designate the none adapter for the step type so that the step type can never have a code module. What they do instead is their edit substeps display a dialog that gets the settings/parameters to the operation that the step type performs and stores those as subproperties of the step. Then at runtime the post-substep gets this information and executes the necessary code. Unlike the default code module setting, changing the substeps in a step type automatically effects all existing instances of the step. Changing the code module only effects new instances, and loaded instances if you check the checkbox for that.
    Hope this helps,
    -Doug
    Message Edited by dug9000 on 04-16-2010 09:58 AM

  • Programati​cally set flags in a DIAdem View

    Is there a command to set flags for a 2D axis system in a view? I would like to automate the process of setting flags for a curve, copying the points, and creating a report with a graph of the copied data and a table of that data. I can do the report I just need to be able to set the flags prgramatically once the users sets the band cursors where he/she wants.
    Thanks,
    AJL

    Hi AJL,
    Currently it is not possible to set VIEW flags via script. But, if your customer has selected the band width you know all necessary parameters.
    View.ActiveSheet.Cursor.X1
    View.ActiveSheet.Cursor.X2
    With pno you can determine the row in a data channel with contents closest to a given value. Example:
    iRowStart = pno(NameOfXChannel, View.ActiveSheet.Cursor.X1)
    iRowStop = pno(NameOfXChannel, View.ActiveSheet.Cursor.X2)
    Then you can use DataBlCopy to copy the selected area.
    Greetings
    Walter

  • Wht is  ALV setting/flag to deletes the preceeding zeros in doc #s,?

    Hi Experts,
    am displaying doc #s in my_alv, so the zeros r coming as prefix........i wanna to truncate zeros......so, can use FM conversion exit..........but, pls. let me know that,
    Is there any  ALV functionality in SAP, which deletes the preceeding zeros in Sales doc, delivery doc #s?
    (Wht is  ALV setting/flag to deletes the preceeding zeros in doc #s,?)
    thanq
    Edited by: Srinivas on Feb 8, 2008 4:40 PM

    While defining field catalougue , define it as
      fieldcat_ln-no_zero  = 'X'.
    preceeding zeros of documents nos will not be displayed in ALV list.
    anya

  • IMAP setting flags for DSN message problem

    Hi,
    I have a question about processing DSN flags using Java Mail.
    We are trying to set SEEN and FLAGGED flags also for DSN messages (for any other messages it is working perfectly fine).
    The problem is that no flags are set, no IMAP commands are issued.
    For any 'normal' messages the IMAP command is issued (for example: A27 STORE 13 +FLAGS (\Seen)).
    We are using Exchange Server 2007 with IMAP support enabled on the mailbox.
    The strange thing is that i can manualy set SEEN and FLAGGED flags from Outlook on this DSN message and then print flags for this message from Java Mail.
    Is there any standard for FLAG processing for DSN messages? Is this a problem in Java Mail / Exchange or some limitation? As I believe DSN in also a javax.mail.Message from the implementation point of view...
    Regards

    Hi Bill,
    This was a good point, about calling setFlags method on the wrong message.
    The problem is because, we are dealing with Exchange bug described here:
    BODYSTRUCTURE with "multipart" "signed" not parsing
    and using workaround described here:
    http://www.oracle.com/technetwork/java/faq-135477.html#imapserverbug
    However, we were setting flags on message created using following code
    SharedByteArrayInputStream bis =  new SharedByteArrayInputStream(bos.toByteArray());
    MimeMessage cmsg = new MimeMessage(session, bis);not on original message from the mailbox.
    Regards

  • Where do we set flag -D... for embedded and standalone oc4j?

    hi,
    I want to set flag -Doc4j.formauth.redirect=true in embedded and standalone oc4j. Where should I add this definition for both environments?

    Hi,
    stand-alone its
    java -jar -Doc4j.formauth.redirect=true oc4j.jar
    in embedded OC4J,
    double click the project node in JDeveloper and select the Run/Debug option. Then press edit on the "Default" configuration and add -Doc4j.formauth.redirect=true to the "Java Options" field
    Frank

  • IMAP/POP3 provider for JMS

    I've searched through the net, but yet unsuccessfully. The question was: is there any IMAP/POP3 provider for JMS available? Or there are only MOM-oriented solutions?
    Thanks in advance!

    Check out SwiftMQ. It provides a JavaMail bridge for in/outbound bridges JMS/JavaMail and vice versa:
    http://www.swiftmq.com/products/extension/javamail/index.html
    -- Andreas

  • How to set flag to Flags.Flag.DELETED if POP3 doesn't support flags?

    Hi,
    I'm having problems setting message states. Could someone help me please?
    According to http://www.inf.fu-berlin.de/lehre/SS01/swp/A-D/JavaMail/docs/sundocs/com/sun/mail/pop3/POP3Folder.html, POP3 protocol doesn't support any permanent flags. If this is true, that would mean that I can't do a message.setFlag(Flags.Flag.DELETED,true) to messages that I have retrieved.
    Nor would I be able to check if a message is SEEN, ANSWERED, DRAFT, FLAGGED, RECENT or any USER states either. How do I go about this? I need to retrieve the messages and then set them to DELETED.
    Cheers,
    Callista

    I have tried the IMAP and its is working fine, and it is working fine.
    Also I have set the DELETED flag and make a close for folder then session and it is also working without calling the Expunge
    for (int i = 0; i < messages.length; i++)
         if (!messages.isSet(Flags.Flag.SEEN))
         messages[i].setFlag(Flags.Flag.DELETED, true);
    folder.close(true);
    store.close();

  • Set Flag Automatically in Transaction BP

    Hello,
    We are in SRM 4.0 , classic scenario.
    We have a requirement to create a LSMW to set a flag "Central Block" under status tab for selected Business Partner.
    We tried this requirement using LSMW, Recordings. But it does not work.
    Do we have any BAPI or IDocs to process this sort requirements?
    Regards,
    Chary

    Hi Muthu,
    Thanks for your reply.
    I would like to set the flag directly in SRM. I am trying to do the same.
    Could you please provide the other method in ecc as well, so that I can try whether it suits our requirement.
    Thanks in Advance.
    Regards,
    Chary

  • Setting flag delivery complete on purchase order with a report

    Hello!
    In our system we have many old purchase orders without delivery complete flag. Now it is very difficult to get a correct report with open deliveries. Now we should set the flag delivery complete on each old PO and his needs a lot of time and also we create every time a change message which is printed on different printers.
    Is there any chance to set this flag by a report whitout setting this flag hard on the database?
    Best regards
    Markus

    Hi,
    You can change directly the Po with the BAPI, and the system will make all necessary test to make sure the ELIKZ can be updated.
    if it can not, it will not be changed.
    Please take into account that when you change the field DELIV_COMPL(see structure BAPIMEPOITEM), this field is changing the "Outward delivery completed" indicator (EGLKZ in DB-Table EKPO). If you want to change the "Delivery completed" indicator
    (ELIKZ in DB-Table EKPO), please use field NO_MORE_GR for this purpose.
    Additionaly, please read note 582221(Q 29) for your referrence.
    Best Regards,
    Arminda Jack

  • Setting flag account assignment element in PS within BADI doesn't work

    Hello,
    I would like to set the flag for account assignement element and billing element in PS depending on some fields of cProjects. Hint 993642 says that can be done in GCC_PS_PROJECT_LABEL. Unfortunately I don't know how to pass some parameters from cProjects to the relevant method.
    For transfering the standard fields I am using (thanks to Matthias) the BADI DPR_FIN_GECCO_ATTR.
    There are several blocks with fields I set. Each block looks similar to (except the field and the value)    
    ls_attribute-data_element     = space.
          ls_attribute-value            = space.
          ls_attribute-field_name_orext = 'WBS_ACCOUNT_ASSIGNMENT_ELEMENT'.
          ls_attribute-fldname_receiver = space.
          ls_attribute-struc_name_copa  = space.
          ls_attribute-field_name_copa  = space.
          ls_attribute-ext_attr_name    = space.
          ls_attribute-ext_attr_value   = space.
          INSERT ls_attribute INTO TABLE ct_attributes.
    In the default method the WBS_ACCOUNT_ASSIGNMENT_ELEMENT and WBS_BILLING_ELEMENT are overridden constant to 'X' like hint 993642 describes. But at least I have no glue how to pass my relevant parameters to the method to be able to set the values in my own implementation of this method.
    So, does someone knows how to pass values to this method?
    Thx,
      Vanessa
    Edited by: Vanessa Martinez on Oct 28, 2008 9:23 AM

    Hi Vanessa,
    I tested the proposal I told you today, and when I came into debug mode in BADI F_EX_GCC_PS_PROJECT_LABEL~GET_WBS_ELEMENT, here is what I obtain in structure ATTRIBUTES_OF_EXT_OBJ.
    Line  | Data_element |    value       |        field_name_orext
    1        |                     |    TEST      |         USER_FIELD_CHAR20_1
    2        |                     |    TEST2    |         USER_FIELD_CHAR20_2
    3        |                     |    TEST3    |         USER_FIELD_CHAR10_1
    4        |                     |    TEST4    |         USER_FIELD_CHAR10_2
    So if you build an enhancement at the end of the method (don't hesitate to copy standard code if it helps), you should be able to retrieve your values, and set the flags as wanted.
    read table ATTRIBUTES_OF_EXT_OBJ
    into ls_attribute
    with key field_name_orext = 'USER_FIELD_CHAR10_2' (actually the name you set on cProjects side, so you might be able to do it as well for WBS_ACCOUNT_ASSIGNMENT).
    Matthias
    Edited by: Matthias BRISSEAU on Oct 28, 2008 2:21 PM

  • Set flag for a set of records

    Hi
    I have a table that stores requests raised by employees as below
    name Request_ID date status
    ABC 112 05-Dec-11 rejected
    ABC 786 06-Dec-11 approved
    ABC 987 07-Dec-11 rejected
    ABC 119 08-Dec-11 approved
    MNP 221 09-Nov-11 rejected
    MNP 666 10-Nov-11 approved
    MNP 221 11-Nov-11 rejected
    MNP 999 12-Nov-11 approved
    RST 99 23-Dec-11 rejected
    RST 101 24-Dec-11 approved
    RST 876 25-Dec-11 rejected
    RST 127 26-Dec-11 approved
    I need to check the status of the latest request of each employee and set the flag of all his requests as -
    ‘A’ if the latest request status is ‘approved’
    ‘B’ if the latest request status is ‘rejected’
    The resultset should be something like -
    name Request_ID date status Flag
    ABC 112 05-Dec-11 rejected A
    ABC 786 06-Dec-11 approved A
    ABC 987 07-Dec-11 rejected A
    ABC 119 08-Dec-11 approved A
    MNP 221 09-Nov-11 rejected B
    MNP 666 10-Nov-11 approved B
    MNP 221 11-Nov-11 approved B
    MNP 999 12-Nov-11 rejected B
    RST 99 23-Dec-11 approved A
    RST 101 24-Dec-11 approved A
    RST 876 25-Dec-11 rejected A
    RST 127 26-Dec-11 approved A
    Could you please help me in framing this SQL. Use of any analytical function would be helpful
    Regards
    -pankaj

    Hi, Pankaj,
    Welcome to the forum!
    910543 wrote:
    Hi
    I have a table that stores requests raised by employees as belowWhenever you have a problem, please post CREATE TABLE and INSERT statements for your sample data, so that the people who want to help you can re-create the probelm accurately and test their ideas. since this is your first message, I'll do it for you:
    CREATE TABLE     table_x
    (     name           VARCHAR2 (5)
    ,     request_id     NUMBER
    ,     dt          DATE          -- DATE is not a good column name
    ,     status          VARCHAR2 (10)
    ,     CONSTRAINT  x_uk     UNIQUE (name, dt)
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('ABC', 112, TO_DATE ('05-Dec-2011', 'DD-Mon-YYYY'), 'rejected');
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('ABC', 786, TO_DATE ('06-Dec-2011', 'DD-Mon-YYYY'), 'approved');
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('ABC', 987, TO_DATE ('07-Dec-2011', 'DD-Mon-YYYY'), 'rejected');
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('ABC', 119, TO_DATE ('08-Dec-2011', 'DD-Mon-YYYY'), 'approved');
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('MNP', 221, TO_DATE ('09-Nov-2011', 'DD-Mon-YYYY'), 'rejected');
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('MNP', 666, TO_DATE ('10-Nov-2011', 'DD-Mon-YYYY'), 'approved');
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('MNP', 221, TO_DATE ('11-Nov-2011', 'DD-Mon-YYYY'), 'rejected');
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('MNP', 999, TO_DATE ('12-Nov-2011', 'DD-Mon-YYYY'), 'approved');
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('RST',  99, TO_DATE ('23-Dec-2011', 'DD-Mon-YYYY'), 'rejected');
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('RST', 101, TO_DATE ('24-Dec-2011', 'DD-Mon-YYYY'), 'approved');
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('RST', 876, TO_DATE ('25-Dec-2011', 'DD-Mon-YYYY'), 'rejected');
    INSERT INTO table_x (name, request_id, dt, status) VALUES ('RST', 127, TO_DATE ('26-Dec-2011', 'DD-Mon-YYYY'), 'approved');
    COMMIT; name Request_ID date status ...If those are all the columns in the table, and you want to display a flag column, you can do something like this:
    SELECT     name
    ,     request_id
    ,     dt
    ,     status
    ,     CASE  FIRST_VALUE (status) OVER ( PARTITION BY  name
                               ORDER BY     dt     DESC
              WHEN  'approved'     THEN  'A'
              WHEN  'rejected'     THEN  'B'
         END          AS flag
    FROM     table_x
    ;If the table has a flag column, and you need to populate it, you can use the query above in a MERGE statement. (You may be better off not actually storing the flag, however, if it's hard to keep up to date.)
    MNP 221 09-Nov-11 rejected
    MNP 666 10-Nov-11 approved
    MNP 221 11-Nov-11 rejected
    MNP 999 12-Nov-11 approved ...
    I need to check the status of the latest request of each employee and set the flag of all his requests as -
    ‘A’ if the latest request status is ‘approved’
    ‘B’ if the latest request status is ‘rejected’
    The resultset should be something like -
    name Request_ID date status Flag
    MNP 221 09-Nov-11 rejected B
    MNP 666 10-Nov-11 approved B
    MNP 221 11-Nov-11 approved B
    MNP 999 12-Nov-11 rejected BIn the original data, the status for the row with request_id=999 was 'approved'. Is there a typo somewhere?
    Edited by: Frank Kulash on Jan 26, 2012 10:57 PM

  • Setting Like in High Trust Provider-Hosted App

    We are trying to set Like from our App Part in High Trust Provider-Hosted App and it is failing with the following error:
    Call: Microsoft.Office.Server.ReputationModel.Reputation.SetLike(clientrContext, ListId.ToString(), 1, true);
    Error: {"The assembly Microsoft.SharePoint.Portal.Proxy, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c does not support app authentication."}
    Anyone has experience with those? Any workarounds? Appreciate any help.
    Paul Shkurikhin blog.sharepointalist.com

    If you are doing a provider hosted app you must call back into the SharePoint server using CSOM. Microsoft.Office.Server.ReputationModel.Reputation exists in both
    Microsoft.Office.Server.UserProfiles.dll  and Microsoft.SharePoint.Client.UserProfiles.
    Make sure your application is only referencing Microsoft.SharePoint.Client.UserProfiles.
    Blog |SharePoint Field Notes Dev Tool |
    SPFastDeploy

  • Unable to set flags independently in Compare View in LR3

    When I select a specific image in the compare view (LR3) and tag it as "Rejected" (hitting "x"). both images up for compare are being flagged as rejected. both the good and bad. Maybe my memory is not serving me correctly, but I thougt that in the prior versions of LR you could flag each image independently in the Compare view, that is flag one as "Rejected" and the other as a "Pick" ("p"). Now I am having to look at the images in Compare on one monitor and go over to my second one that is showing the Library and select the images to be rejected and hit "x" and then select the one that is a keeper and click "p". This seems to be rather counterintuitive and cumbersome. It seems a natural expectation to want to compare images side by side and then flag the one you want to keep and flag then independently flag the ones that are not keepers. Is what I am experiencing normal? Thanks in advance for any help.

    Yes, it makes sense.  LR thinks that the Grid is on the primary monitor, which is why both images get flagged when you hit "p".
    rgphotoman wrote:
    John, I have some further input after doing some additional testing. Apparently, the inability to perform independent flagging in a Compare View somehow ties to the other monitor being set to Grid View. What I did was set one monitor to the Grid View and the other to Compare view for two images and then went to that view, selected one of the images, and then I hit the "p" key to flag the image. As expected both were flagged. Then I hit "u" to unflag them and went to the Grid view and changed it to Compare as well (i.e. both monitors were showing that view). Then I went to the other monitor that I was originally doing the compare and hit "p" and voila only one image flagged. I was then able to flag the other as Rejected as well. I then went to the other monitor and changed the view back to Grid and checked the results and indeed both images were properly marked. So it appears that this issue somehow relates to having the Grid view active. Does what I did make sense?

Maybe you are looking for

  • Report in CSV format

    In an Apex report SQL query, i had written a statement for the column as '<div style="width: 260px;">'|| PARTY_NAME || '</div>' as PARTY_NAME to avoid wrapping of the column text. Now, when i download the report in csv format, i get the output in PAR

  • Recommended patch 120445-01 will not install with Sol. 9 (09/2005)

    Patch 120445-01 will not apply to a Solaris 9 (09/2005) setup. The hardware is an Ultra-80. Although it is recommended, it fails with the "patchadd" message: Checking installed patches... One or more patch packages included in 120445-01 are not insta

  • Load approvers, solicitors & workflows to the CUP (SAP GRC AC 5.3)

    Hello, I want to know if there is a way to load the approvers, solicitors & workflows to the CUP (SAP GRC AC 5.3) massively. Best Regards. Pablo Mortera.

  • Capture the value of a business object

    I need to capture the value of an atribute to pas it over to a method. how can i do that?

  • Getting statistics of Query Plan

    Hi, I have deployed a simple application on OEP default server (in localhost) in Eclipse. I can see the results in console when the generator send messages to port 9200. Also I can see the app is RUNNING when I check Event Processing Visualizer (http