Hi ,


Iam using Geronimo 1.1.1 .Can any one help me in resolving the following
issue, iam trying to configure a mail session and send notification
mail. But when I try to run my application it throws this particular
error. Iam not able to figure out what it suggests, Your valuable
suggestion is invited.Thanks in advance for your reply.





2007-02-19 18:32:54,601 ERROR com.symcor.common.util.SendMail
-sendNotification(...):MessagingException

javax.mail.NoSuchProviderException: Unable to locate provider for
protocol: smtp

      at javax.mail.Session.getProvider(Session.java:227)

      at javax.mail.Session.getTransport(Session.java:336)

      at javax.mail.Session.getTransport(Session.java:366)

      at javax.mail.Transport.send(Transport.java:65)

      at javax.mail.Transport.send(Transport.java:46)

      at
com.symcor.common.util.SendMail.sendNotification(SendMail.java:171)

      at
com.symcor.common.util.SendMail.sendNotification(SendMail.java:92)

      at
com.symcor.eds.app.RunEDSService.sendMail(RunEDSService.java:411)

      at com.symcor.eds.app.RunEDSService.main(RunEDSService.java:338)

2007-02-19 18:32:54,617 INFO  com.symcor.common.util.SendMail
-sendNotification(...):exit

2007-02-19 18:32:54,617 ERROR root -main[]:Unable to locate provider for
protocol: smtp

javax.mail.NoSuchProviderException: Unable to locate provider for
protocol: smtp

      at javax.mail.Session.getProvider(Session.java:227)

      at javax.mail.Session.getTransport(Session.java:336)

      at javax.mail.Session.getTransport(Session.java:366)

      at javax.mail.Transport.send(Transport.java:65)

      at javax.mail.Transport.send(Transport.java:46)

      at
com.symcor.common.util.SendMail.sendNotification(SendMail.java:171)

      at
com.symcor.common.util.SendMail.sendNotification(SendMail.java:92)

      at
com.symcor.eds.app.RunEDSService.sendMail(RunEDSService.java:411)

      at com.symcor.eds.app.RunEDSService.main(RunEDSService.java:338)





Thanks and Regards,

kamal



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to