WRT5GL: email client works, browsers do not

I have managed to configure my wireless router so that I can read and write email via Groupwise email client, but I cannot get a web browser to work. I had the same issue when I set up the DSL, and it was not resolved until I changed the settings of the preferred and alternate DNS server addresses under DCP/IP.
I have a WRT5GL hooked up to a Zyxel P600 series modem, with Earthlink DSL service. As far as I can tell, the modem uses PPPoE, so the router should not (when I initially tried PPPoE, I was not able to connect when using a hardwired desktop). I'm using DHCP with a local IP address set to 192.168.2.1 so that it doesn't conflict with the modem, and once again I am able to browse with a desktop connected to the router connected to the modem. I also cloned the MAC address.
I'd appreciate suggestions for what to try next. Thanks!

The cloning of a MAC address will not help you here .
what i suggest you do is first verify if you are able to ping any website eg :- ping www.yahoo.com, do you get replies ? if yes and if you are using windows Xp sp2 ,run the following command in the command prompt
netsh winsock reset catalog .\
let me know if this work, or else post a few more details.

Similar Messages

  • IOS 6.1.4 - Apple Native Email Client - Push Notification is not working

    Hi, I just upgraded to IOS 6.1.4 this morning no issues Upgrade went well.
    Now My Email Push Notfication is not working.
    1. Bussiness Gmail Account - Configured as Exchange
    2. Hotmail Account - Configured as Exchange
    Both Account - Push is ON
    if some one send email i am not getting it. I have to manually open the Native Email client then i can see.
    Restarted the IPhone Twice.
    Any one facing similar issue?

    1.   Removed the Email Account and Added again - Problem Presist.
    2.   Erase All Content - Restored from previous Backup - No Luck
    3.   Again Erased All Content - Setup as New Phone - Just add Gmail Enterprise Email Account - Not Working.
    Surprisingly - Icloud / Hotmail PUSH Notifications works Fine.
    I have removed all My Devices from the Google Apps Administrator page and re-requeste for new deivce and then tried all the above still same Issues.
    Now what?
    Any one experiencing this issue?

  • Which email clients work

    Hi,
    For years I used Apple Mail using Mac OS10.68 as my default mail program for sending pdfs directly from the pdf panel. I am having trouble with Apple Mail (this issue has nothing to do with sending pdfs) and have tried several other email clients - thunderbird, postbox, opera with Acrobat and none appear to work. Can someone suggest an email client that works the pdf panel?
    Thank you,
    Meryl

    Hi Meryl,
    What version of Acrobat / Reader are you using?
    You can use any of the email clients listed above.
    Try the step mentioned in the thread : http://forums.adobe.com/message/5784474
    Regards,
    Rave

  • BPC Report emails only work from server (not client) - BPC v5.1

    Hi all.
    Hope someone might have seen something like this before.
    Basically, I setup our servers to send email from BPC about 3 weeks ago.
    (NB - If it makes a difference, we use Lotus Notes via a Domino server)
    The SMTP settings are all correct in BPC WebAdmin, the servers have been added to the allow list on the mail server and the port is open.
    Anyway, when I try to send mail from a client (using the Offline Report Distribution Wizard), I get the following error:
    "The transport failed to connect to the server".
    At SAP's suggestion, I ran a test by installing Office and a BPC client directly onto the Web Server.
    When I ran the wizard from the server, the email sent perfectly.
    The problem I have now is that although I informed SAP of the test outcome, I haven't heard anything back in about 3 weeks, and I really need to get the reporting email system up and running properly.
    Does anyone have any suggestions on what could be causing this?
    It's as though the system is telling the client to send the email itself, via the forwarding server, but this would mean allowing every user PC to access the mail server.
    Hope you can help, but thanks for looking either way.
    Craig

    Hi Ludovic
    The problem turned out to be mail server white-lists, due to the way that BPC sends emil.
    Although you setup the email account/profile on the server, it actually sends from the client PC of whichever user makes the email request.
    Our system is only configured to block all email requests with individual exceptions (ie a White-List).
    It needed the PC of every user who would need to send email from the BPC system to be added to the white-list.
    This is why it worked from the server, as we had added the server address to the list as part of the testing.
    Not reall y a BPC problem, more of an issue with functionality due to the method that it uses to send the messages.
    Hope that helps
    Craig

  • Web Service Client works from IDE, not standalone

    I'm using the Netbeans 5.5 IDE & JAX-WS 2.0 & jdk1.6.
    I use an Applet to call a webservice on an embedded web-server which has gSoap generated WebServices.
    The code works fine if I run it from the IDE. However, the following error occurs if I run it from the webserver:
    java.lang.NoClassDefFoundError: Could not initialize class com.sun.org.apache.xml.internal.resolver.CatalogManager
         at com.sun.xml.internal.ws.util.xml.XmlUtil.createDefaultCatalogResolver(Unknown Source)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
         at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
         at javax.xml.ws.Service.<init>(Unknown Source)
         at NetburnerWebfunctions.Webfunctions.<init>(Webfunctions.java:38)
         at IO.getDIPs(IO.java:32)
         at IO.<init>(IO.java:25)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.lang.NoClassDefFoundError: Could not initialize class com.sun.org.apache.xml.internal.resolver.CatalogManager
    I believe this class is being found since I got a different error when I had the classname wrong.
    The console has reported:
    network: Connecting http://192.168.0.2/META-INF/services/javax.xml.ws.spi.Provider with proxy=DIRECT
    to which I serve up a file with the first line as:
    NetburnerWebfunctions.WebfunctionsPortType
    This class (autogenerated by Netbeans webservice import) contains:
    @WebService(name = "WebfunctionsPortType", targetNamespace = "http://www.red-earth.co.uk/Webfunctions")
    public interface WebfunctionsPortType {
        @WebMethod(action = "http://www.red-earth.co.uk/Webfunctions/getDIPs")
        @WebResult(name = "result", targetNamespace = "http://www.red-earth.co.uk/Webfunctions")
        @RequestWrapper(localName = "getDIPs", targetNamespace = "http://www.red-earth.co.uk/Webfunctions", className = "NetburnerWebfunctions.GetDIPs")
        @ResponseWrapper(localName = "getDIPsResponse", targetNamespace = "http://www.red-earth.co.uk/Webfunctions", className = "NetburnerWebfunctions.GetDIPsResponse")
        public int getDIPs();
    }In the applet the webfunction is called using the following code:
    NetburnerWebfunctions.Webfunctions service =
      new NetburnerWebfunctions.Webfunctions(new java.net.URL("http://192.168.0.2/webfunctions.wsdl.xml"),
      new javax.xml.namespace.QName("http://www.red-earth.co.uk/Webfunctions", "Webfunctions"));
    NetburnerWebfunctions.WebfunctionsPortType port = service.getWebfunctions();
    result = port.getDIPs();The Applet is placed on the html page thus:
    <APPLET  code="IO.class" Archive="Applet.jar" width=350 height=200></APPLET>Any Ideas why this error occurs - have I got the provider wrong?

    Hi,
    I could run the client as an application but not as an Applet out side IDE.
    can u please help me with sample code if u r done with Applet.
    if u want i can give u my sample code.
    thanks in advance.

  • Make email clients work behind NTLM proxy

    I am behind a crappy windows proxy server. So I have cntlm installed, and 127.0.0.1:3128 is the proxy I have set for all the applications I use,
    But thuderbird, evolution, or mutt, none of them are working with this proxy settings. Please dont suggest SSH tunnelling or other methods in which I need to keep another connection at my home up and running.
    [root@aura-envy jay]# nmap -sT -O 172.16.19.10
    Starting Nmap 6.47 ( http://nmap.org ) at 2014-12-24 16:13 IST
    Nmap scan report for isa10.mahe.manipal.net (172.16.19.10)
    Host is up (0.0070s latency).
    Not shown: 999 filtered ports
    PORT STATE SERVICE
    80/tcp open http
    Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port
    Device type: general purpose
    Running: Microsoft Windows 2003
    OS CPE: cpe:/o:microsoft:windows_server_2003::sp2
    OS details: Microsoft Windows Server 2003 SP2
    OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
    Nmap done: 1 IP address (1 host up) scanned in 8.46 seconds
    It doesnt say 443 is open. But https works. Not sure how that works. Could anyone tell a little on that too?
    What are the other ways to fix this ?
    Thanks!

    I am behind a crappy windows proxy server. So I have cntlm installed, and 127.0.0.1:3128 is the proxy I have set for all the applications I use,
    But thuderbird, evolution, or mutt, none of them are working with this proxy settings. Please dont suggest SSH tunnelling or other methods in which I need to keep another connection at my home up and running.
    [root@aura-envy jay]# nmap -sT -O 172.16.19.10
    Starting Nmap 6.47 ( http://nmap.org ) at 2014-12-24 16:13 IST
    Nmap scan report for isa10.mahe.manipal.net (172.16.19.10)
    Host is up (0.0070s latency).
    Not shown: 999 filtered ports
    PORT STATE SERVICE
    80/tcp open http
    Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port
    Device type: general purpose
    Running: Microsoft Windows 2003
    OS CPE: cpe:/o:microsoft:windows_server_2003::sp2
    OS details: Microsoft Windows Server 2003 SP2
    OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
    Nmap done: 1 IP address (1 host up) scanned in 8.46 seconds
    It doesnt say 443 is open. But https works. Not sure how that works. Could anyone tell a little on that too?
    What are the other ways to fix this ?
    Thanks!

  • Email client opens IE and not Firefox

    I have even uninstalled (leaving my settings and passwords) and reinstalled. When I click an emailed link IE opens and says about :blank. Forefox is the default browser (integer = 2).
    == This happened ==
    Every time Firefox opened
    == upgraded tp 3+

    Hi Dave,
    Thanks for your question. You will need to set Firefox as your default browser. Follow the article here and you should be all set!
    [http://support.mozilla.com/en-US/kb/How+to+make+Firefox+the+default+browser]

  • Edited gif file will work in a viewer, but not in email client

    An animated gif file received in my email client, after editing will not work in the same email client, but is working properly in a browser. Further, the background in the altered gif is black in the email client instead of the non-pixelated file that was "saved for web."
    I had received thsi working gif file and made changes to send the altered animation back, wherin I encountered this quirky littel issue.
    Anyone had this problem or have answers to what's going on here?

    Hi Ozkarleo,
    Please post more information to make your question clear. What’s the type of project you are using? Universal app? Windows phone silverlight app?
    The Sqlite libraries in runtime project are different with those in WinForm. But you have not mentioned what libraries you are using in runtime, so I assume you are using this common ones.
    Sqlite for windows 8.1
    https://visualstudiogallery.msdn.microsoft.com/1d04f82f-2fe9-4727-a2f9-a2db127ddc9a.
    Sqlite for windows phone 8.1
    https://visualstudiogallery.msdn.microsoft.com/5d97faf6-39e3-4048-a0bc-adde2af75d1b.
    One thing important you need note is that we have no access to the entire file system in runtime app, copy the file to local storage then use it.
    A good sample you can get started with it. Get it form MSDN code gallery.
    https://code.msdn.microsoft.com/windowsapps/Using-SQLite-in-a-Windows-c16aea77 .
    If you cannot make it working, please post more information about your scenario.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Address book is blank, email client is Lotus Notes

    Hi,
    I have a blackberry curve with the OS 5...
    my address book is blank, however when i type any alphabet to quick search contacts, i am able to access a Few contacts, Not All.
    I tried taking a back up of the contacts, it keeps asking me to turn off the wireless sync:address book >options>wireless syn off.  that does not happen too. i deleted and undeleted the Desktop cical and sync options from the service book.
    I have pulled the battery for reset (a couple times) and i end up losing more contacts from my quick search.
    I have checked and unchecked all the filters
    The contact information does not show for SMS
    The contact information DOES show in the call log (and I can view their complete Contacts information from there) but when they call, the name does not appear, only the no. does!
    Email client linked is Lotus Notes
    the phone shows that i have 850 contacts, but my address book now shows one contacts no. 5 times. this is the only contact i see on my address book.
    i am wondering if lotus notes is causing the problem. shall i uninstall it?
    Please help out!

    It sounds as though you are using your phone with a BES server, it could be worth talking to your IT support to check everything is setup properly on the server.

  • 5800 email client confuses me - or is it buggy?

    Have just started using Nokia email client (latest update) for push Gmail email and find the settings confusing. Two problems;
    1) 'When to sync' is set to 07.30-22.00. Despite this, it checks email every four hours during the night (waking me up).
    2) I keep seeing the WLAN connected. I guess the email should be activating it every four hours to check for email, but then should it not switch it off? I tried manually disconnecting it several times but it would switch right back on.
    Final question for anyone that really knows this email client. How is 'roaming' defined? Does it mean when you are out of your 'home network'? If so, how do you set a home network? And is home network only a WLAN??
    Thanks in advance for any help.
    Now running a 701, beautiful phone to handle and use...now that it has stopped sending my personal information to Nokia via 360Panel [rolls eyes]

    Well, thanks very much Nokia for moving my post over into this forum - which no-one seems to read. The general N series forum is much better for answers.
    Am giving up on the Nokia email client, it just does not seem to work reliably. For example,even though its definitely set to send/receive ever 4 hours it seems to keep the 3g connection or wireless on all the time and collect emails dynamically. Not ideal. Also, I wish the Help was more detailed. The stuff about roaming, home network etc I still can't understand.
    So uninstalling it, going to try Emoze from the Ovi store instead.
    Now running a 701, beautiful phone to handle and use...now that it has stopped sending my personal information to Nokia via 360Panel [rolls eyes]

  • IMAP push on native email client and dovecot

    Hi.
    I'm using nokia's email client (declined the agreement, so the client makes the connection) to connect to a dovecot IMAP server.
    My question is, I'm using IMAP push and it works, but the client disconnects from the server (cca 5 min) and makes a traditional sync (if using freq. syncing). If I disable the freq. syncing, it just disconnects.
    Best regards.

    My question is, I'm using IMAP push and it works, but the client disconnects from the server (cca 5 min) and makes a traditional sync (if using freq. syncing). If I disable the freq. syncing, it just disconnects.
    It is quite simple: The native email client on e72  does not support IMAP idle / push IMAP.
    (The client on my old E51 did though).
    If you use Nokia Messaging and give Nokia the email account credentials there should be a push-like function but I did not test that.
    I addition, there is no way to get the sent messages to the "sent messages" folder on the server, which makes the use of IMAP totally pointless.
    Get another email client. 
    E72-1, product code 0586718, firmware 022.007

  • Getting Charter email to work

    I have gotten Charter email to work with OS X, more or less, but have two remaining issues I'd appreciate help with. First, outgoing email is always delayed by exactly 5 minutes. That is, it always sits in Outgoing for exactly 5 minutes after I hit Send. The retry interval for sending is 5 minutes, so I assume that the initial attempt by Mail to login to the IMAP server is always failing and the following retry attempt is always succeeding. Why would the initial attempt always fail? Second, incoming email is often not received by Mail for ages, sometimes hours, even though it is visible on the IMAP server when I use Charter's web email client, and Mail does not show that the server is inaccessible.
    I switched from successfully using Charter's email servers for desktops (pop.charter.net and smtp.charter.net) because they don't support SSL, which meant that Mail had to send passwords unencrypted. I was uncomfortable with that and wanted to turn on SSL to avoid it, but Charter only supports SSL on their email server for mobile clients. Their server for mobile clients (mobile.charter.net) only supports IMAP, not POP. So I reconfigured Mail to use mobile.charter.net for both IMAP and SMTP, with SSL enabled. Below are the Mail preferences that work. Note that I've configured Mail to use custom port 587, despite the fact that port 587 is the default for SMTP with SSL. Believe it or not, leaving it at the default did not seem to work and selecting it explicitly does.
    I'm using OS X 10.9.5 (Mavericks).
    Account Information
      Account Type:                 charter.net IMAP
      Email Address:                [email protected]
      Incoming Mail Server:         mobile.charter.net
      User Name:                    [email protected]
      Password:                     email account password
      Outgoing Mail Server (SMTP):
        Edit SMTP Server List...
          Account Information
            Server Name:            mobile.charter.net
            TLS Certificate:        None
          Advanced
            Use custom port:        587
            Use SSL:                <checked>
            Authentication:         Password
            User Name:              [email protected]
            Password:               email account password
    Advanced
      Port:                         993
      Use SSL                       <checked>
    In summary, these are the two issues I'd like help resolving:
    Outgoing email is always delayed by exactly 5 minutes
    Mail is often hours delayed in seeing incoming email that has arrived on the IMAP server
    Is there a log somewhere that shows the interaction between Mail and the servers, so I could see what's happening?

    Thank you for the suggestion. That let me get closer.
    The Activity Window gives current status but no log. But "Mail > Window > Connection Doctor" allowed me to turn on logging and find out where the logs were kept (~/Library/containers/com.apple.mail/Data/Library/Logs/Mail/). So I tried sending email, waited the 5 minutes for it to get sent, grabbed a copy of the log, and took a look. It looks like Mail is aborting the first attempt to send, but the log gives me no clue why that might be happening. Here's my interpretation of the logged events.
    Timestamp     Logged Event
    18:46:02.390  My computer opens a channel to mobile.charter.net port 587.
    18:46:02.551  An insecure connection is opened for negotiating a protocol version.
    18:46:24.065  A secure connection is opened using TLS v1.0.
    18:46:24.066  Charter's server says it's ready.
    18:46:24.079  My computer says hello.
    18:46:24.105  Charter's server says login.
    18:46:24.107  My computer sends the password.
    18:46:24.189  Charter's server says login succeeded.
    18:46:24.189  My computer closes the connection. (?!)
    18:51:02.850  5 minutes later, a new secure connection is opened using TLS v1.0.
    18:51:02.851  Charter's server says it's ready.
    18:51:02.865  My computer says hello.
    18:51:02.893  Charter's server says login.
    18:51:02.896  My computer sends the password.
    18:51:02.984  Charter's server says authentication succeeded.
    18:51:02.984  My computer sends the sender address.
    18:51:03.078  Charter's server says the sender ok.
    18:51:03.078  My computer sends the recipient address.
    18:51:03.165  Charter's server says the recipient ok.
    18:51:03.165  My computer says the message body follows.
    18:51:03.252  Charter's server says it's ready for message body.
    18:51:03.252  My computer sends the message body.
    18:51:03.887  Charter's server says the message body was received.
    The key steps from the log are these:
    WROTE Oct 07 18:46:24.107 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:mobile.charter.net -- port:587 -- socket:0x6000006dc070 -- thread:0x600001e63100
    AUTH PLAIN  (*** 80 bytes hidden ***)
    READ Oct 07 18:46:24.189 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:mobile.charter.net -- port:587 -- socket:0x6000006dc070 -- thread:0x600001e63100
    235 2.7.0 ... authentication succeeded
    WROTE Oct 07 18:46:24.189 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:mobile.charter.net -- port:587 -- socket:0x6000006dc070 -- thread:0x600001e63100
    QUIT
    CONNECTED Oct 07 18:51:02.850 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:mobile.charter.net -- port:587 -- socket:0x6000008dd180 -- thread:0x608001078440
    Any idea why Mail would close the connection?

  • I designed my website to have email links and now the work in other browsers but not Firefox

    HTML code
    href="mailto:[email protected]?subject=Web Site Inquiry"
    This should open the email client but nothing happens in Firefox. It works in other browsers.
    How can I fix this?

    This can happen if your script doesn't close all of the HTML tags it opens. Some past threads on pages not rendering fully (usually the missing text is there in the source view, Ctrl+u):
    * [https://support.mozilla.org/en-US/questions/846246 Part way through a particular web page, HTML stops being rendered]
    * [https://support.mozilla.org/en-US/questions/929969 text is missing from webpage]
    If you do not spot the problem, is there a publicly accessible page that you could link to so volunteers could take a look?

  • Driver to email client not working

    For my class we are attempting to write our own email client. Our professor gave us the following driver. However when I attempt to compile the driver I get these errors:
    MailClient.java:125: cannot find symbol
    symbol  : variable envelope
    location: class MailClient.SendListener
                   SMTPConnection connection = new SMTPConnection(envelope);
                                                                  ^
    MailClient.java:126: cannot find symbol
    symbol  : variable envelope
    location: class MailClient.SendListener
                   connection.send(envelope);Admittedly it could be something with the SMPTConnection code, as that is what we had to write. However I would have expected it to throw some sort of exception in there and it does not. Any help to figure out why the driver is not working would be appreciatted.
    Code:
      import java.io.*;
       import java.net.*;
       import java.awt.*;
       import java.awt.event.*;
    /* $Id: MailClient.java,v 1.7 1999/07/22 12:07:30 kangasha Exp $ */
    * A simple mail client with a GUI for sending mail.
    * @author Jussi Kangasharju
        public class MailClient extends Frame {
        /* The stuff for the GUI. */
          private Button btSend = new Button("Send");
          private Button btClear = new Button("Clear");
          private Button btQuit = new Button("Quit");
          private Label serverLabel = new Label("Local mailserver:");
          private TextField serverField = new TextField("", 40);
          private Label fromLabel = new Label("From:");
          private TextField fromField = new TextField("", 40);
          private Label toLabel = new Label("To:");
          private TextField toField = new TextField("", 40);
          private Label subjectLabel = new Label("Subject:");
          private TextField subjectField = new TextField("", 40);
          private Label messageLabel = new Label("Message:");
          private TextArea messageText = new TextArea(10, 40);
         * Create a new MailClient window with fields for entering all
         * the relevant information (From, To, Subject, and message).
           public MailClient() {
             super("Java Mailclient");
          /* Create panels for holding the fields. To make it look nice,
          create an extra panel for holding all the child panels. */
             Panel serverPanel = new Panel(new BorderLayout());
             Panel fromPanel = new Panel(new BorderLayout());
             Panel toPanel = new Panel(new BorderLayout());
             Panel subjectPanel = new Panel(new BorderLayout());
             Panel messagePanel = new Panel(new BorderLayout());
             serverPanel.add(serverLabel, BorderLayout.WEST);
             serverPanel.add(serverField, BorderLayout.CENTER);
             fromPanel.add(fromLabel, BorderLayout.WEST);
             fromPanel.add(fromField, BorderLayout.CENTER);
             toPanel.add(toLabel, BorderLayout.WEST);
             toPanel.add(toField, BorderLayout.CENTER);
             subjectPanel.add(subjectLabel, BorderLayout.WEST);
             subjectPanel.add(subjectField, BorderLayout.CENTER);
             messagePanel.add(messageLabel, BorderLayout.NORTH);     
             messagePanel.add(messageText, BorderLayout.CENTER);
             Panel fieldPanel = new Panel(new GridLayout(0, 1));
             fieldPanel.add(serverPanel);
             fieldPanel.add(fromPanel);
             fieldPanel.add(toPanel);
             fieldPanel.add(subjectPanel);
          /* Create a panel for the buttons and add listeners to the
          buttons. */
             Panel buttonPanel = new Panel(new GridLayout(1, 0));
             btSend.addActionListener(new SendListener());
             btClear.addActionListener(new ClearListener());
             btQuit.addActionListener(new QuitListener());
             buttonPanel.add(btSend);
             buttonPanel.add(btClear);
             buttonPanel.add(btQuit);
          /* Add, pack, and show. */
             add(fieldPanel, BorderLayout.NORTH);
             add(messagePanel, BorderLayout.CENTER);
             add(buttonPanel, BorderLayout.SOUTH);
             pack();
             show();
           static public void main(String argv[]) {
             new MailClient();
        /* Handler for the Send-button. */
           class SendListener implements ActionListener {
              public void actionPerformed(ActionEvent event) {
                System.out.println("Sending mail");
             /* Check that we have the local mailserver */
                if ((serverField.getText()).equals("")) {
                   System.out.println("Need name of local mailserver!");
                   return;
             /* Check that we have the sender and recipient. */
                if((fromField.getText()).equals("")) {
                   System.out.println("Need sender!");
                   return;
                if((toField.getText()).equals("")) {
                   System.out.println("Need recipient!");
                   return;
             /* Create the message */
                Message mailMessage = new Message(fromField.getText(),
                         toField.getText(),
                         subjectField.getText(),
                         messageText.getText());
             /* Check that the message is valid, i.e., sender and
              recipient addresses look ok. */
                if(!mailMessage.isValid()) {
                   return;
             /* Create the envelope, open the connection and try to send
              the message. */
                try {
                   Envelope envelope = new Envelope(mailMessage, serverField.getText());
                    catch (UnknownHostException e) {
                   /* If there is an error, do not go further */
                      return;
                try {
                   SMTPConnection connection = new SMTPConnection(envelope);
                   connection.send(envelope);
                   connection.close();
                    catch (IOException error) {
                      System.out.println("Sending failed: " + error);
                      return;
                System.out.println("Mail sent succesfully!");
        /* Clear the fields on the GUI. */
           class ClearListener implements ActionListener {
              public void actionPerformed(ActionEvent e) {
                System.out.println("Clearing fields");
                fromField.setText("");
                toField.setText("");
                subjectField.setText("");
                messageText.setText("");
        /* Quit. */
           class QuitListener implements ActionListener {
              public void actionPerformed(ActionEvent e) {
                System.exit(0);
       }

    This is what I mean:
    /* Create the envelope, open the connection and try to send the message. */
               Envelope envelope = null;
                try {
                     envelope = new Envelope(mailMessage, serverField.getText());
                    catch (UnknownHostException e) {
                   /* If there is an error, do not go further */
                      return;
                try {
                   SMTPConnection connection = new SMTPConnection(envelope);
                   connection.send(envelope);
                   connection.close();
                    catch (IOException error) {
                      System.out.println("Sending failed: " + error);
                      return;
                System.out.println("Mail sent succesfully!");

  • SMTP settings not working on Apple Mail but work on other email clients like Sparrow

    Apple mail constantly gives me "Could not connect to SMTP server" while other email clients have not problem connecting to the same server using the same credentials. And yes I've checked my login name / pw. many times. Same exact settings on all clients. Everything works, while Apple Mail doesnt. I've been using Apple Mail app for a while with my other accounts. For some reason here, it can't connect. Any ideas?
    OSX 10.8.4 Macbook Retina.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

Maybe you are looking for