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\
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
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
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?
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
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
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