Hi, Dylan
Where is the class file for SMTPException located?
Regards,
Noel Lecaros
Dylan Rosario wrote:
> I am trying to implement SMTPBean a free email bean, but I have this
> problem when compiling a class. I wonder if it is an environment
> thing.
>
> SMTPBean.java:30: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> public void sendMail(String mailfrom, String mailto, String
> subject, St{
>
>
> ^
> SMTPBean.java:37: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> public void connect() throws SMTPException {
> ^
> SMTPBean.java:54: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> public void hail(String mailfrom, String mailto) throws
> SMTPException {
> ^
> SMTPBean.java:63: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> public void sendMessage(String mailfrom, String mailto, String
> subject,{
>
>
> ^
> SMTPBean.java:81: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> private boolean submitCommand(String command) throws
> SMTPException {SMTPBean.java:115: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> public void logout() throws SMTPException {
> ^
> SMTPBean.java:46: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> throw new SMTPException("Error
> connecting to SM;
> ^
> SMTPBean.java:50: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> throw new SMTPException(e.getMessage());
> ^
> SMTPBean.java:56: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> throw new SMTPException("Error occured during
> HELO comm;
> ^
> SMTPBean.java:58: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> throw new SMTPException("Error during MAIL
> command."); ^
> SMTPBean.java:60: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> throw new SMTPException("Error during RCPT
> command.");
> ^
> SMTPBean.java:71: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> throw new SMTPException("Error during DATA
> command.");
> ^
> SMTPBean.java:77: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> throw new SMTPException("Error during mail
> transmission;
> ^
> SMTPBean.java:91: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
> throw new SMTPException(e.getMessage());
> ^
> SMTPBean.java:118: cannot resolve symbol
> symbol : class SMTPException
> location: class SMTPBean
>
> Any help would be great.
>
> Dylan
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body of the message "signoff SERVLET-INTEREST". Archives:
> http://archives.java.sun.com/archives/servlet-interest.html Resources:
> http://java.sun.com/products/servlet/external-resources.html LISTSERV
> Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html