11 Replies Latest reply on Feb 13, 2004 3:08 PM by julien1

    Email from Watched Forums

    dirtyben13

       

      "dirtyben13" wrote:
      Does this work yet? I can't seem to get it to work on my installation. Any suggestions on what to look into might help. I havn't configured any sort of mail server info, which is what I imagine is the problem, just don't know where I should configure it.

      Thanks,
      Ben


        • 1. Re: Email from Watched Forums

           

          "cooper" wrote:
          have you first configured the MailModule to put the IP adress of your DNS server ?


          • 2. Re: Email from Watched Forums
            dirtyben13

             

            "dirtyben13" wrote:
            I put the DNS server in there and still not getting any emails on watched topis.

            Do I need to put anything in the configuration section?


            • 3. Re: Email from Watched Forums

               

              "cooper" wrote:
              what you can try is to test the email sending directly by going in the JMX-console and go on the MBean nukes.modules:name=mail, in there you have an operation, don't remember the name but it takes 4 strings are parameters : from, to, subject, body.

              with that you can test that sending emails works by sending an email to yourself


              • 4. Re: Email from Watched Forums
                dirtyben13

                 

                "dirtyben13" wrote:
                ok... I went to the JMX console, and invoked the send method from the console with the correct from, to subject and body fields (I assumed they were in the order that you listed since the console only tells me the type of the field), and it tries to do something. When the page returns it gives the message of "Return value is null" and no mail is sent.

                Just to make sure I am setting the DNSServer to my DNSServer, not my mail server. Is that correct?

                Can you explain what is actually happening when it is trying to send email?


                • 5. Re: Email from Watched Forums

                   

                  "cooper" wrote:
                  yes, you should check that your DNSServer is mounted too. the Mounted attribute should be true.

                  you can test it by using the operation : mklookup that will give you the MX fields of a server : for instance you can use "yahoo.com" as lookup value and it should give you back : mx1.mail.yahoo.com.,mx2.mail.yahoo.com.,mx4.mail.yahoo.com.

                  if your settings say that the DNS is not mounted, you should mount it with the mount operation.


                  • 6. Re: Email from Watched Forums
                    dirtyben13

                     

                    "dirtyben13" wrote:
                    ok, figured out that I was using the wrong DNS Server (new to this company, sorry), but now I am getting the following error:

                    javax.mail.MessagingException: 452 4.4.5 Insufficient disk space; try again later

                    at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:923)
                    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:643)
                    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:322)
                    at org.jboss.nukes.core.modules.mail.MailModule.deliver(MailModule.java:297)
                    at org.jboss.nukes.core.modules.mail.MailModule.deliver(MailModule.java:263)
                    at org.jboss.nukes.core.modules.mail.MailModule.access$000(MailModule.java:46)
                    at org.jboss.nukes.core.modules.mail.MailModule$1.run(MailModule.java:156)
                    at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:88)
                    at java.lang.Thread.run(Thread.java:534)

                    I checked the computer and it has around 11 Gigs of free space. Any clues as to what could be causing this?

                    I am (unfortunatly) having to use IIS and JBoss together, could that have anything to do with it? Or is this an issue with the mail server I am trying to use?


                    • 7. Re: Email from Watched Forums
                      dirtyben13

                       

                      "dirtyben13" wrote:
                      Ok, so I tried to send to yahoo instead and am getting this error:

                      2004-01-29 09:30:16,125 ERROR [org.jboss.nukes.component.Component.mail] Cannot send mail
                      javax.mail.MessagingException: Could not connect to SMTP host: mx4.mail.yahoo.com., port: 25
                      at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:899)
                      at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:158)
                      at javax.mail.Service.connect(Service.java:233)
                      at javax.mail.Service.connect(Service.java:134)
                      at javax.mail.Service.connect(Service.java:86)
                      at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:95)
                      at org.jboss.nukes.core.modules.mail.MailModule.deliver(MailModule.java:292)
                      at org.jboss.nukes.core.modules.mail.MailModule.deliver(MailModule.java:263)
                      at org.jboss.nukes.core.modules.mail.MailModule.access$000(MailModule.java:46)
                      at org.jboss.nukes.core.modules.mail.MailModule$1.run(MailModule.java:156)
                      at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:88)
                      at java.lang.Thread.run(Thread.java:534)

                      Also... I am not getting these errors when trying to use the JMX console that i deploy inside of nukes, I can only get it to work from the jmx-console.


                      • 8. Re: Email from Watched Forums
                        dirtyben13

                         

                        "dirtyben13" wrote:
                        well... when I say "work" I mean get it to throw an exception. When I try to invoke the send method from the jmx version inside nukes, it doesn't show anything in the logs.


                        • 9. Re: Email from Watched Forums
                          dirtyben13

                          Still have yet to get this working... I can get it to send a message from the JMX console but not from the JMX console of Nukes or when actually posting from a forum that I am watching.

                          Do I need to do anything beside set the DNS server property for nukes to know how to send mail?

                          Has anyone else gotten this to work?

                          • 10. Re: Email from Watched Forums
                            mcscottmc

                            It does not seem to be working on our system either. We have been using the MailModule extensively (for lost password and for sending out our own custom emails) with no problem.

                            Our code is synchronized to the latest CVS commit. I would like to get this feature working too, but right now I have a little bit bigger fish to fry...

                            -Scott

                            • 11. Re: Email from Watched Forums

                              the nukes jmx console is bugged