dev@glassfish.java.net

Re: Authentification to an smtp sever

From: NewJavaLearner <ennar.olfa_at_gmail.com>
Date: Wed, 12 Dec 2007 02:55:06 -0800 (PST)

Hi,
-i've added username and passwd (i wrote it like that) .
-I use smtp and not smtps
-this is a part of the exception generated in the log file that concerns
transport protocol

Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530
<mail_at_domain.com>... MAIL requires AUTH

        at
com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
        at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
        at javax.mail.Transport.send0(Transport.java:169)
        at javax.mail.Transport.send(Transport.java:98)
        at class.........
        ... 31 more
|#]








Bill Shannon wrote:
>
> NewJavaLearner wrote:
>> Hi,
>> I've trued to add properties to the glassfish java mail ressource
>> (username
>> and passwd) but i got the same exception
>> com.sun.mail.smtp.SMTPSendFailedException: 530 <myadress_at_domain.com>...
>> MAIL
>> requires AUTH, the same exception without those properties.
>> Do you see the problem?
>
> Not without more details.
>
> What properties did you add?
>
> Are you using the "smtp" or the "smtps" transport?
>
> If you enable session debugging, what does the protocol trace (in the log
> file)
> show?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/Authentification-to-an-smtp-sever-tp14196415p14292642.html
Sent from the java.net - glassfish dev mailing list archive at Nabble.com.