Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-10 Thread Matt Raible
Unfortunately, I've never had an SMTP server that required authentication to test against. I thought this would work, but apparently it doesn't. Matt On 2/10/07, paulie <[EMAIL PROTECTED]> wrote: I tried a few attempts with the same result. Here is the summary: Modified src\main\respirces\

Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-10 Thread paulie
paulie wrote: > > I tried a few attempts with the same result. Here is the summary: > > Modified src\main\respirces\mail.properties: > > [EMAIL PROTECTED] > mail.debug=false > mail.transport.protocol=smtp > mail.host=smtp.sbcglobal.yahoo.com > [EMAIL PROTECTED] > mail.password=mypassword > ma

Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-10 Thread paulie
I tried a few attempts with the same result. Here is the summary: Modified src\main\respirces\mail.properties: [EMAIL PROTECTED] mail.debug=false mail.transport.protocol=smtp mail.host=smtp.sbcglobal.yahoo.com [EMAIL PROTECTED] mail.password=mypassword mail.port=25 Added src\site\webapp\WEB-IN

Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-08 Thread Matt Raible
On 2/8/07, paulie <[EMAIL PROTECTED]> wrote: I am using AppFuse 2. Added the mailSender bean id to the applicationContext-resources.xml and uncommented the authentication piece. Ran a mvn clean, then reran the mvn integration-test and got the same 'authentication required' message. Any ideas?

Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-08 Thread paulie
I am using AppFuse 2. Added the mailSender bean id to the applicationContext-resources.xml and uncommented the authentication piece. Ran a mvn clean, then reran the mvn integration-test and got the same 'authentication required' message. Any ideas? Matt Raible-3 wrote: > > If you're using

Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-07 Thread Matt Raible
If you're using AppFuse 2, you'll likely need to override the mailEngine bean in your local applicationContext.xml. Here's the default one: If you comment out the bottom part in your local bean definition, it should work. Matt On 2/7/07, paulie <[EMAIL PROTEC

[appfuse-user] SMTP Authentication with Struts 2 App

2007-02-07 Thread paulie
I have been able to send an email with a simple Java app using javax.mail by setting SMTP authentication: Properties props = System.getProperties(); props.put("mail.smtp.auth", "true"); I have been trying to do the same thing through mail.properties: mail.smtp.auth=true or mail.auth = true I k