EventQueue.push / pop methods

Hi,
I'm implementing a method, which must return data. The data is calculated by a SwingWorker. The method is called by the AWT dispatch thread. The SwingWorker runs EventQueue.invokeLater() now and then to generate a progress dialog.
I call SwingWorker.get() inside the method, but this freezes up the GUI. So... I do
    private static class MyEventQueue
        extends EventQueue
        public MyEventQueue()
            super();
        @Override
        public void pop()
            super.pop();
    int[] method()
        SwingWorker<int[], Void> worker = new SwingWorker<int[], Void>(){
            @Override
            protected int[] doInBackground()
                /* do stuff */
       worker.execute();
        MyEventQueue queue = new MyEventQueue();
        Toolkit.getDefaultToolkit().getSystemEventQueue().push(queue);
        try {
            return worker.get();
        }catch (ExecutionException e){
            throw new Exception();
        }catch (InterruptedException e){
            throw new Exception();
        }finally{
            queue.pop();
    }... and it works! The events generated by the SwingWorker get fired. I want to know, is this recommended?
Is it dangerous? What could go wrong?
Thanks,
Jesse
Edited by: JesseLong on Nov 27, 2008 3:25 AM (added worker.execute() call)

Yes, normally I would, but... My method needs to block until all data is received, and then return all data. This is not optional, and when blocking (even using the process and publish methods and blocking until all data is received), I hold up the dispatch thread. So, I cant use publish and process. (Or, I can, but I have the same problem as get()).

Similar Messages

  • Push Instance method : what to pass in TASK and Sync_mode

    Hi All,
             I have created a Push Instace method for a Backend Triggered DO. Now i want to know that what is to be passed in its import parameter Task and Sync_mode.
    There are no possible values defined
    Thanks & Regards,
    Abhishek

    Hi Abhishek,
    Adding to the above reply,
    Task is an optional parameter. If you do not specify a Task, the DOE will dynamically decided what to do with the data. If there is already data for the same key in the CDS it will update it. If there is no data for the same key, it will insert it.
    Incase you want to delete the record, then you will have to specify the task as 'D' explicitly in the importing parameter otherwise its not needed.
    Also,if you do not set the SYNC_MODE, the function module will be executed in queue and the name of the queue will end with '*CMP'. This is just for tracking purpose.
    Best regards,
    Vinodh.

  • Syncing 7 pushing POP email from my mac to iPhone with Mobile ME

    I was under the impression that the mobile sync function in iphone 2.0 would allow me to push my pop email in Mail, calenders, and contacts on my mac to my iphone. I soon realized that I would have to subscribe to Mobile to accomplish this. Though now I have subscribed to mobile me all I am able to do is push calenders and contacts from my mac and not my pop email from Mail. Am I correct in saying this is not possible? Why would Apple leave this function out of mobile sync? I was able to do this on my MotoQ with Microsoft active sync! Any help?

    The MobileMe sync function is for a MobileMe account only.
    I wasn't aware that ActiveSync allowed for syncing with non-Exchange accounts.
    You can have MobileMe check the incoming mail server for a POP account, or you can have your POP account forwarded to your MobileMe account or email address. The problem with this is when replying to or forwarding a message received from another account, the message will be sent from your MobileMe account.
    The Mail.app on your Mac includes a Reply To field for entering a different email address to appear as the email address to be used by a recipient when replying to a received message from another account, but the iPhone's Mail client does not include a Reply To field for the message header. With the Mail.app, I believe this muse be entered manually for each message.

  • My phone wont reset with the both buttons pushed down method.. anyone knows anything else? please help!

    my iphone 4 is stuck in the spinning wheel mode, ive tried reseting it with both buttons pushed down and it wont reset! anyone knows some other way to do it? please let me know! thanks

    When you push both buttons (home and on/off), you need to hold them down together for 10-12 seconds till the Apple logo appears.

  • IPhone SDK 3 NavController push/pop animated difference (in simulator)?

    Ok, I have a NavController that supports Portrait and Landscape orientations. If I push a ViewController in Portrait and then go "back" the built-in animation is wipe left, then wipe right when going back. In Landscape in 2.2.1 it worked the same way.
    Now, in 3.0, the animation in Landscape is wipe left, then wipe DOWN when going back!
    Anyone else seeing this in the simulator? Any idea why it's different? Anyone seen this in the phone?
    Is there anyway to control the animation from a built-in "back" button? Or, must I make a custom button and just turn off animation?
    Thanks!
    Dan

    Ok, I have a NavController that supports Portrait and Landscape orientations. If I push a ViewController in Portrait and then go "back" the built-in animation is wipe left, then wipe right when going back. In Landscape in 2.2.1 it worked the same way.
    Now, in 3.0, the animation in Landscape is wipe left, then wipe DOWN when going back!
    Anyone else seeing this in the simulator? Any idea why it's different? Anyone seen this in the phone?
    Is there anyway to control the animation from a built-in "back" button? Or, must I make a custom button and just turn off animation?
    Thanks!
    Dan

  • Using a Switch statement for Infix to Prefix Expressions

    I am stuck on the numeric and operator portion of the switch statement...I have the problem also figured out in an if/else if statement and it works fine, but the requirements were for the following algorithm:
    while not end of expression
    switch next token of expression
    case space:
    case left parenthesis:
    skip it
    case numeric:
    push the string onto the stack of operands
    case operator:
    push the operator onto the stack of operators
    case right parenthesis:
    pop two operands from operand stack
    pop one operator from operator stack
    form a string onto operand stack
    push the string onto operand stack
    pop the final result off the operand stack
    I know that typically case/switch statement's can only be done via char and int's. As I said I am stuck and hoping to get some pointers. This is for a homework assignment but I am really hoping for a few pointers. I am using a linked stack class as that was also the requirements. Here is the code that I have:
       import java.io.*;
       import java.util.*;
       import java.lang.*;
    /*--------------------------- PUBLIC CLASS INFIXTOPREFIX --------------------------------------*/
    /*-------------------------- INFIX TO PREFIX EXPRESSIONS --------------------------------------*/
        public class infixToPrefix {
          private static LinkedStack operators = new LinkedStack();
          private static LinkedStack operands = new LinkedStack();
            // Class variable for keyboard input
          private static BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
             // Repeatedly reads in infix expressions and evaluates them
           public static void main(String[] args) throws IOException {
          // variables
             String expression, response = "y";
          // obtain input of infix expression from user
             while (response.charAt(0) == 'y') {
                System.out.println("Enter a parenthesized infix expression.");          // prompt the user
                System.out.println("Example: ( ( 13 + 2 ) * ( 10 + ( 8 / 3 ) ) )");
                System.out.print("Or as: ((13+2)*(10+(8/3))):  ");
                expression = stdin.readLine();     // read input from the user
             // output prefix expression and ask user if they would like to continue          
                System.out.println("The Prefix expression is: " + prefix(expression));     // output expression
                System.out.println("Evaluate another? y or n: ");          // check with user for anymore expressions
                response = stdin.readLine();     // read input from user
                if (response.charAt(0) == 'n') {          // is user chooses n, output the statement
                   System.out.println("Thank you and have a great day!");
                }     // end if statement
             }     // end while statement
          }     // end method main
       /*------------- CONVERSION OF AN INFIX EXPRESSION TO A PREFIX EXPRESSION ------------*/ 
       /*--------------------------- USING A SWITCH STATEMENT ------------------------------*/
           private static String prefix(String expression) {
                // variables
             String symbol, operandA, operandB, operator, stringA, outcome;
               // initialize tokenizer
             StringTokenizer tokenizer = new StringTokenizer(expression, " +-*/() ", true);     
             while (tokenizer.hasMoreTokens()) {
                symbol = tokenizer.nextToken();     // initialize symbol     
                switch (expression) {
                   case ' ':
                      break;     // accounting for spaces
                   case '(':
                      break;     // skipping the left parenthesis
                   case (Character.isDigit(symbol.charAt(0))):      // case numeric
                      operands.push(symbol);                                   // push the string onto the stack of operands
                      break;
                   case (!symbol.equals(" ") && !symbol.equals("(")):     // case operator
                      operators.push(symbol);                                             // push the operator onto the stack of operators
                      break;
                   case ')':
                      operandA = (String)operands.pop();     // pop off first operand
                      operandB = (String)operands.pop();     // pop off second operand
                      operator = (String)operators.pop();     // pop off operator
                      stringA = operator + " " + operandB + " " + operandA;          // form the new string
                      operands.push(stringA);
                      break;
                }     // end switch statement
             }     // end while statement
             outcome = (String)operands.pop();     // pop off the outcome
             return outcome;     // return outcome
          }     // end method prefix
       }     // end class infixToPrefixAny help would be greatly appreciated!

    so, i did what flounder suggested:
             char e = expression.charAt(0);
             while (tokenizer.hasMoreTokens()) {
                symbol = tokenizer.nextToken();     // initialize symbol     
                switch (e) {
                   case ' ':
                      break;     // accounting for spaces
                   case '(':
                      break;     // skipping the left parenthesis
                   case '0':
                   case '1':
                   case '2':
                   case '3':
                   case '4':
                   case '5':
                   case '6':
                   case '7':
                   case '8':
                   case '9':
                      operands.push(symbol);     // push the string onto the stack of operands
                      break;                               // case numeric
                   case '+':
                   case '-':
                   case '*':
                   case '/':
                      operators.push(symbol);     // push the operator onto the stack of operators
                      break;                               // case operator
                   case ')':
                      operandA = (String)operands.pop();     // pop off first operand
                      operandB = (String)operands.pop();     // pop off second operand
                      operator = (String)operators.pop();     // pop off operator
                      stringA = operator + " " + operandB + " " + operandA;          // form the new string
                      operands.push(stringA);
                      break;
                   default:
                }     // end switch statement
             }     // end while statement
             outcome = (String)operands.pop();     // pop off the outcome
             return outcome;     // return outcomeafter this, I am able to compile the code free of errors and I am able to enter the infix expression, however, the moment enter is hit it provides the following errors:
    Exception in thread "main" java.lang.NullPointerException
         at LinkedStack$Node.access$100(LinkedStack.java:11)
         at LinkedStack.pop(LinkedStack.java:44)
         at infixToPrefix.prefix(infixToPrefix.java:119)
         at infixToPrefix.main(infixToPrefix.java:59)
    Any ideas as to why? I am still looking through seeing if I can't figure it out, but any suggestions? Here is the linked stack code:
        public class LinkedStack {
       /*--------------- LINKED LIST NODE ---------------*/
           private class Node {
             private Object data;
             private Node previous;
          }     // end class node
       /*--------------  VARIABLES --------------*/
          private Node top;
      /*-- Push Method: pushes object onto LinkedStack --*/     
           public void push(Object data) {
             Node newTop = new Node();
             newTop.data = data;
             newTop.previous = top;
             top = newTop;
          }     // end function push
       /*--- Pop Method: pop obejct off of LinkedStack ---*/
           public Object pop()      {
             Object data = top.data;
             top = top.previous;
             return data;
          }     // end function pop
       } // end class linked stackEdited by: drmsndrgns on Mar 12, 2008 8:10 AM
    Edited by: drmsndrgns on Mar 12, 2008 8:14 AM
    Edited by: drmsndrgns on Mar 12, 2008 8:26 AM

  • HP 15-n225tx SD slot

    HP,
    Good day guys! I just want to ask because I just bought my HP 15-n225tx (Gray). I tried to insert my SD card to its dedicated slot, yet I have a problem now since when I was inserting it I am expecting a spring texture when doing so but it did not give me any of it but yeah the system reads the SD and its content. Now the problem is I cannot remove it by pushing / pop method because I am not sure if this laptop has that feature but I guess not since I am trying to push it hard but not too hard because I might break it if I will.
    Any help will be appreciated!
    Thanks!

    Hi,
    To release an SD card from any reader, please using a finger to gently push it in and release immediately, it should come out and you can pull it out.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Push() and pop()

    I'm writing my own Stack class, in which I'm using a 100 element String array. I'm trying to write the push and pop methods for this class. I'm having trouble figuring out how to add an element to my array in the push method.
    Here is my code so far:
    public class Stack
         String array[] = new String[100];
         int c = 0;
        public Stack()
        public voide clear()
          c = -1;
        public void push(String x)
       public String pop()
           throws EmptyStackException
           return null;
    }So if someone could please help me with my push and pop methods. Thanks

    Ok here is what I came up with after all of your help. I'm not sure if it's correct, because I have to use an text file that already has input in it to test it. If you want to see exactly what I have to do, go to this site:
    http://webmail1.uwindsor.ca/Redirect/davinci.newcs.uwindsor.ca/~angom/cs254/
    here is my code now:
    public class Stack
         String array[] = new String[100];     
         int top=0;
         public Stack()
         public void clear()
              top=-1;
         public void push(String x)
              for(int i=0; i < array.length; i++)
              array[i] = x;
              top = i;
         public String pop()
              throws EmptyStackException
              if(top > 0)
                   for(int j=0; j < array.length; j++)
                        System.out.print(array[j]);
              top = top - 1;
              return null;
    }And this is the code so for the reading in of the file
    import java.io.*;
    import java.util.*;
    public class Assign1 
       static BufferedReader in;
       static StringTokenizer toke;
       public static void main (String args[]) throws Exception
           Stack stack = new Stack();
               in = new BufferedReader(new InputStreamReader (System.in));
           //you can now use in to read in a full line
           //System.out.println("type something");
           System.out.println(in.readLine());
           //to break up a line use stringTokenizer
           //System.out.println("type something again with a space");
           String line = in.readLine();
           toke = new StringTokenizer(line);
           System.out.print(toke.nextToken());
           if (toke.hasMoreTokens()) System.out.println(" " + toke.nextToken());
    Thanks again for all of everyone's help

  • Javascript array ;Add and remove elements without using push and pop

    Hi
     I need to perform add and remove  operation in Javascript with following scenarios
    i) Add element, if element does not exist in array(javascript)
    ii) Remove element, if element exist in array(javascript)
    Without using push and pop method how to achieve this?
    Regards
    Siva

    Completed the Scenario.

  • Push view, input data, Pop it and keep the data ... How ?

    Simple example ...
    I need to get data from one view into another as if the one view was a pop up.
    example ...
    I have a baseView with a button labeled 'SELECT DATE'.
    When user clicks button, they see dateView and they input the date there.
    When done selecting the date, they click OK on dateView which should take them back to baseView passing the selected date.
    What is the best approach for this?
    - use a sharedObject to store the date and pick it up when back on base?
    - pop baseView then push dateView then on OK push baseView with data?
    - don't use a dateView but rather a dateEntry popup (like a custom alert)?
    There are many ways I could go with this, would like to know what the experts suggest though.
    Thanks.

    OK. Looks like I found the answer and then some.
    Glad to know I was not the only one looking for something like that.
    http://remotesynthesis.com/post.cfm/passing-data-on-pop-methods-in-mobile-flex
    and
    http://www.remotesynthesis.com/post.cfm/passing-data-across-views-in-flex-mobile
    Thanks RemoteSynthesis.com

  • I'm having trouble with "this" and method dependence

    For my Data Structures course, we have to create a simple Word Processor. The constructor contains two stacks, left and right. The way the class populates the strings is pretty straight forward. Any text to the left of the cursor gets pushed onto the left stack and any text to the right of the cursor gets pushed onto the right stack (in reverse order). For example, the phrase "hello" with the cursor between the l's, would push h, then e, then l onto the left stack. o then l is pushed onto the right stack. Follow me so far?
    Next, we have to implement several methods, such as moveLeft, moveRight, delete, insert, and moveToStart. There is also a toString() method which prints the two stacks as a String. The way I have my toString() method mapped out, is first to call the moveToStart() method. This method then pops all values from the left stack and pushes them onto the right stack (left: empty, right: h-e-l-l-o). So now, I simply pop each value from the right stack and store the values in a char[] array. The array is then returned as a String.
    This data structure converts the stacks to a String fine, the only problem is preserving the original stacks. So I tried to copy the value of "this," which should correlate to the EditableString es2 (declared in main), to a temp EditableString, tempEs. I then call moveToStart on tempEs, and pop values from tempEs.right. This is all in hopes to preserve the original es2. However, as you could see from the output at the bottom is that toString() modifies es2. If it didn't, "Hello, how are you" would have printed twice. Instead, an empty string is printed.
    There is obviously something wrong with my moveToStart(). Any suggestions? I apologize for not providing any comments in the code, it's just that I tried to save space. If any further explanation is necessary, don't hesitate to ask. Thanks.
    public class EditableString {
    private Stack left;
    private Stack right;
    private JavaStack l = new JavaStack();
    private JavaStack r = new JavaStack();
    private char[] text;
    private static String cursor = new String("|");
    private EditableString tempEs;
    private Character characterObject;
    private char test1;
    public EditableString() {
    left = new JavaStack();
    right = new JavaStack();
    public EditableString(String left, String right) {
    new EditableString();
    for (int i=0; i < left.length(); i++) {
    characterObject = new Character(left.charAt(i));
    l.push(characterObject);
    for (int i = right.length(); i > 0; i--) {
    characterObject = new Character(right.charAt(i-1));
    r.push(characterObject);
    this.left = l;
    this.right = r;
    public void moveToStart() {
    while (! this.left.isEmpty())
    this.right.push(this.left.pop());
    public String toString() {
    tempEs = this;
    tempEs.moveToStart();
    text = new char[(tempEs.right).size()];
    for (int i=0; i < text.length; i++)
    text[i] = ((Character) (tempEs.right).pop()).charValue();
    return new String(text);
    public static void main(String args[]) {
    System.out.println("Starting Word processor!");
    System.out.println("----------");
    EditableString es2 = new EditableString("Hello, how", " are you");
    System.out.println("es2: " + es2.toString());
    System.out.println("es2: " + es2.toString());
    /* Output:
    Starting Word processor!
    es2: Hello, how are you
    es2:
    */

    Ok, I tried to create a copy(Es) method and modified the toString() method as follows, but I am having the same problem. Ok, in order to test my methods, I print the various sizes of several stacks. In the toString() method, right after tempEs is declared, this.left=10, this.right=8 and tempEs.left=tempEs.right=0. After the copy method is invoked and assigned to tempEs, this.left=tempEs.left=10 and this.right=tempEs.right=8. Follow me?, this is where I have trouble.
    I try to "pop" one value from tempEs.right to see if the action occurs on tempEs and not this. Well, it does. Right after the pop() method, this.left=tempEs.left=10 and this.right=tempEs.right=7. I need this.right to stay at 8. Why are these Editable Strings dependent?
    And for the record, I'm not trying to "pay" anyone to do my homework. I am simply trying to pass, and in turn, graduate. This is the second time I am taking this course (failed it with style the 1st time) and desperately need to pass. I have VERY little Java background and this class is unfortunately required for my engineering degree. So, I am simply looking for some help with my 30+hour homework assignments.
    public EditableString copy(EditableString ES) {
            EditableString xTemp = new EditableString();
            xTemp.left = ES.left;
            xTemp.right = ES.right;
            return xTemp;
        public String toString() {
            EditableString tempEs = new EditableString();
            tempEs = copy(this);
            tempEs.right.pop();
            tempEs.moveToStart();
            text = new char[(tempEs.right).size()];
            for (int i=0; i < text.length; i++)
                text[i] = ((Character) (tempEs.right).pop()).charValue();
            return new String(text);

  • Replacing EventQueue with my own implementation...

    Hi all,
    I can't seem to figure out if when I use the EventQueue.push() method to put my own event queue, if it actually replaces the old one OR just adds it to the end of the eventqueue array? The API says it replaces it, but within the code it seems that when you push one, it navigates to through the nextQueue until it gets to the end then adds the one you are pushing as the end. The reason I ask this is that if an application puts one in place, then I add one myself, I dont want to replace the one there, just add mine so that both get used. The reason is, we use a simple WaitCursorEventQueue AND I need to push one to add a global hot key, and I dont want to remove the application one, otherwise it could mess something up. So by "pushing" mine, am I replacing the one that was there and it is never used again until I remove mine?
    If so, perhaps a better way is to grab the one that is there, and "chain" to it when I insert mine, such that if the processing I am waiting for doesn't occur, rather than call super.eventDispatch(), I call the old ones postEvent() or invokeLater() method?
    Thanks.

    uncle_alice,
    Thanks for the info. You may be right.. the way you say that it does make sense. If you look at the code for dispatchEvent it does NOT loop through or go through the linked list of queues to dispatch events. Unless there is some behind the scenes code I am missing, it seems likely that it only goes to the event queue in place. More so, what pretty much locks this assumption is that when you open up a dialog and it temporarily inserts its own dispatch event queue, it does so to stop events from going to the main window underneath, hence it effectively replaces it. If it did what I was asking, then you couldn't achieve the modal capability that it does, because the main event queue would still get events as well, unless of course you did not make a call to super.dispatchEvent()...??
    Oh well, so the solution for me is to either combine them, which I can't do, or to modify them (since I have access to both source files) so that they "chain" together. One if for my test stuf... I put in a hot-key watch to allow me to stop a test in action. The other is the one expected as part of the application, to change the cursor if an event takes more than 1/2 second to process. The good thing, at least, is during testing it is not a big deal if the cursor doesn't change. But I can see where my test framework may be used in an application that depends on the custom eventqueue that is in place, and displacing it could have disasterous effects.

  • Token resolution of virtual method in javacard

    Please help me out how to map the token value of virtual method in the case of internal class reference.

    Hi chandufo,
    I'm agree with safamer, context is only an identifier.
    It's structure may be like this:
    context{
    u1 context_id
    u2 package_addr;
    u2 applet_instance_addr;
    ** if context is JCRE context, all above entry may be *0xFF*. Otherwises, context_id is increment
    Switching context can implement PUSH, POP.
    So that, in your structure of FRAME must be included context_id field like this:
    typedef struct frame {
    u1 last_pc;
    u2 *lvars;
    u2 *ostack;
    method_info *mi;
    class_info *ci;
    struct frame *prev;
    u1 context_id;
    } Frame;
    hi @Shane, do you agree with me?
    Edited by: hoaibaotre on Jul 1, 2011 5:26 PM

  • Push notifications not working for Facebook and Tw...

    Normally if I'm using an app, or doing something else with the phone, and a pop-up notification of an SMS, email or IM appears, I simply click it an it takes me to the app/conversation. However, this is not the case for my Facebook and Twitter notifications. The notifications do pop-up, but, when I click it nothing happens. It does not take me to the app. If I click the pop-up, the notification doesn't show on the events screen, as if I clicked it before. I can click Facebook and Twitter notifications on the event screen an it takes me to the app, just not with the push/pop-up notifications. Its really annoying sometimes. Thanks in advance.
    Regards,
    Arun Lall

    Hi arunakajacob,
    Welcome to the Nokia forums.
    This will most likely be a bug in the application. Delete the application and reinstall it via Nokia Store > My Stuff. 
    If this doesn't fix it, a reset maybe necessary should. Make sure you make a back up with Nokia Link. You can find out how to back up using Nokia link on the below link:
    http://europe.nokia.com/support/product-support/nokia-link
    Once backed up you can reset your device with instructions on the below link:
    http://europe.nokia.com/support/product-support/n9/user-guide?ccf_name=nokia-n9/guide/GUID-6D73C105-...
    Once the phone has rebooted, reconnect it to Nokia link  and restore your device:
    http://europe.nokia.com/support/product-support/nokia-link/faq#03
    To check for updates please refer to the following link:
    http://europe.nokia.com/support/product-support/n9/user-guide?ccf_name=nokia-n9/guide/GUID-1BC62312-...
    Let me know if this doesn't work so that I can troubleshoot further, if necessary.
    Iris9290
    Moderators notes: Message re-written to reflect accurate information for the N9 and Nokia Link as pointed out bty @SeanBangkok.
    If my post has helped you in any way, please accept it as a solution or click on the white star, so that other users will be able to benefit from it too.

  • Problem with yahoo! SMTP POP server mail account on new upgraded iphone 4.3.5

    PLEASE HELP!
    I am a California AT&T wireless customer with a new iphone 4 on the iOS 4.3.5 upgraded system and suddenly I am unable to successfully add my Yahoo! email account and have it configured to send/receive my emails.  I was able to successfully add my gmail and Microsoft exchange server account, but only problems with the Yahoo!  I checked all the settings, have done several add/delete accounts, restore network settings, and retry/reboots, to no avail.  This is a seriously annoying problem, it worked with the pre-upgraded older version fine without any problems ever.  I continually get the same error message:  SERVER UNAVAILABLE, please try again later.
    I know this error is inaccurate because all my other email accounts work fine as well as Safari and all other internet connections and apps.  It is not a phone thing, it is some yahoo and upgraded software incompatibility issue that no one seems to have resolved yet.
    This is a SMTP PUSH POP account, and I have literally tried everything.  I have tried all the fixes while connected to wifi, and then tried them just via my 3G cell network connection.  I read on a message board about turning on/off SSL, could someone tell me how to do that?  When I go into to:
    settings>mail accounts>outgoing mail server SMTP>Yahoo! SMTP, everything is grayed out and I can't change any ports or SSL.
    When I try to manually add a server, which I was told was a fix, I don't know what to type into the host name.  Does anyone know how to help?
    I have seen this problems on numerous message boards, even in the UK.  I contacted Apple Support, with no success in resolving this problem, had an open case for several days contacted several supervisor personnel, all advised me to contact Yahoo! who do not offer customer care via telephone only online, and nothing there helped to resolve my issue.
    PLEASE, PLEASE HELP!
    THANKS

    Yahoo's servers have been having problems off and on now for close to a month if not longer. There's not much you can do about it except talk to Yahoo, which is kind of like beating your head against a wall.  They've had problems like this off and on since as far back as the mid 90's. I gave up on them long ago. Just convert to something else and dump them. It's not worth the headache.

Maybe you are looking for