Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1261

Send mail that requires pop authentication

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Minor
    • None
    • JBossAS-3.2.5 Final, JBossAS-4.0.0 Final, JBossAS-4.0.1RC1, JBossAS-3.2.6 Final, JBossAS-4.0.1 Final
    • None
    • None

    Description

      This issue is not for JBossMail server it is for the JavaMail component in JBossAS

      SourceForge Submitter: mcsweenb .
      I would like to know how to send mail using the jboss
      mail-service.xml if the mail server first requires pop
      authentication.

      For example, my server is running jboss-3.2.2 behind a
      firewall. It's using a mail server outside the firewall which
      requires pop authentication before mail can be sent. My
      jboss server is using the mail-service.xml

      I wonder if there is a parameter in the mail-service.xml
      file that will allow me to use pop authentication.

      An old jboss document

      http://jboss.sourceforge.net/doc-24/ch11s98.html

      pointed me in the direction of altering my class that uses
      the mail service to include the lines

      Store s = session.getStore();
      s.connect(); // POP authentication

      however I'm not sure if this is still valid.

      More seach showed that this has been a discussion last
      year:

      http://www.mail-archive.com/ejb-
      interest@java.sun.com/msg22496.html

      However, it says that you need to code a different
      authentication class.

      I have tried adding the following to my mail-service.xml
      file but to no avail.

      <property name="mail.smtp.auth" value="true"/>

      I still get the error message saying relaying denied.

      Please could someone tell me the correct way to do this.

      thanks so very much,
      Brian

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: