Announcement Announcement Module
Collapse
No announcement yet.
550 Not authorized sending email Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 550 Not authorized sending email

    I am trying to send emails from my web app using jboss mail server.
    I specified jaas authentication in mail.sar/WEB-INF/jboss-service.xml
    and then created a corresponding application policy in conf/login-config.xml.
    My question is how do I know or specify what user or authentication my web application runs under in jboss?
    I'm using the hypersonic db to store the user / roles and have created the tables referenced within the application policy defined in login-config.xml

    any ideas, help would be hugely appreciated.

    thanks

    chris

  • #2
    You should try the jboss forums/docs - seems that this is a specific jboss configuration issue.

    Comment


    • #3
      Chris,

      Can you show your configuration and any pertinent code? A while ago, I had a problem with not setting my authorization. I put this
      Code:
      <property name="javaMailProperties">
        <props>
          <prop key="mail.smtp.auth">true</prop>
        </props>
      </property>
      where I have my JavaMail properties set and it now works.

      Good luck,

      Steve

      Comment


      • #4
        have fixed my problem

        Thanks all for replies,
        I just installed james and removed jboss' mail server.

        thanks

        Comment

        Working...
        X