Problems with javamail

Hello,
I am trying to use javamail, for sending emails and I am using NetBeans as the IDE, and IIS as the webserver.
I found a code online, from this webpage: http://www.javacommerce.com/displaypage.jsp?name=javamail.sql&id=18274
The webserver runs fine, and the code runs fine too, but the email doesnt get sent. maybe what parameters I pass are wrong, so I am attaching my code as well.
package emailexample;
import
com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingExcep
tion;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
public class Main {
public static void postMail( String recipients[ ],
        String subject,
        String message ,
        String from) throws javax.mail.MessagingException
    boolean debug = false;
     //Set the host smtp address
     Properties props = new Properties();
     //props.put("mail.smtp.host", "localhost");
     props.put("mail.smtp.host", "localhost");
    // create some properties and get the default Session
    Session session = Session.getDefaultInstance(props, null);
    session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    // set the from and to address
    InternetAddress addressFrom;
        try {
            addressFrom = new InternetAddress(from);
    msg.setFrom(addressFrom);
    InternetAddress[] addressTo = new InternetAddress[recipients.length];
    for (int i = 0; i < recipients.length; i++)
        addressTo[i] = new InternetAddress(recipients);
msg.setRecipients(Message.RecipientType.TO, addressTo);
// Optional : You can also set your custom headers in the Email if you Want
msg.addHeader("MyHeaderName", "myHeaderValue");
// Setting the Subject and Content Type
msg.setSubject(subject);
msg.setContent(message, "text/plain");
Transport.send(msg);
} catch (AddressException ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
public static void main(String[] args) {
try {
postMail(new String[]{"[email protected]"},
"testing java mail", "see it works :)",
"[email protected]");
} catch (javax.mail.MessagingException ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
can someone please help?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

The JavaMail FAQ has tips for debugging, pointers to sample programs, and much more. Start there.
In particular, a protocol trace will help us figure out what's not working.

Similar Messages

  • Problem with Javamail in Red Hat

    Good afternoon.
    I have a problem with javamail in Red Hat.
    When i send a email in windows with my application, works well. But in Red Hat no works.
    Gives the following error:
    Java.lang.ClassCastException .... gnu.mail.handler.TextPlain
    Does anyone know that happens?

    You have much to learn. This is the wrong forum for most of it.
    You should be able to use the package manager in Linux to
    uninstall the Gnu version. Then read this:
    [http://java.sun.com/products/javamail/FAQ.html#install|http://java.sun.com/products/javamail/FAQ.html#install]

  • Problems with Javamail Attachments

    Hi,
    i've got a major problem with my application and i can't find the answer. Whenever i'm trying to send an attachment i have this error :
    javax.mail.internet.ParseException
    at javax.mail.internet.ParameterList.<init>(ParameterList.java:77)
    at javax.mail.internet.ContentDisposition.<init>(ContentDisposition.java:69)
    at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1104)
    at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:824)
    at javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:215)
    at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1056)
    at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1914)
    at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1895)
    at javax.mail.Transport.send(Transport.java:79)
    at Send$5.run(Send.java:209)
    at java.lang.Thread.run(Thread.java:536)
    Interactive Session Ended
    My source code is :
    public class DemoSend implements ActionListener{
    public void actionPerformed(ActionEvent evt) {
    try {
    final Properties props = System.getProperties();
    props.put("mail.host", hostField.getText());
    final Session mailConnection = Session.getDefaultInstance(props, null);
    final MimeMessage msg = new MimeMessage(mailConnection);
    final Address to = new InternetAddress(toField.getText());
    final Address from = new InternetAddress(fromField.getText());
    msg.setContent(message.getText(), "text/plain");
    msg.setFrom(from);
    msg.setRecipient(Message.RecipientType.TO, to);
    msg.setSubject(subjectField.getText());
    msg.setSentDate(new java.util.Date());
    final MimeBodyPart mbp1 = new MimeBodyPart();
    mbp1.setText(message.getText());
    final MimeBodyPart mbp2 = new MimeBodyPart();
    mbp2.setDisposition(mbp2.ATTACHMENT);
    final FileDataSource fds=new FileDataSource(FileName);
    mbp2.setDataHandler(new DataHandler(fds));
    mbp2.setFileName(fds.getName());
    final Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp1);
    mp.addBodyPart(mbp2);
    msg.setSentDate(new Date());
    msg.setContent(mp);
    Runnable r = new Runnable() {
    public void run() {
    try {
    Transport.send(msg);
    JOptionPane.showMessageDialog(null," Your message has been sent successfuly","G T P Email Client",JOptionPane.INFORMATION_MESSAGE);
    catch (Exception e) {
    e.printStackTrace();
    JOptionPane.showMessageDialog(null," -- E r r o r -- Your message has not been sent!!!!! ","G T P Email Client",JOptionPane.INFORMATION_MESSAGE);
    Thread t = new Thread(r);
    t.start();
    message.setText("");
    catch (Exception e) {
    e.printStackTrace();
    and i define at the beggining the string FileName
    public static String FileName = new String();
    and thats for the attach button
    attachButton.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    if (fc == null) {
    fc = new JFileChooser();
    fc.addChoosableFileFilter(new ImageFilter());
    fc.setAcceptAllFileFilterUsed(true);
    fc.setFileView(new ImageFileView());
    fc.setAccessory(new ImagePreview(fc));
    fc.setMultiSelectionEnabled(true);
    int returnVal = fc.showDialog(Send.this,"Attach File");
    fc.getSelectedFile();
    File file = fc.getSelectedFile();
    It would be a great help if you can can help me find an answer to my problem.
    Thanks in advance.

    I tried to set a specific file for the FileChooser but again the same results.I tried without the preview classes again the same mistake.But when i tried without the JFileChooser it worked, but i must use a JFileChooser in order to choose a file to attach.I used a simple FileChooser and again the same mistakes.I don't know where the mistake is.
    I will be grateful if you can help me out,this is an emergency it is for my project and i'm desperate.
    I include the whole class.
    Thanks again and sorry for the long message.
    I hope you have some free time to help me out.
    Thanks again
    import java.awt.*;
    import javax.swing.JFileChooser.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import javax.activation.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    import java.util.Properties;
    public class Send extends JFrame {
         public static void main(String[] args) throws Exception{
              Send client = new Send();
              client.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              client.show();
         public static JLabel fromLabel = new JLabel("From: ");
              public static JLabel toLabel = new JLabel("To: ");
              public static JLabel hostLabel = new JLabel("SMTP Server: ");
              public static JLabel subjectLabel = new JLabel("Subject: ");
              public static JTextField fromField = new JTextField(40);
              public static JTextField toField = new JTextField(40);
              public static JTextField hostField = new JTextField(40);
              public static JTextField subjectField = new JTextField(40);
              public static JTextArea message = new JTextArea(40, 80);
              public static JScrollPane jsp = new JScrollPane(message);
         public static JButton sendButton = new JButton("Send Message");
         public static JButton clearButton = new JButton("Clear");
         public static JButton attachButton = new JButton("Attach File");
         public static JButton adbButton = new JButton("AddressBook");
         public static JFileChooser fc;
         public static String FileName = new String();
         public Send() {
              super("SMTP Send email");
              Container contentPane = this.getContentPane();
              contentPane.setLayout(new BorderLayout());
              JPanel labels = new JPanel();
              labels.setLayout(new GridLayout(4, 1));
              labels.add(hostLabel);
              JPanel fields = new JPanel();
              fields.setLayout(new GridLayout(4, 1));
              final String host = System.getProperty("mail.host", hostField.getText());
              hostField.setText(host);
              fields.add(hostField);
              final String to = System.getProperty("mail.to", toField.getText());
              labels.add(toLabel);
              fields.add(toField);
              final String from = System.getProperty("mail.from", fromField.getText());
              fromField.setText(from);
              labels.add(fromLabel);
              fields.add(fromField);
              labels.add(subjectLabel);
              fields.add(subjectField);
              Box north = Box.createHorizontalBox();
              north.add(labels);
              north.add(fields);
              north.add(attachButton);
              north.add(adbButton);
              contentPane.add(north, BorderLayout.NORTH);
              message.setFont(new Font("Arial", Font.PLAIN, 12));
              contentPane.add(jsp, BorderLayout.CENTER);
              JPanel south = new JPanel(new FlowLayout());
              south.setLayout(new FlowLayout(FlowLayout.CENTER));
              south.add(sendButton);
              south.add(clearButton);
              contentPane.add(south, BorderLayout.SOUTH);
              this.pack();
              adbButton.addActionListener(new ActionListener()
                        public void actionPerformed(ActionEvent e)
                             AddressBook adbook = new AddressBook();                     
              clearButton.addActionListener(new ActionListener()
                        public void actionPerformed(ActionEvent e)
                             fromField.setText("");
                             toField.setText("");      
                             hostField.setText("");     
                             subjectField.setText("");
                             message.setText("");
              attachButton.addActionListener(new ActionListener()
                             public void actionPerformed(ActionEvent e)
    if (fc == null) {
                             fc = new JFileChooser();
                                  fc.addChoosableFileFilter(new ImageFilter());
                                  fc.setAcceptAllFileFilterUsed(true);
                                  fc.setFileView(new ImageFileView());
                                  fc.setAccessory(new ImagePreview(fc));
                                  fc.setMultiSelectionEnabled(true);
                             int returnVal = fc.showDialog(Send.this,"Attach File");
                             File file= fc.getSelectedFile();
                             //fc.getSelectedFile();
                             /* JFileChooser fc = new JFileChooser();
                             int retval = fc.showOpenDialog(Send.this);
                        fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
                        fc.setMultiSelectionEnabled(true);
                        File file = fc.getSelectedFile();*/
              DemoSend handler = new DemoSend();
              sendButton.addActionListener(handler);
              addWindowListener(new WindowAdapter()
                        public void windowClosing (WindowEvent e)
              setSize (600, 500);
              show();
         public class DemoSend implements ActionListener{
              public void actionPerformed(ActionEvent evt) {
                   try {
                        final Properties props = new Properties();
                        props.put("mail.host", hostField.getText());
                        final Session mailConnection = Session.getDefaultInstance(props, null);
                        final MimeMessage msg = new MimeMessage(mailConnection);
                        final Address to = new InternetAddress(toField.getText());
                        final Address from = new InternetAddress(fromField.getText());
                        //msg.setContent(message.getText(), "Content-Transfer-Encoding ,base64");
                        msg.setFrom(from);
                        msg.setRecipient(Message.RecipientType.TO, to);
                        msg.setSubject(subjectField.getText());
                        msg.setSentDate(new java.util.Date());
                        final MimeBodyPart mbp1 = new MimeBodyPart();
                        final MimeBodyPart mbp2 = new MimeBodyPart();
                        mbp1.setContent("Content-Transfer-Encoding", "base64");
                        mbp1.setText(message.getText());
                        //if (!FileName.equals("")) {     
                        mbp2.setDisposition(mbp2.ATTACHMENT);
                        mbp2.setContent("Content-Transfer-Encoding", "base64");
                        final FileDataSource fds=new FileDataSource(FileName);
                        mbp2.setDataHandler(new DataHandler(fds));
                        mbp2.setFileName(fds.getName());
                        final Multipart mp = new MimeMultipart();
                        mp.addBodyPart(mbp1);
                        //if (!FileName.equals("")) {
                        mp.addBodyPart(mbp2);
                        msg.setSentDate(new Date());
                        msg.setHeader("Content-Type", "multipart/mixed");
                        msg.setContent(mp);
                        Runnable r = new Runnable() {
                             public void run() {
                                  try {
                                       Transport.send(msg);
                                       JOptionPane.showMessageDialog(null," Your message has been sent successfuly","G T P Email Client",JOptionPane.INFORMATION_MESSAGE);
                                  catch (Exception e) {
                                       e.printStackTrace();
                                       JOptionPane.showMessageDialog(null," -- E r r o r -- Your message has not been sent!!!!! ","G T P Email Client",JOptionPane.INFORMATION_MESSAGE);
                        Thread t = new Thread(r);
                        t.start();
                   catch (Exception e) {
                        e.printStackTrace();
    }

  • Problem with JavaMail 1.1 Api

    I have written a stateles session bean that should send a email using
              JavaMail 1.1 API. When running as it is now I receive a MessagingException:
              "No provider for Address type: rfc822". How do I grant permission to the
              mail.jar and activiation.jar files so that WL get it ? Im using Windows NT.
              Any help is greatly appreciated.
              Regards,
              Johan.
              

    SP2 is out now also - so please try it and let me know. I am trying to use the
              JavaMail stuff also. I do not seem to be having a problem on SP2 so far.
              - Tom
              Michael Girdley wrote:
              > I understand that this is a bug that is to be fixed in service pack No. 2.
              >
              > Thanks,
              > Michael
              >
              > --
              > ----
              > Michael Girdley
              > Product Manager, WebLogic Server & Express
              > BEA Systems Inc
              >
              > johan sanden <[email protected]> wrote in message
              > news:8hipsh$dur$[email protected]..
              > > I have written a stateles session bean that should send a email using
              > > JavaMail 1.1 API. When running as it is now I receive a
              > MessagingException:
              > > "No provider for Address type: rfc822". How do I grant permission to the
              > > mail.jar and activiation.jar files so that WL get it ? Im using Windows
              > NT.
              > >
              > > Any help is greatly appreciated.
              > >
              > > Regards,
              > >
              > > Johan.
              > >
              > >
              

  • Problem with JavaMail: don't work after I made it a jar

    Hi, My program works fine if I use -classpath to mail.jar and activation.jar but when I jar it i get:
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
    class javax.mail.MessagingException: IOException while sending message;
    nested exception is:
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=us-ascii
    at javax.mail.Transport.send0(Transport.java:218)
    at javax.mail.Transport.send(Transport.java:80)
    please help

    What did you jar?
    The archives JavaMail consists of might contain some non-class extra information.
    unzip -l /mnt/ntfs/LANGS/java/extjars/mail.jar  |grep -v class
    Archive:  /mnt/ntfs/LANGS/java/extjars/mail.jar
      Length     Date   Time    Name
        26991  05-21-99 13:31   META-INF/MANIFEST.MF
            0  05-21-99 13:31   META-INF/
          286  05-21-99 13:31   META-INF/javamail.default.providers
           12  05-21-99 13:31   META-INF/javamail.default.address.map
         1107  05-21-99 13:31   META-INF/javamail.charset.map
          335  05-21-99 13:31   META-INF/mailcap

  • Problem with relaying in JavaMail

    Hi all,
    I am having what seems to be a common problem with people attempting to send emails using JavaMail. I always get the following error....
    class javax.mail.SendFailedException: 550 relaying mail to compuserve.com is not allowed.
    I have done some research and I understand that most ISP's will not allow relaying through their servers for spamming reasons. Some people seem to have asked this question before but never been able to get an answer. What can be done to overcome this problem??? I need to send automated emails to people buying stuff from our website. I want to do this by reading the info from a database and sending them a personalised email based on the info in the database.
    Please help,
    Bow_wow.

    You are running all your mail through Exchange on the server? Whose server is this, yours? If it is yours, then you should be able to configure it to accept relaying from the machine where you are trying to send the e-mails from. If it is somebody else's, then talk to them about accepting relaying from your IP address.

  • JavaMail Problem with Outgoing Mail

    Hi, I's using a J2EE web application that makes use of JavaMail and an SMTP mail server to send outgoing mails and POP3 mail server to recieve mails.
    Everything is going fine with the POP3 mail server the application is able to recieve mails, and parse them.
    But I have problem with the outgoing mails, The application is successfuly sending mails through the SMTP mail server to addresses inside my organization, but failing the relay them to external addresses.
    Example: The application is successfuly sending mails to [email protected], but failing sendimg mails to [email protected]
    PS: the Address I configured the application to send emails from, can send mails to external users.
    I'm using Microsoft Exchange Server.

    Yeah man, I know. But the thing is am not familiar
    with the Microsoft Exchange Server configuration. And
    I guess my problem is a configureation problem.Then maybe a Java forum isn't the best place to be looking for help, innit? :-)
    Any
    expertise with Exchange Server ?Somewhere between "zero" and "none whatsoever."

  • Problem with unicode in MIME text/html

    Hi;
    I have a java program that sends email by sending it to our exchange server using SMTP. The email has both a To and a Bcc in the single email sent.
    The bcc addressee receives the email fine.
    The to address however has a problem with chars that are > 0x7f in the html. The html uses utf-8. But the displayed characters look as though the utf-8 part was ignored.
    Also weird, if I go to view, options in Outlook for the bcc email (which is good) it shows:
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_Part_0_32437168.1135634913407"
    Return-Path: [email protected]
    X-OriginalArrivalTime: 26 Dec 2005 22:08:33.0366 (UTC) FILETIME=[E94D1F60:01C60A68]
    ------=_Part_0_32437168.1135634913407
    Content-Type: text/plain; charset=Cp1252
    Content-Transfer-Encoding: quoted-printable
    ------=_Part_0_32437168.1135634913407
    Content-Type: text/html; charset=Cp1252
    Content-Transfer-Encoding: quoted-printable
    ------=_Part_0_32437168.1135634913407--
    But for the to email (which has the problem), it only shows:
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_Part_0_32437168.1135634913407"
    Return-Path: [email protected]
    X-OriginalArrivalTime: 26 Dec 2005 22:08:33.0366 (UTC) FILETIME=[E94D1F60:01C60A68]
    Does javamail do anything weird when it gets an email with a to and a bcc and split it up wrong? I just download and installed the latest mail.jar and activation.jar.
    thanks - dave

    OK...this didnt quite cure it for me...but having done this AND then this...
    MimeBodyPart htmlText = new MimeBodyPart();
    final String htmlStuff = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
    + "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"
    + "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">"
    + "<head>"
    + "<title>Stuff.</title>"
    + "<meta http-equiv=\"Content-Type\" content=\"application/xhtml+xml; charset=utf-8\"/>"
    + "</head><body>"
    + "<p>Currency Symbols: \u00A3\u00A2\u20A3\u20AC$<p>"
    + "</body></html>";
    DataSource htmlSource = new DataSource()
    private String stuff = htmlStuff;
    private Charset cset = Charset.forName("utf-8");
    public String getContentType() { return "text/html"; };
    public java.io.InputStream getInputStream() throws IOException
    return new ByteArrayInputStream(cset.encode(stuff).array());
    public String getName()
    return null;
    public OutputStream getOutputStream() throws IOException
    throw new IOException();
    htmlText.setDataHandler(new DataHandler(htmlSource));
    htmlText.addHeader("Content-Transfer-Encoding","base64");
    This works for me as shown by the Unicode chars in the html.
    If you intend to take this to production create a decent external DataHandler class and avoid the use of the anonymous class - which then avoids the need for the final String and the string can come from anywhere then.
    Hope this helps,
    Barry

  • Problem with non-ASCII file name in content disposition header

    Hi All,
    I am facing some problems with the non-ASCII file name incase of content-disposition header. I read from the RFC 2183 that if the file name contains non-ASCII characters then the same should be encoded before sending to browser. I did the same but realized 2 problems:
    1. The name of the file is truncated in case the file name is slightly long for e.g. �����������j�b�g��������������������������.txt
    2. Also when the same file is opened in notepad, the title is showing encoded name %E6%9C%80%E4%B8%8A%E4%BD%8D.....
    Overall, I feel that the browser is not understanding or responding to the encoded header values.
    Is there any solution to this problem? I am using Microsoft IE 6.0.
    The code snippet is given below:
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
              String fileName = "�����������j�b�g��������������������������.txt";          
              fileName = URLEncoder.encode(fileName, "UTF-8");
              resp.setCharacterEncoding("UTF-8");
              resp.setHeader("Content-Disposition", "attachment; filename=\"" + fileName + "\"");
              resp.setContentType("application/download-binary");
              String s = "This is inside txt file";
              resp.getOutputStream().write(s.getBytes("UTF-8"));
              return;
         }Any help or pointer would be highly appreciated.
    Thanks and Regards,
    Ashish

    The MIME standards for non-ASCII filenames are not widely implemented.
    Many mailers use an ad hoc method for encoding filenames. JavaMail
    supports both methods, but you need to set properties, such as the
    mail.mime.encodefilename property. See the JavaMail javadocs for
    the javax.mail.internet package.

  • Problem with XI J2EE Stack

    We are getting the following error when the XI stack starts up. It seems to point to a problem in the Exchange Profile. However, I am not sure whether it is complaining because of incorrect parameters or because it is unable to access it. This instance of XI has been running just fine for the last few months and we have had no problems with it. All the J2EE services are shut down as the exception shows. Any insight into what the problem might be is well appreciated.
    FYI, We haven't added any patches for the last couple of months. It was working fine during that time.
    Included is the output from the log.
    stdout/stderr redirect
    node name   : server0
    pid         : 4500
    system name : XID
    system nr.  : 00
    started at  : Thu Jan 20 14:57:26 2005
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude iaik/security/md/SHA a
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    SAP J2EE Engine Version 6.40   PatchLevel 87037.313 is starting...
    Loading: LogManager ... 4687 ms.
    Loading: PoolManager ... 16 ms.
    Loading: ApplicationThreadManager ... 142 ms.
    Loading: ThreadManager ... 158 ms.
    Loading: IpVerificationManager ... 126 ms.
    Loading: ClassLoaderManager ... 78 ms.
    Loading: ClusterManager ... 1558 ms.
    Loading: LockingManager ... 724 ms.
    Loading: ConfigurationManager ... 5647 ms.
    Loading: LicensingManager ... 47 ms.
    Loading: ServiceManager ...
    Loading services.:
      Service cross started. (47 ms).
      Service memory started. (47 ms).
      Service file started. (173 ms).
      Service timeout started. (126 ms).
      Service userstore started. (31 ms).
      Service runtimeinfo started. (31 ms).
      Service tcsecvsi~service started. (362 ms).
      Service p4 started. (1541 ms).
      Service trex.service started. (692 ms).
      Service jmx_notification started. (865 ms).
      Service classpath_resolver started. (126 ms).
      Service tcsecwssec~service started. (661 ms).
      Service deploy started. (10662 ms).
      Service log_configurator started. (11997 ms).
      Service locking started. (16 ms).
      Service apptracing started. (424 ms).
      Service http started. (533 ms).
      Service naming started. (816 ms).
      Service ts started. (203 ms).
      Service javamail started. (298 ms).
      Service failover started. (220 ms).
      Service licensing started. (47 ms).
      Service appclient started. (282 ms).
      Service jmsconnector started. (455 ms).
      Service connector started. (204 ms).
      Service configuration started. (16 ms).
      Service webservices started. (2887 ms).
      Service dbpool started. (9428 ms).
      Service com.sap.aii.af.svc started. (942 ms).
      Service com.sap.security.core.ume.service started. (4048 ms).
      Service security started. (5083 ms).
      Service applocking started. (486 ms).
      Service shell started. (675 ms).
      Service tceCATTPingservice started. (189 ms).
      Service classload started. (549 ms).
      Service telnet started. (220 ms).
      Service keystore started. (1789 ms).
      Service ssl started. (156 ms).
      Service ejb started. (2322 ms).
      Service servlet_jsp started. (2400 ms).
      Service tcsecsecurestorage~service started. (753 ms).
      Service dsr started. (2150 ms).
      Service jmx started. (2730 ms).
      Service webdynpro started. (2526 ms).
      Service tcsecdestinations~service started. (753 ms).
      Service pmi started. (392 ms).
      Service basicadmin started. (894 ms).
      Service adminadapter started. (659 ms).
      Service sld started. (2824 ms).
      Service rfcengine started. (5098 ms).
      Service monitor started. (4032 ms).
      Service tc.monitoring.logviewer started. (7608 ms).
      Service com.sap.aii.af.ms.svc started. (7640 ms).
      Service jms_provider started. (11437 ms).
      Service com.sap.aii.af.cpa.svc started. (11718 ms).
      Service com.sap.aii.adapter.marketplace.svc started. (188 ms).
      Service com.sap.aii.adapter.xi.svc started. (282 ms).
      Service com.sap.aii.af.security.service started. (204 ms).
      Service com.sap.aii.adapter.bc.svc started. (361 ms).
      Service com.sap.aii.adapter.mail.svc started. (94 ms).
      Service com.sap.aii.adapter.jms.svc started. (644 ms).
      Service com.sap.aii.adapter.jdbc.svc started. (612 ms).
      Service com.sap.aii.adapter.file.svc started. (659 ms).
      Service com.sap.aii.af.ispeak.svc started. (706 ms).
      Service com.sap.aii.adapter.rfc.svc started. (1882 ms).
    ServiceManager started for 69917 ms.
    Framework started for 84184 ms.
    SAP J2EE Engine Version 6.40   PatchLevel 87037.313 is running!
    PatchLevel 87037.313 October 19, 2004 19:52 GMT
    >### Excluding compile:  iaik.security.md.SHA::a
    Jan 22, 2005 3:03:51 AM         com.sap.engine.core.configuration [Thread[Timeout Service Internal Thread,5,SAPEngine_System_Thread[impl:5]_Group]] Fatal: Error event: java.sql.SQLException: Io exception: Connection reset by peer: socket write error
    Jan 25, 2005 10:17:28... ...utilxi.prop.api.PropertySourceFactory [SAPEngine_Application_Thread[impl:3]_0] Fatal: XI properties could not be initialized. Check ExchangeProfile (or aii.properties).
    Thrown:
    java.lang.Throwable: dummy Throwable for stack trace
         at com.sap.aii.utilxi.prop.api.PropertySourceFactory.getPropertySource(PropertySourceFactory.java:55)
         at com.sap.aii.utilxi.misc.api.AIIProperties.sync(AIIProperties.java:528)
         at com.sap.aii.utilxi.misc.api.AIIProperties.<init>(AIIProperties.java:301)
         at com.sap.aii.utilxi.misc.api.AIIProperties.getInstance(AIIProperties.java:328)
         at com.sap.aii.ib.server.util.perf.TimerFactory.<clinit>(TimerFactory.java:86)
         at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:73)
         at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
         at $Proxy30.processFunction(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:95)
         at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)
         at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Jan 29, 2005 7:37:28 AM         com.sap.engine.core.configuration [SAPEngine_Application_Thread[impl:3]_23] Fatal: Error event: java.sql.SQLException: Io exception: Connection reset by peer: socket write error
    Jan 31, 2005 4:11:19 PM  ...l.cache.WebResourceCache.startService [Thread[Thread-1140,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: ~wd_key0_1107205757104
    Feb 5, 2005 3:07:25 AM          com.sap.engine.core.configuration [Thread[Timeout Service Internal Thread,5,SAPEngine_System_Thread[impl:5]_Group]] Fatal: Error event: java.sql.SQLException: Io exception: Connection reset by peer: socket write error
    Feb 5, 2005 3:02:56 PM          com.sap.engine.core.configuration [SAPEngine_System_Thread[impl:5]_78] Fatal: Error event: java.sql.SQLException: Io exception: Connection reset by peer: socket write error
    Feb 6, 2005 3:03:13 PM          com.sap.engine.core.configuration [SAPEngine_System_Thread[impl:5]_77] Fatal: Error event: java.sql.SQLException: Io exception: Connection reset by peer: socket write error
    Feb 19, 2005 3:15:45 AM         com.sap.engine.core.configuration [Thread[Timeout Service Internal Thread,5,SAPEngine_System_Thread[impl:5]_Group]] Fatal: Error event: java.sql.SQLException: Io exception: Connection reset by peer: socket write error
    SAP J2EE Engine Version 6.40   PatchLevel 87037.313 is shutting down!  PatchLevel 87037.313 October 19, 2004 19:52 GMT
    Stopping services.
      Service com.sap.aii.adapter.rfc.svc stopped. (439 ms)
      Service com.sap.aii.af.ispeak.svc stopped. (78 ms)
      Service com.sap.aii.adapter.marketplace.svc stopped. (15 ms)
      Service com.sap.aii.adapter.jdbc.svc stopped. (79 ms)

    Hi Sunit,
    Did you figure out what happened? We're seeing the same issue.
    Thanks,
    Jay

  • Sending � signs with JavaMail

    Hi chaps,
    At our company we use the JavaMail API through JNI to send emails externally to customers.
    Recently the business has decided that it would be nice to send pound (�) through, however it's not going to plan.
    Normally the messages are encoded in 7-bit which would seem to exclude the � (163), however it seems that it is first converted to a (=80, hex with no ascii correlation) and then to a Euro symbol.
    I've tried setting the "allow8bitmime" property in order to enable the SMTP service to support 8-bit encoding, but it's not working AND Microsoft say that our Exchange (v5.5) doesn't support 8-bit MIME types. The odd thing is that sending external emails via Exchange supports the � with no problems and is read in the mail reader as 8-bit encoded (!).
    Has anybody had any experience with issues like this ? Any reply appreciated.
    Thanks
    Ammonite

    Ammonite,
    I am working on a similar problem.. Did you say your
    email gets translated and prints the Euro symbol... I
    actually need out email to print Both the pound and
    the Euro and it does niether right now.. The current implementation I am working on will display a Euro instead of a pound, although this isn't by design. The message is encoded using "Quoted-Printable" and substitutes the pound for a =80 character. How this maps to a Euro is unknown to me :(
    In standard ascii the pound is outside the standard 7-bit encoding range (163) and featured in the Extended Set on the platform we use. I'm not sure about the Euro. The Iso-8859-1 charset which SH provided supports the pound in "Quoted-Printable" encoding, but this hasn't been well received by JavaMail MIME objects that I have tried.
    I haven't managed any sort of 8-bit encoding with JavaMail as yet, due to supposed lack of support in Exchange 5.5 and lack of response to the "allow8bitmime" property.
    does anyone know is using MimeMessage limit the
    message to ASCII characters only and does that rule
    out the Euro and the Pound symbol/
    It shoudn't rule them out, but I'm starting to believe that MimeMessages are necessarily helping things here :)

  • Sending email with javamail

    Hi
    I am new to javaMail....And i having a problem with this program.
    I getting the following exception when the run the following program
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.Properties;
    public class MailDemo
    public static void main(String[] args) throws Exception
    boolean debug = false;
    //Set the host smtp address
    Properties props = new Properties();
    props.put("mail.smtp.host", "smtp.mail.yahoo.com");
    props.put("mail.transport.protocol","smtp");
    props.put("mail.smtp.port","25");
    // create some properties and get the default Session
    Session session = Session.getDefaultInstance(props, null);
    session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    Transport transport = session.getTransport();
    // set the from and to address
    InternetAddress addressFrom = new InternetAddress("[email protected]");
    msg.setFrom(addressFrom);
    InternetAddress addressTo = new InternetAddress("[email protected]");
    msg.setRecipient(Message.RecipientType.TO, addressTo);
    // Optional : You can also set your custom headers in the Email if you Want
    msg.addHeader("MyHeaderName", "myHeaderValue");
    // Setting the Subject and Content Type
    //msg.setSubject(subject);
    //msg.setContent(message, "text/plain");
    //Transport.send(msg);
    msg.setSubject("Testing javamail plain");
    msg.setContent("This is a test", "text/plain");
    transport.sendMessage(msg,msg.getRecipients(Message.RecipientType.TO));
    transport.close();
    I get th following error message:
    Exception in thread "main" java.lang.IllegalStateException: Not connected
    at com.sun.mail.smtp.SMTPTransport.checkConnected(SMTPTransport.java:151
    1)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:548)
    at MailDemo.main(MailDemo.java:51)
    It is a simple program to send a plain email...
    Can anyone help me out
    Thanks in advance
    Deepthi

    It's not connected because you never call Transport.connect.
    It's not clear from your code why you chose to use the more
    complex way of managing the Transport object yourself rather
    than just using the static Transport.send method.
    You're also setting some properties that don't really need to be
    set because they match the default values.

  • Problems with folder.getList(); (Solved)

    EDITED, solution in the end
    Hello, I'm getting my Imap account folder list and I'm haveing problems with that. I have read the Javamail API demo example (folderlist.java), but I'm having problems when I use differents servers.
    The problem is that with my server I don't know why in my console I'm printing the folder list two times, one with "" "*" and another with INBOX.*:
    I only want the first one.
    ++
    +A2 LIST "" "*"+
    +* LIST (\Unmarked \HasChildren) "." "INBOX"+
    +* LIST (\HasNoChildren) "." "INBOX.Carpeta1.Carpeta11"+
    +* LIST (\HasNoChildren) "." "INBOX.Be&APE-at.A"+
    +* LIST (\HasChildren) "." "INBOX.Carpeta1"+
    +* LIST (\HasChildren) "." "INBOX.Be&APE-at"+
    +* LIST (\HasNoChildren) "." "INBOX.Trash"+
    +A2 OK LIST completed+
    +A3 LIST "" "INBOX.*"+
    +* LIST (\HasNoChildren) "." "INBOX.Carpeta1.Carpeta11"+
    +* LIST (\HasNoChildren) "." "INBOX.Be&APE-at.A"+
    +* LIST (\HasChildren) "." "INBOX.Carpeta1"+
    +* LIST (\HasChildren) "." "INBOX.Be&APE-at"+
    +* LIST (\HasNoChildren) "." "INBOX.Trash"+
    +A3 OK LIST completed+
    ++
    The only thing that I want is, get the folder list and add to my ArrayList, nothing more. I think that should be very easy, but I don't know what are I doing wrong.
    I'm doing
    ++
    +folder = store.getFolder("*");//to take the folder+
    +Folder[] listaCarpetas = folder.list("*"); //to take the list+
    ++
    I can do all in one sentence? Or which is the solution to do that to all type of servers (my own server, gmail, ....). Some days ago I did something that works(not totaly right but..) but now I have "lost" that code. I hope that someone can help me to get the list.
    Thanks!
    I edited because I have the solution. The solution is:
    folder = store.getDefaultFolder();
    Folder[] listaCarpetas = folder.list("*");Edited by: baltuna on 16-oct-2009 9:42
    Edited by: baltuna on 16-oct-2009 9:55

    hi Leann!
    QuickTime failed to initialize (error -2093). QuickTime is required to run iTunes. Please reinstall iTunes.
    let's use an augmented version of the following procedure:
    http://docs.info.apple.com/article.html?artnum=31115
    the augmentation is that keep all antivirus and antispyware applications switched off during installs and uninstalls.
    if you're still running into trouble, try switching off
    b all
    applications running in the background. there's instructions given here:
    http://consumer.installshield.com/kb.asp?id=Q108377
    keep us posted.
    love, b

  • Problem with starting j2ee stack

    We have Netweaver 2004s ABAP+J2EE (Add-in). ABAP stack starts ok, but j2ee stack not :(.
    dev_jcontrol:
    [Thr 6040] JControlExecuteBootstrap: execute bootstrap process [bootstrap]
    [Thr 6040] INFO: Invalid property value [javaVMPath=C:\j2sdk1.4.2_09]
    [Thr 6040] INFO: Invalid property value [javaVMVersion=1.4.2_09-b05]
    [Thr 6040] INFO: Invalid property value [javaVMVendor=Java HotSpot(TM) Server VM (Sun Microsystems Inc.)]
    [Thr 6040] INFO: Invalid property value [javaVMCpu=x86]
    [Thr 6040] INFO: Invalid property value [javaVMLibPath=C:\j2sdk1.4.2_09\jre\bin\server;C:\j2sdk1.4.2_09\jre\bin]
    [Thr 6040] INFO: Invalid property value [javaVMExePath=C:\j2sdk1.4.2_09\bin]
    [Thr 6040] *** ERROR => Main class not specified [jstartxx.c   2592]
    [Thr 6040] *** ERROR => node [bootstrap] not found [jstartxx.c   1593]
    [Thr 6040] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = -18)
    [Thr 6040] JControlCloseProgram: started (exitcode = -18)
    [Thr 6040] JControlCloseProgram: good bye... (exitcode = -18)
    instance.properties
    #bootstrap. : -
    #bootstrap. : generated VM parameters
    #bootstrap. : Thu Apr 20 14:36:35 2006
    #bootstrap. : -
    bootstrap.javaVMPath=C:\j2sdk1.4.2_09
    bootstrap.javaVMVersion=1.4.2_09-b05
    bootstrap.javaVMVendor=Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    bootstrap.javaVMType=server
    bootstrap.javaVMCpu=x86
    bootstrap.javaVMLibPath=C:\j2sdk1.4.2_09\jre\bin\server;C:\j2sdk1.4.2_09\jre\bin
    bootstrap.javaVMExePath=C:\j2sdk1.4.2_09\bin
    And I can't understand what can be problem with java props. Any suggestion?
    Thanks in advance,
    Aliaksandr Kuchar

    Thank you Vladimir for your replies, it's very helpful.
    Actually we managed to restore properties file on our files system. And now sap mmc shows that j2ee server starts well. But we cann't connect it by http neither deafult page of server nor any other (portal f.e.), but can connect Visual Admin.
    std_server0.out
    SAP J2EE Engine Version 7.00   PatchLevel is starting...
    Loading: LogManager ... 1782 ms.
    Loading: PoolManager ... 15 ms.
    Loading: ApplicationThreadManager ... 141 ms.
    Loading: ThreadManager ... 31 ms.
    Loading: IpVerificationManager ... 47 ms.
    Loading: ClassLoaderManager ... 31 ms.
    Loading: ClusterManager ... 453 ms.
    Loading: LockingManager ... 110 ms.
    Loading: ConfigurationManager ... 8281 ms.
    Loading: LicensingManager ... 47 ms.
    Loading: CacheManager ... 125 ms.
    Loading: ServiceManager ...
    Loading services.:
      Service DQE started. (0 ms).
      Service runtimeinfo started. (32 ms).
      Service memory started. (188 ms).
      Service cross started. (172 ms).
      Service file started. (250 ms).
      Service timeout started. (219 ms).
      Service cafeuodi~mnuacc started. (0 ms).
      Service trex.service started. (31 ms).
      Service p4 started. (969 ms).
      Service classpath_resolver started. (78 ms).
      Service cafeucc~api started. (2922 ms).
      Service jmx_notification started. (93 ms).
      Service userstore started. (47 ms).
      Service log_configurator started. (8000 ms).
      Service locking started. (15 ms).
      Service naming started. (1187 ms).
      Service failover started. (78 ms).
      Service appclient started. (140 ms).
      Service javamail started. (641 ms).
      Service ts started. (609 ms).
      Service http started. (1469 ms).
      Service licensing started. (31 ms).
      Service jmsconnector started. (562 ms).
      Service connector started. (546 ms).
      Service iiop started. (656 ms).
      Service webservices started. (3625 ms).
      Service deploy started. (15578 ms).
      Service configuration started. (47 ms).
      Service MobileSetupGeneration started. (47 ms).
      Service MigrationService started. (79 ms).
      Service MobileArchiveContainer started. (63 ms).
      Service bimmrdeployer started. (0 ms).
      Service dbpool started. (2266 ms).
      Service cafeugpmailcf started. (62 ms).
      Service com.sap.security.core.ume.service started. (2578 ms).
      Service security started. (1296 ms).
      Service classload started. (156 ms).
      Service applocking started. (344 ms).
      Service shell started. (328 ms).
      Service tceCATTPingservice started. (78 ms).
      Service telnet started. (78 ms).
      Service webdynpro started. (859 ms).
      Service cafummetadata~imp started. (937 ms).
      Service ejb started. (2219 ms).
      Service servlet_jsp started. (2937 ms).
      Service dsr started. (1500 ms).
      Service developmentserver started. (2687 ms).
      Service keystore started. (3593 ms).
      Service ssl started. (78 ms).
      Service tcsecsecurestorage~service started. (562 ms).
      Service cafumrelgroups~imp started. (3297 ms).
      Service tcsecwssec~service started. (235 ms).
      Service tcsecdestinations~service started. (703 ms).
      Service pmi started. (500 ms).
      Service sld started. (2875 ms).
      Service cafruntimeconnectivity~impl started. (28656 ms).
      Service cafeugp~model started. (375 ms).
      Service tcsecvsi~service started. (1797 ms).
      Service tceujwfuiwizsvc started. (16 ms).
      service tcdisdic~srv ================= ERROR =================
      Service jmx started. (6110 ms).
      Service cafeuer~service started. (1781 ms).
      Service tc.CBS.Service started. (9578 ms).
      Service prtbridge started. (5954 ms).
      Service CUL started. (5703 ms).
      Service com.adobe~DataManagerService started. (6047 ms).
    Jun 7, 2007 3:08:03 PM   ...utilxi.prop.api.PropertySourceFactory [SAPEngine_System_Thread[impl:5]_43] Fatal: XI properties could not be initialized. Check ExchangeProfile (or aii.properties).
    Thrown:
    java.lang.Throwable: dummy Throwable for stack trace
         at com.sap.aii.utilxi.prop.api.PropertySourceFactory.getPropertySource(PropertySourceFactory.java:55)
         at com.sap.aii.utilxi.misc.api.AIIProperties.sync(AIIProperties.java:548)
         at com.sap.aii.utilxi.misc.api.AIIProperties.<init>(AIIProperties.java:319)
         at com.sap.aii.utilxi.misc.api.AIIProperties.getInstance(AIIProperties.java:346)
         at com.sap.aii.af.service.sld.SLDAccess.syncExchangeProfile(SLDAccess.java:43)
         at com.sap.aii.af.service.cpa.impl.util.SLDReader.run(SLDReader.java:89)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
      Service apptracing started. (3125 ms).
      Service basicadmin started. (7422 ms).
      Service com.adobe~LicenseService started. (531 ms).
      Service com.adobe~DocumentServicesConfiguration started. (859 ms).
      Service adminadapter started. (3531 ms).
      Service com.sap.portal.pcd.gl started. (156 ms).
      Service com.adobe~DocumentServicesBinaries2 started. (4156 ms).
      Service com.adobe~DocumentServicesDestProtoService started. (4250 ms).
      Service com.adobe~DocumentServicesLicenseSupportService started. (3391 ms).
      Service com.adobe~TrustManagerService started. (2906 ms).
      Service jms_provider started. (14734 ms).
      Service monitor started. (6047 ms).
      Service com.sap.portal.prt.sapj2ee started. (93 ms).
      Service com.sap.aii.af.cpa.svc started. (18157 ms).
      Service com.sap.aii.af.svc started. (1640 ms).
      Service com.sap.aii.af.security.service started. (515 ms).
      Service com.sap.aii.af.ms.svc started. (672 ms).
      Service com.sap.aii.adapter.marketplace.svc started. (437 ms).
      Service com.sap.aii.adapter.jms.svc started. (765 ms).
      Service com.sap.aii.adapter.xi.svc started. (734 ms).
      Service com.sap.aii.adapter.bc.svc started. (1016 ms).
      Service com.sap.aii.adapter.mail.svc started. (610 ms).
      Service com.sap.aii.adapter.jdbc.svc started. (640 ms).
      Service com.sap.aii.adapter.rfc.svc started. (1063 ms).
      Service com.sap.aii.adapter.file.svc started. (766 ms).
      Service com.sap.aii.af.ispeak.svc started. (437 ms).
      Service com.adobe~FontManagerService started. (19078 ms).
      Service com.adobe~PDFManipulation started. (18281 ms).
      Service com.adobe~XMLFormService started. (4468 ms).
      Service tc.monitoring.logviewer started. (32672 ms).
      Service rfcengine started. (43672 ms).
    ServiceManager started for 81656 ms.
    Framework started for 93172 ms.
    SAP J2EE Engine Version 7.00   PatchLevel is running!
    PatchLevel October 23, 2006 07:41 GMT
    Could it be forced by absence of aii.property or by service tcdisdic~srv ================= ERROR =================? How could I indicate problem in more exact way?

  • Creating users with javamail in cyrus

    Hi!
    please, help me!!! I'm in problems..
    I need to create users (accounts) with javamail in cyrus.. but I don't know how to do that... The connect method requires a user but which user I have to put there in this case?
    Can anybody give me a solution please?
    thanks!
    Kary

    Management issues are beyond the scope of JavaMail.

Maybe you are looking for