Computing.Net > Forums > Web Development > mail servlet

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

mail servlet

Reply to Message Icon

Name: liliyaw
Date: April 25, 2006 at 08:53:51 Pacific
OS: linux
CPU/Ram: 524
Product: don't know
Comment:

I'm trying to create an emailing servlet. I've been getting this error running my mail.jsp that calls for my SendData servlet:
"java.lang.NoClassDefFoundError: javax/mail/MessagingException java.lang.Class.getDeclaredConstructors0(Native Method)", and so on,
when I do
mimeMessage.setFrom(internetAddrFrom);

Can anyone tell me how to get around this error or post a link for implementation example on how to build this sort of servlet? Thanks in advance.

P.S I'm using these these libraries:
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


how can we know how many ... How to do hosting?



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: mail servlet

mail headeres problem www.computing.net/answers/webdevel/mail-headeres-problem/1983.html

Hide e-mail address www.computing.net/answers/webdevel/hide-email-address/1457.html

DNS, MX - Mail at 2 servers - how? www.computing.net/answers/webdevel/dns-mx-mail-at-2-servers-how/2771.html