aspose file tools*
The moose likes Struts and the fly likes how to mail send in servlets or jsp? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to mail send in servlets or jsp?" Watch "how to mail send in servlets or jsp?" New topic
Author

how to mail send in servlets or jsp?

maha lakshmi
Greenhorn

Joined: Feb 22, 2008
Posts: 7
Hi,
i got error message "javax.mail.NoSuchProviderException: No provider 'xxxxx'" .
i am using myeclipse6.0 IDE ,jboss4 application server & java EE5.
In java EE5 there is no activation.jar & mail.jar files.please any one can help me how to solve this problem?
my code is

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42263
    
  64
Try including a property "mail.transport.protocol" with a value of "smtp", and you could try using getInstance instead of getDefaultInstance.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to mail send in servlets or jsp?