Error: "javax.mail.MessagingException: 505 5.7.3 Client not Authenticated

While trying to run a program to sent sms to mobile(with airtel connection)it shows the Error:
"javax.mail.MessagingException: 505 5.7.3 Client was not Authenticated.
If anyone knows how to resolve this problem please reply.
The Code is as follows:
import java.io.*;
import java.net.InetAddress;
import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
public class EmailSMS
String TO;
String FROM;
String SUBJECT,TEXT,MAILHOST,LASTERROR;
public static void main(String [] args) throws Exception
     EmailSMS SMS=new EmailSMS();
     SMS.setMailHost("kcsl.com");
     SMS.setTo("[email protected]");
     SMS.setFrom("[email protected]");
     SMS.setSubject("");
     SMS.setText("Hello World");
     boolean ret = SMS.send();
     if(ret){
          System.out.println("SMS was sent");
     else
          System.out.println("SMS was not sent"+SMS.getLastError());
public EmailSMS()
     TO=null;
     FROM=null;
     SUBJECT=null;
     TEXT=null;
     LASTERROR="No methods calls";
public void setTo(String to){TO=to;}
public String getTo(){return TO;}
public void setFrom (String from){FROM=from;}
public String getFrom(){ return FROM;}
public void setSubject(String subject){SUBJECT=subject;}
public String getSubject(){return SUBJECT;}
public void setText(String text){TEXT=text;}
public void setMailHost(String host){MAILHOST=host;}
public String getMailHost(){return MAILHOST;}
public String getLastError(){return LASTERROR;}
public boolean send()
     int maxLength;
     int msgLength;
     //Check to make sure that the parameters are correct
     if(TO.indexOf("mobile.att.net")>0)
          maxLength=140;
     else if(TO.indexOf("messaging.nextel.com")>0)
     {maxLength=280;}
     else if(TO.indexOf("messaging.sprintpcs.com")>0)
     {maxLength=100;}
     else maxLength=160;
     msgLength=FROM.length()+1+SUBJECT.length()+1+TEXT.length();
     if(msgLength>maxLength)
          LASTERROR="SMS length too long";
          return false;
     //set email properties
     Properties props=System.getProperties();
     if(MAILHOST!=null){props.put("mail.smtp.host",MAILHOST);}
     Session session=Session.getDefaultInstance(props,null);
     try{
          Message msg=new MimeMessage(session);
          if(FROM!=null){msg.setFrom(new InternetAddress(FROM));}
          else{msg.setFrom();}
          msg.setSubject(SUBJECT);
          msg.setText(TEXT);
          msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(TO,false));
          msg.setSentDate(new Date());
          Transport.send(msg);
          LASTERROR="Success";
          return true;
     catch(MessagingException max ){LASTERROR=max.getMessage();
     return false;}
thanku

Hi,
it seems to me that you must authenticate with your smtp host. In order to do so, try following:
While trying to run a program to sent sms to
mobile(with airtel connection)it shows the Error:
"javax.mail.MessagingException: 505 5.7.3 Client was
not Authenticated.
If anyone knows how to resolve this problem please
reply.
The Code is as follows:
import java.io.*;
import java.net.InetAddress;
import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
public class EmailSMS
String TO;
String FROM;
String SUBJECT,TEXT,MAILHOST,LASTERROR;
public static void main(String [] args) throws
Exception
     EmailSMS SMS=new EmailSMS();
     SMS.setMailHost("kcsl.com");
     SMS.setTo("[email protected]");
     SMS.setFrom("[email protected]");
     SMS.setSubject("");
     SMS.setText("Hello World");
     boolean ret = SMS.send();
     if(ret){
          System.out.println("SMS was sent");
     else
System.out.println("SMS was not
t sent"+SMS.getLastError());
public EmailSMS()
     TO=null;
     FROM=null;
     SUBJECT=null;
     TEXT=null;
     LASTERROR="No methods calls";
public void setTo(String to){TO=to;}
public String getTo(){return TO;}
public void setFrom (String from){FROM=from;}
public String getFrom(){ return FROM;}
public void setSubject(String
subject){SUBJECT=subject;}
public String getSubject(){return SUBJECT;}
public void setText(String text){TEXT=text;}
public void setMailHost(String host){MAILHOST=host;}
public String getMailHost(){return MAILHOST;}
public String getLastError(){return LASTERROR;}
public boolean send()
     int maxLength;
     int msgLength;
     //Check to make sure that the parameters are correct
     if(TO.indexOf("mobile.att.net")>0)
          maxLength=140;
     else if(TO.indexOf("messaging.nextel.com")>0)
     {maxLength=280;}
     else if(TO.indexOf("messaging.sprintpcs.com")>0)
     {maxLength=100;}
     else maxLength=160;
     msgLength=FROM.length()+1+SUBJECT.length()+1+TEXT.leng
h();
     if(msgLength>maxLength)
          LASTERROR="SMS length too long";
          return false;
     //set email properties
     Properties props=System.getProperties();
     if(MAILHOST!=null){props.put("mail.smtp.host",MAILHOST
Session
session=Session.getDefaultInstance(props,null);
     try{     // Get a Transport object to send e-mail
               Transport bus = session.getTransport("smtp");
               // Connect only once here
               // Transport.send() disconnects after each send
               bus.connect(host, username, password);
          Message msg=new MimeMessage(session);
if(FROM!=null){msg.setFrom(new
w InternetAddress(FROM));}
          else{msg.setFrom();}
          msg.setSubject(SUBJECT);
          msg.setText(TEXT);
          msg.setRecipients(Message.RecipientType.TO,InternetAd
ress.parse(TO,false));
          msg.setSentDate(new Date());// Send message
          bus.send(msg);
          bus.close();
          LASTERROR="Success";
          return true;
catch(MessagingException max
){LASTERROR=max.getMessage();
     return false;}
thankuGood luck

Similar Messages

  • Javax.mail.MessagingException: 505 Client was not authenticated

    Hi!,
    I got the following error:
    Exception in thread "main" javax.mail.MessagingException: 505 Client was not authenticated
    at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:507)
    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:312)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:168)
    at HelloMail.main(HelloMail.java:35)
    This is the code:
    To send an email I need authentification, and I include the mail.smtp.auth propertie and
    "message.saveChanges();
    Transport transport = session.getTransport("smtp");
    transport.connect("mail.xxx.com.mx","harriaga",passw);
    transport.sendMessage(message,message.getAllRecipients());
    transport.close();"
    Do you know if I am skip something.
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class HelloMail {
    public static void main(String args[]) throws Exception {
    String host="mail.xxx.com.mx"; //obviously doesn't work
    String from="[email protected]"; //sender's email
    String to ="[email protected]" ; //receiver's email
    Properties props = System.getProperties();
    props.put("mail.smtp.host", host);
    props.put("mail.smtp.auth", "true");
    Session session=Session.getInstance(props,null);
    MimeMessage message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    message.addRecipient(Message.RecipientType.TO, new
    InternetAddress(to));
    message.setSubject(" My Test HTML email ");
    message.setText(" Here is the content ");
    message.saveChanges();
    Transport transport = session.getTransport("smtp");
    transport.connect("mail.xxx.com.mx","harriaga",passw);
    transport.sendMessage(message,message.getAllRecipients());
    transport.close();
    Thanks for all,
    HAG.

    HAG,
    you need to create a session object passing a valid authenticator. In other words,
    MyAuthenticator auth = new MyAuthenticator ();
    Session session = Session.getInstance(props, auth);where MyAuthenticator is something like
    public class MyAuthenticator extends Authenticator{
      public PasswordAuthentication getPasswordAutentication(){
        return new PasswordAuthentication( "user", "password");
    }You obviously need to replace username and password with data valid for your e-mail account.
    Hope this helps,
    gulfi

  • Javax.mail.MessagingException: 505 Authentication required

    Could any one provide ,what would be the reasons for the following error information.
    [5/7/07 0:16:21:853 EDT] 11ba7fef SystemOut O DEBUG SMTP RCVD: 505 Authentication required
    [5/7/07 0:16:21:853 EDT] 11ba7fef SystemOut O DEBUG SMTP SENT: QUIT
    [5/7/07 0:16:21:853 EDT] 11ba7fef SystemOut O javax.mail.SendFailedException: Sending failed;
    nested exception is:
    javax.mail.MessagingException: 505 Authentication required

    it was working until few days.we dont understand what woud be problem.
    There is log informatiuon in websphere systemerr.log also.
    0:102 EDT] 740d8b8d SystemErr R javax.mail.SendFailedException: Sending failed;
    nested exception is:
         javax.mail.MessagingException: 505 Authentication required
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at javax.mail.Transport.send0(Transport.java:219)
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at javax.mail.Transport.send(Transport.java:81)
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.det.core.jenmail.JENMailSender.sendEmail(JENMailSender.java:250)
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.det.core.jenmail.JENMailSender.sendEmail(JENMailSender.java:165)
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.det.jenadmin.registration.ModifyUserAction.process(ModifyUserAction.java:171)
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at org.apache.jsp._PendingAction._jspService(_PendingAction.java:824)
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
    [5/4/07 10:06:10:102 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))
    [5/4/07 10:06:10:118 EDT] 740d8b8d SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

  • Send mail through Java program. ERROR javax.mail.MessagingException: [EOF]

    Hi,
    i've a java Mail program which will send the mail thro smtp server.
    when i try to execute this program im getting the error javax.mail.MessagingException: [EOF]
    i've attached both code & error.
    while running the program need to give the arguments
    ex : java SendMail smtpserver frommailid tomailid subject body
    please provide me the solution.
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    public class SendMail {
         public static void main(String[] args) {
              try
         String smtpServer=args[0];
         String to=args[1];
         String from=args[2];
         String subject=args[3];
         String body=args[4];
         send(smtpServer, to, from, subject, body);
         catch (Exception ex)
         System.out.println("Usage: java SendMail"
         +" smtpServer toAddress fromAddress subjectText bodyText");
         System.exit(0);
         public static void send(String smtpServer, String to, String from
                   , String subject, String body)
                   try
                   Properties props = System.getProperties();
                   props.put("mail.smtp.host", smtpServer);
                   Session session = Session.getDefaultInstance(props, null);
                   Message msg = new MimeMessage(session);
                   msg.setFrom(new InternetAddress(from));
                   msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
                   msg.setSubject(subject);
                   msg.setText(body);
                   msg.setSentDate(new Date());
                   System.out.println("test 1--");
                   Transport.send(msg);
                   System.out.println("test 2--");
                   System.out.println("Message sent OK.");
                   catch (Exception ex)
                   ex.printStackTrace();
    thanks for the help in advance.
    regs
    lal.

    I ran into a similar error today. I fixed it by setting up SMTP authentication because my ISP's help pages said that they would allow only SMTP authentication.
    Here is what I did:
    Transport transport =
    mailConnection.getTransport("smtp");
    transport.connect(
    "hostname", "email", "password");
    Transport.send(msg);
    I also passed the following property while creating the session:
    props.put("mail.smtp.auth", "true");
    finally turning on debug helped:
    session.setDebug(true);
    session.setDebugOut(null);
    Hope this helps

  • Javax.mail.MessagingException

    HI all,
    i am new to this area and currently i am working on email messaging application.
    in here i have set up an SMTP server and every thing, but finally it gives following exception
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
         javax.mail.MessagingException: 550 Sorry, <[email protected]> is not allowed access from your location
    can you please help me to solve this problem
    thanx
    Kelum

    hi,
    thanx for your reply...i checked JavaMail faq.
    it says
    This is an error reply from your SMTP mail server. It indicates that your mail server is not configured to allow you to send mail through it.
    actually my application is a servlet. that means do we have to give any permisions to my web server to send requests to smtp server.
    do you have any idea abot this
    thanx
    Kelum

  • Javax.mail.MessagingException: Connection refused: connect on localhost

    Hello,
    I am using Tomcat5.0.28 for a javamail servlet program. I am giving the hostname as localhost. After entering the input details in my html file, i get the error- "javax.mail.MessagingException: Connection refused: connect; nested exception is: java.net.ConnectException: Connection refused: connect " .
    can anybody help me regarding in solving error.
    Thanks.

    First, you're using a very old version of JavaMail.  Please upgrade.  Some of the properties you're setting aren't supported in that old version.
    Second, you don't need the socket factory properties, get rid of them.
    Finally, it looks like you're trying to connect on port 143 using SSL.  Port 143 is the non-SSL port.  That's probably not going to work.  Still, it looks like something is refusing to let you connect at all.  If you really can telnet from the same machine your program is running on to the same server machine on port 143, then you probably have some sort of firewall that's preventing your program from connecting.  Please post the entire debug output if it still fails after correcting the problems above.  (Move the setDebug call to before the getStore call.)

  • Javax.mail.MessagingException: 454 5.7.3

    Hi Friends,
    Getting an error while sending a mail through my web application. The same application when run on Windows Server 2003 and Win 2k Professional, it works perfectly. But when run on a production machine which is a windows server 2003 it is showing exception as "Caused by: javax.mail.SendFailedException: Sending failed;
    nested exception is:
         javax.mail.MessagingException: 454 5.7.3 Client does not have permission to submit mail to this server.
    I am using commons-email-1.0.jar for sending the mail.
    Any insight you might offer is appreciated.
    Thanks
    ur Friend

    Hi DrClap,
    He checked the server for my accounts administrative priviliges. Then he told me to install Virtual SMTP server in IIS .
    He asked me what type of permissions, then he told me to login with my acct, which is having admin priviliges, then also no success same error. Then we logged with local administrator acct, faced same problem. So he told me you have all permissions. He is asking me to give particular permission.
    Please help me in solving this issue.
    Thanks & Regards,
    Sultan

  • Javax.mail.MessagingException: 451 Error while writing spool file??

    Hi all friends,
    Can any one plz tell me why Iam getting below error when Iam trying to send mail with attachment.Iam using Java Mail API.
    javax.mail.MessagingException: 451 Error while writing spool file
    Plz tell me what are the reasons behind it.
    Regards
    Bikash

    The problem here is that the SMTP server was unable to write its spool file.
    The error is probably on the OS side of things and has nothing to do with email except that the lack of the system resource is causing email to fail.
    Have the server admin take a look at his error log to find out why the the user that smtp is running as could not write the file.

  • SHA1 digest error for javax/mail/MessagingException

    java.lang.SecurityException: SHA1 digest error for javax/mail/MessagingException.class
         at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:194)
         at java.util.jar.JarVerifier.processEntry(JarVerifier.java:201)
         at java.util.jar.JarVerifier.update(JarVerifier.java:188)
         at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:411)
         at sun.misc.Resource.getBytes(Resource.java:97)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:256)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    Exception in thread "main"
    What could be the problem for this error Exception ???
    Thanks and Regards.

    Hi!
    Do you use some plugins with eclipse IDE, like Tomcat by example or other plugins ... ?
    If yes, update mail.jar and activation.jar inside Tomcat or in your lib project Eclipse...
    You have a conflict with the class loader that check for security for class javax/mail/MessagingException
    See you Manifest.mf inside mail.jar :
    (old version here...)
    Manifest-Version: 1.0
    Implementation-Version: 1.4
    Specification-Title: JavaMail(TM) API Design Specification
    Specification-Version: 1.3
    Implementation-Title: javax.mail
    Extension-Name: javax.mail
    Created-By: 1.5.0 (Sun Microsystems Inc.)
    Implementation-Vendor-Id: com.sun
    Implementation-Vendor: Sun Microsystems, Inc.
    Specification-Vendor: Sun Microsystems, Inc.
    SCCS-ID: @(#)javamail.mf     1.6 05/12/09
    Name: javax/mail/search/SearchTerm.class
    SHA1-Digest: SwGnDhIUmpZhfhq/FKkCQ9nD7ZE=
    Name: javax/mail/SendFailedException.class
    SHA1-Digest: XdCEygaIZQB9YrH2WIr4nPRYYk0=
    Name: javax/mail/MessagingException.class
    SHA1-Digest: lfjX30OQ88v/n9G9fTJGqjFmPd0=
    regards,

  • Error when trying to send e-mail: javax.mail.MessagingException: can't dete

    Any help on the below error would be appreciated?
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
    javax.mail.MessagingException: can't determine local email address
    at javax.mail.Transport.send0(Transport.java:218)
    at javax.mail.Transport.send(Transport.java:80)
    at com.rightworks.maildispatcher.MailDispatcher$SenderThread.sendMessage
    (MailDispatcher.java, Compiled Code)
    at com.rightworks.maildispatcher.MailDispatcher$SenderThread.run(MailDis
    patcher.java:536)
    Cannot send mail file s1io.d.xml : Sending failed;
    nested exception is:
    javax.mail.MessagingException: can't determine local email address

    Appears to be related to specifing the mail.from input.
    Works now.

  • Javax.mail.MessagingException: A5 BAD Command Argument Error. 12;

    This error appeared on mailboxes hosted on Exchange 2007. It happens when a folder is searched with 11+ OR terms. It works fine with <= 10 subjectTerm items OR'ed together. The search term does not matter. The mailboxes are migrating from Exchange 2003 where the problem does not occur. I tested 51 OR'ed subject terms against the 2003 mailbox and it works fine. I didn't test beyond 51 terms.
    I upgraded to JavaMail 1.4.2 and the problem still exists.
    I'm not sure if this is a JavaMail bug or an error with Exchange 2007.
    Here is the output generated with session debugging enabled against Exchange 2007:
    DEBUG: setDebug: JavaMail version 1.4.2
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
    DEBUG: mail.imap.fetchsize: 16384
    DEBUG: mail.imap.statuscachetimeout: 1000
    DEBUG: mail.imap.appendbuffersize: -1
    DEBUG: mail.imap.minidletime: 10
    DEBUG: trying to connect to host "qtdenexcam20.ad.domain.com", port 143, isSSL false
    * OK Microsoft Exchange Server 2007 IMAP4 service ready
    A0 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN STARTTLS IDLE NAMESPACE LITERAL+
    A0 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    IMAP DEBUG: AUTH: GSSAPI
    IMAP DEBUG: AUTH: PLAIN
    DEBUG: protocolConnect login, host=qtdenexcam20.ad.domain.com, user=userid, password=<non-null>
    A1 AUTHENTICATE PLAIN
    +
    d21kZXYAd21kZXYAUXczc3QyMDA4
    A1 OK AUTHENTICATE completed.
    A2 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN STARTTLS IDLE NAMESPACE LITERAL+
    A2 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    IMAP DEBUG: AUTH: GSSAPI
    IMAP DEBUG: AUTH: PLAIN
    Opening email folders.
    DEBUG: connection available -- size: 1
    A3 SELECT INBOX
    * 23 EXISTS
    * 0 RECENT
    * FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
    * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
    * OK [UNSEEN 6] Is the first unseen message
    * OK [UIDVALIDITY 765] UIDVALIDITY value
    * OK [UIDNEXT 15790] The next unique identifier value
    A3 OK [READ-WRITE] SELECT completed.
    A4 LIST INBOX ""
    * LIST (\Noselect \HasChildren) "/" ""
    A4 OK LIST completed.
    * OK Microsoft Exchange Server 2007 IMAP4 service ready
    A0 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN STARTTLS IDLE NAMESPACE LITERAL+
    A0 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    IMAP DEBUG: AUTH: GSSAPI
    IMAP DEBUG: AUTH: PLAIN
    A1 AUTHENTICATE PLAIN
    +
    d21kZXYAd21kZXYAUXczc3QyMDA4
    A1 OK AUTHENTICATE completed.
    A2 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN STARTTLS IDLE NAMESPACE LITERAL+
    A2 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    IMAP DEBUG: AUTH: GSSAPI
    IMAP DEBUG: AUTH: PLAIN
    A3 LIST "" Folders/processed_items_LARG
    * LIST (\HasChildren) "/" Folders/processed_items_LARG
    A3 OK LIST completed.
    A4 LIST "" Folders/junk_LARG
    * LIST (\HasNoChildren) "/" Folders/junk_LARG
    A4 OK LIST completed.
    Retrieving all messages from: INBOX
    23 messages retrieved.
    Processing junk email.
    *** Searching for junk mail ***
    A5 SEARCH OR OR OR OR OR OR OR OR OR OR SUBJECT test1 SUBJECT test2 SUBJECT test3 SUBJECT test4 SUBJECT test5 SUBJECT test6 SUBJECT test7 SUBJECT test8 SUBJE
    CT test9 SUBJECT test10 SUBJECT test11 1:23
    A5 BAD Command Argument Error. 12
    Exception caught in main while processing config/email.larg.properties.
    javax.mail.MessagingException: A5 BAD Command Argument Error. 12;
    nested exception is:
    com.sun.mail.iap.BadCommandException: A5 BAD Command Argument Error. 12
    javax.mail.MessagingException: A5 BAD Command Argument Error. 12;
    nested exception is:
    com.sun.mail.iap.BadCommandException: A5 BAD Command Argument Error. 12
    at com.sun.mail.imap.IMAPFolder.search(IMAPFolder.java:1706)
    at com.domain.nroc.email.WMSEmailAgent.processJunkEmail(Unknown Source)
    at com.domain.nroc.email.WMSEmailAgent.main(Unknown Source)
    Caused by: com.sun.mail.iap.BadCommandException: A5 BAD Command Argument Error. 12
    at com.sun.mail.iap.Protocol.handleResult(Protocol.java:338)
    at com.sun.mail.imap.protocol.IMAPProtocol.issueSearch(IMAPProtocol.java:1550)
    at com.sun.mail.imap.protocol.IMAPProtocol.search(IMAPProtocol.java:1458)
    at com.sun.mail.imap.protocol.IMAPProtocol.search(IMAPProtocol.java:1433)
    at com.sun.mail.imap.IMAPFolder.search(IMAPFolder.java:1687)
    ... 2 more
    I'll post the Exchange 2003 debug output in a follow-up message because this message is exceeding the length limit.

    Here is the output generated with session debugging enabled against Exchange 2003 (and 51 subject terms):
    DEBUG: setDebug: JavaMail version 1.4.2
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
    DEBUG: mail.imap.fetchsize: 16384
    DEBUG: mail.imap.statuscachetimeout: 1000
    DEBUG: mail.imap.appendbuffersize: -1
    DEBUG: mail.imap.minidletime: 10
    DEBUG: trying to connect to host "itdene2km05.ad.domain.com", port 143, isSSL false
    * OK Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (ITDENE2KM05.AD.DOMAIN.COM) ready.
    A0 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 IDLE LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE LITERAL+ UIDPLUS CHILDREN AUTH=NTLM
    A0 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    DEBUG: protocolConnect login, host=itdene2km05.ad.domain.com, user=ad\userid, password=<non-null>
    A1 LOGIN "ad\\userid" pass
    A1 OK LOGIN completed.
    A2 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 IDLE LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE LITERAL+ UIDPLUS CHILDREN AUTH=NTLM
    A2 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    Opening email folders.
    DEBUG: connection available -- size: 1
    A3 SELECT INBOX
    * 1 EXISTS
    * 0 RECENT
    * FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
    * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
    * OK [UIDVALIDITY 597925] UIDVALIDITY value
    A3 OK [READ-WRITE] SELECT completed.
    A4 LIST INBOX ""
    * LIST (\Noselect) "/" ""
    A4 OK LIST completed.
    * OK Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (ITDENE2KM05.AD.DOMAIN.COM) ready.
    A0 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 IDLE LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE LITERAL+ UIDPLUS CHILDREN AUTH=NTLM
    A0 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    A1 LOGIN "ad\\userid" pass
    A1 OK LOGIN completed.
    A2 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 IDLE LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE LITERAL+ UIDPLUS CHILDREN AUTH=NTLM
    A2 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    A3 LIST "" Folders/processed_items_LARG
    * LIST (\HasChildren) "/" Folders/processed_items_LARG
    A3 OK LIST completed.
    A4 LIST "" Folders/junk_LARG
    * LIST (\HasNoChildren) "/" Folders/junk_LARG
    A4 OK LIST completed.
    Retrieving all messages from: INBOX
    1 messages retrieved.
    Processing junk email.
    *** Searching for junk mail ***
    A5 SEARCH OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR OR
    OR SUBJECT test1 SUBJECT test2 SUBJECT test3 SUBJECT test4 SUBJECT test5 SUBJECT test6 SUBJECT test7 SUBJECT test8 SUBJECT test9 SUBJECT test10 SUBJECT test1
    1 SUBJECT test12 SUBJECT test13 SUBJECT test14 SUBJECT test15 SUBJECT test16 SUBJECT test17 SUBJECT test18 SUBJECT test19 SUBJECT test20 SUBJECT test21 SUBJE
    CT test22 SUBJECT test23 SUBJECT test24 SUBJECT test25 SUBJECT test26 SUBJECT test27 SUBJECT test28 SUBJECT test29 SUBJECT test30 SUBJECT test31 SUBJECT test
    32 SUBJECT test33 SUBJECT test34 SUBJECT test35 SUBJECT test36 SUBJECT test37 SUBJECT test38 SUBJECT test39 SUBJECT test40 SUBJECT test41 SUBJECT test42 SUBJ
    ECT test43 SUBJECT test44 SUBJECT test45 SUBJECT test46 SUBJECT test47 SUBJECT test48 SUBJECT test49 SUBJECT test50 SUBJECT "Exchange Maintenance" 1
    * SEARCH 1
    A5 OK SEARCH completed.
    1 junk email items identified.
    A5 LIST "" Folders/junk_LARG

  • Mail doesn't send - javax.mail.MessagingException: 250

    Hello all,
    I'm new to JavaMail. I actually started with it last night. I've successfully sent a number of messages, but I randomly get a strange exception for no apparent reason.
    If I run the exact same code several times, it will produce this error about every 5 or 6 times:
    javax.mail.MessagingException: 250 Requested mail action okay, completed
    Does anyone know what might be going on? Thanks in advance for any help you might can give.
    Here is the heart of my code:
    // Get system properties
    Properties props = System.getProperties();
    // Setup mail server
    props.put("mail.smtp.host", host1);
    // Get session
    Session session = Session.getDefaultInstance(props, null);
              session.setDebug(true);
    // Define message
    MimeMessage message = new MimeMessage(session);
    // Set the from address
    message.setFrom(new InternetAddress(fromAddress));
    // Set the to address
    message.addRecipient(Message.RecipientType.TO, new InternetAddress(toAddress));
    // Set the subject
    message.setSubject(subject);
    // Set the content
    message.setContent(content, "text/html");
    // Send message
    Transport.send(message);
    Below is the debugger output: (certain values have been removed for anonymity's sake)
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG SMTP: useEhlo true, useAuth false
    DEBUG: SMTPTransport trying to connect to host "xx.xx.xx.xx", port 25
    DEBUG SMTP RCVD: 220 domain.company.com ESMTP MailEnable Service, Version: 1.704-- ready at 01/14/04 14:07:27
    DEBUG: SMTPTransport connected to host "xx.xx.xx.xx", port: 25
    DEBUG SMTP SENT: EHLO licensing
    DEBUG SMTP RCVD: 502
    DEBUG SMTP SENT: HELO licensing
    DEBUG SMTP RCVD: 250-AUTH LOGIN
    250-SIZE 5120000
    250-HELP
    250 AUTH=LOGIN
    DEBUG SMTP: use8bit false
    DEBUG SMTP SENT: MAIL FROM:<[email protected]>
    DEBUG SMTP RCVD: 250 Requested mail action okay, completed
    DEBUG SMTP SENT: RCPT TO:<[email protected]>
    DEBUG SMTP RCVD: 250 Requested mail action okay, completed
    Verified Addresses
    [email protected]
    DEBUG SMTP SENT: DATA
    DEBUG SMTP RCVD: 250 Requested mail action okay, completed
    DEBUG SMTP SENT: QUIT

    But I am getting that code thrown as a MessageException; the message never goes through. If you look at the debugging output compared to a message that went through, the DATA transmission commands are screwed up.
    Thanks for your input, though. I think I've gotten around this by trying to resend the message. It looks like that when I get this exception the message is never sent. I have a catch that detects this exception and tries to resend up to 3 times.
    Thanks,
    floosh

  • Javax.mail.MessagingException: Missing start boundary

    I use the following code creates a Mime file
    MimeMultipart mmp = new MimeMultipart();
                   MimeBodyPart mbp = null;
                   // add rootpart
                   mbp = new MimeBodyPart();
                   mbp.setContentID("[email protected]");
                   mbp.setDataHandler(new DataHandler(new FileDataSource(args[0])));
                   mmp.addBodyPart(mbp);
                   // add attachment info
                   for(int i = 1; i < args.length; i = i+2){
                        ByteArrayOutputStream baos = new ByteArrayOutputStream();
                        GZIPOutputStream gos = new GZIPOutputStream(baos);
                        FileInputStream fis = new FileInputStream(args[i+1]);
                        byte[] bytes = new byte[1024];
                        int len;
                        while((len = fis.read(bytes, 0, 1024)) > 0){
                             gos.write(bytes, 0, len);
                        fis.close();
                        gos.close();
                        baos.close();
                        InternetHeaders ih = new InternetHeaders();
                        ih.addHeader("Content-ID", args);
                        mbp = new MimeBodyPart(ih, baos.toByteArray());
                        mmp.addBodyPart(mbp);
                   String CarriageReturn = String.valueOf(CARRIAGE_RETURN);
                   String lineFeed = String.valueOf(LINE_FEED);
                   String horizontaltab = String.valueOf(HORIZONTAL_TAB);
                   FileOutputStream fos = new FileOutputStream(args[0] + ".mime");
                   StringBuffer msgParam = new StringBuffer();
                   msgParam.append("MIME-Version: 1.0");
                   msgParam.append(CarriageReturn);
                   msgParam.append(lineFeed);
                   msgParam.append("Content-Type: ");
                   msgParam.append(mmp.getContentType().replaceAll(CarriageReturn,"").replaceAll(lineFeed,"").replaceAll(horizontaltab,""));
                   msgParam.append("; start=\"<[email protected]>\"");
                   msgParam.append(CarriageReturn);
                   msgParam.append(lineFeed);
                   msgParam.append(CarriageReturn);
                   msgParam.append(lineFeed);
                   msgParam.append(CarriageReturn);
                   msgParam.append(lineFeed);
                   fos.write(msgParam.toString().getBytes());
                   mmp.writeTo(fos);
                   fos.close();
    I can correctly read the mime file at windows OS,but in linux OS i got the following error Message:
    2010/11/19 11:53:40     K101J2EED1     fatal     0041EBFC124735B5B67FFA9F4B3B09961KD1     例外=[javax.mail.MessagingException: Missing start boundary]     
    sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301)
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    $Proxy28.execute(Unknown Source)
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    jp.terasoluna.fw.web.struts.action.RequestProcessorEx.process(RequestProcessorEx.java:149)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:675)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:324)
    jp.co.nttdata.erc.sys.app.extended.ExtendedFilter.doFilter(ExtendedFilter.java:163)
    org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)
    org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:424)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:324)
    jp.co.nttdata.erc.sys.app.extended.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:174)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:424)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:324)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:379)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:983)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:349)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.tcg.ThreadControlGroupValve.invoke(ThreadControlGroupValve.java:82)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.ejb.management.mbean.web.RequestStatisticsValve.invoke(RequestStatisticsValve.java:72)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:188)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.catalina.core.StandardSessionValve.invoke(StandardSessionValve.java:96)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:983)
    org.apache.catalina.core.StandardContext.invoke(StandardContext.java:3928)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:261)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:197)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:983)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:983)
    org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:700)
    org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:959)
    java.lang.Thread.run(Thread.java:620)
    Edited by: chengen on Nov 24, 2010 8:26 PM
    Edited by: chengen on Nov 24, 2010 9:25 PM

    I can correctly read the mime file at windows OS,but in linux OS i got the following error Message:That would suggest one or more of the following.
    1. An end of line problem. Something is wrong with your use of CR/LF.
    2. A line length problem (brief look suggests a 998 limit.)
    3. One reader is more lenient than the other. This goes back to 1 and 2.

  • Javax.mail.MessagingException: 451 4.3.2 Please try again later

    Hi,
    Can any one help out to fix following problem.
    exception occurred :Sending failed;
    nested exception is:
         javax.mail.MessagingException: 451 4.3.2 Please try again later

    If this is generated by the server at random, I do not think javamail can not do anything about it. You can add retry logic in your code or figure out why server is giving this error (configuration issue? need to increase any parameters on the server side?).

  • Reading Inbox - javax.mail.MessagingException: Connect failed;

    I get an error message while trying to read emails by connecting to a company mailbox. The message is as follows:
    javax.mail.MessagingException: Connect failed;
    nested exception is:
         java.net.ConnectException: Connection refused: no further information
         boolean com.sun.mail.pop3.POP3Store.protocolConnect(java.lang.String, int, java.lang.String, java.lang.String)
         void javax.mail.Service.connect(java.lang.String, int, java.lang.String, java.lang.String)
         void javax.mail.Service.connect(java.lang.String, java.lang.String, java.lang.String)
         void GetMessageExample.main(java.lang.String[])
    The code is very simple and as follows:
    import java.io.*;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class GetMessageExample {
    public static void main (String args[]) throws Exception {
    String host = "companyname.com";
    String username = "user";
    String password = "xxxx";
    try{
    // Create empty properties
    Properties props = new Properties();
    // Get session
    Session session = Session.getInstance(props, null);
    // Get the store
    Store store = session.getStore("pop3");
    store.connect(host, username, password);
    // Get folder
    Folder folder = store.getFolder("INBOX");
    folder.open(Folder.READ_ONLY);
    BufferedReader reader = new BufferedReader (
    new InputStreamReader(System.in));
    // Get directory
    Message message[] = folder.getMessages();
    for (int i=0, n=message.length; i<n; i++) {
    System.out.println(i + ": " + message.getFrom()[0]
    + "\t" + message[i].getSubject());
    // Close connection
    folder.close(false);
    store.close();
    } catch (Exception e) {
    e.printStackTrace();
    I have a two part question:
    1. At home I am using a dial-up connection it works when I change the settings to an email account as provided by the local ISP.
    I have tried it with both "pop3" and "imap" in
    Store store = session.getStore("pop3");
    for the company email but it does not work.
    Is this a problem with company security? Maybe firewall/proxy error? If so how do I get around it?
    2. Also, when I am in the office (LAN used to connect to Internet) I cannot even get a connection to the ISP account - similar problem or different?
    Any thoughts and help most appreciated.
    Thanks in advance,
    Mark

    It could be that the mail server is not accepting connections from the machine you are on. Have you tried using Outlook Express or the Netscape email client to connect to the server/account from the machine that is getting the failure?

Maybe you are looking for

  • Mail keeps crashing - As in, multiple times an hour...

    Mail has started to crash consistently after only being open for minutes at a time. Often times, (usually even), I'm not even using the program and it will just quit and the little Report window will pop up. Here's the Exception type that it lists...

  • Change port from 80 to one else

    hello there I'm a programmer and my application need to use of port 80,unfortunatly Skype also used of this port do anyone know what should I do,or any one know can I use another port for my Skype? Thanks

  • C3-00::How Long Does It Take To Upgrade Firmware.....

    Hi I am want to upgrade my nokia c3-00 firmware from 04.60 to 08.70 through PC via Usb cable... How long does it take to upgrade,It moves to 5 MIUTES REMAINING and stucks there for hours... I m upgading it first time...Please tell how much time it ta

  • Does not open some pictures at Picasa

    Firefox does not open some pictures on picasa where IE opens them all. This only happens at Picasa, with everyones albums. Only about 1/2 show up and the ones that do not cannot be opened.

  • Possible to run 2 exchange systems in one AD Domain

    We have one AD domain, company.net We currently have Exchange on-prem with company.net. We have O365 with company.com as well. I am looking at putting in a 2nd on-prem Exchange system with company.com (still suing the company.net AD) and doing hybrid