Results 1 to 4 of 4

Thread: 550 Not authorized sending email

  1. #1
    Join Date
    Jul 2006
    Posts
    6

    Unhappy 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. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    You should try the jboss forums/docs - seems that this is a specific jboss configuration issue.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  3. #3
    Join Date
    Jul 2005
    Location
    Idaho
    Posts
    231

    Default

    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

  4. #4
    Join Date
    Jul 2006
    Posts
    6

    Default have fixed my problem

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

    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •