Unable to configure smtp

16,041 views

Hi when i try to send a email from ganib i get the following error

Unable to send email.
javax.mail.AuthenticationFailedException: failed to connect, no password specified?
    at javax.mail.Service.connect(Service.java:329)
    at javax.mail.Service.connect(Service.java:176)
    at javax.mail.Service.connect(Service.java:125)
    at javax.mail.Transport.send0(Transport.java:194)
    at javax.mail.Transport.send(Transport.java:124)
    at com.ganib.notification.Email.send(Email.java:269)

My Context.xml looks like

 <Resource
            name="mail/GanibSession"
            type="javax.mail.Session" 
            auth="Container"
            mail.smtp.host="smtp.mandrillapp.com" 
            mail.smtp.auth="true" 
            mail.user="zzzddee@gmail.com" 
            mail.password="xxxerrttt"
            mail.smtp.port="587"
            mail.transport.protocol="smtp"
    />
asked Sep 18, 2013 by deepaksrgm2010 (200 points)

Please log in or register to answer this question.

...