# Mail Plugin Error

**URL:** <https://forum.servoy.com/t/mail-plugin-error/14799>\
**Category:** Classic Servoy\
**Created:** [October 3, 2011, 9:32pm UTC](https://forum.servoy.com/t/mail-plugin-error/14799 "2011-10-03T21:32:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![monetteboy](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@monetteboy](https://forum.servoy.com/u/monetteboy)\
**Post date:** [October 3, 2011, 9:32pm UTC](https://forum.servoy.com/t/mail-plugin-error/14799/1 "2011-10-03T21:32:35Z")

</div>

I’m having an issue with the mail plugin. Everything had been working fine up until we moved over to 6.

When running through my dev client I can send an email without any issues, however when running from the server it has stopped working.

This is the message that it returns…

“RemoteException occured in server thread; nested exception is:  
java.rmi.UnmarshalException: unrecognized method hash: method not supported by remote object; unrecognized method hash: method not supported by remote object”

I have tried looking through the code but since everything works on my debug client I can’t track down what is going on. Looking through the logs I didn’t see anything but I wasn’t exactly sure where to start my search.

Thanks,  
Bryant

---

<div class="post-metadata">

**Author:** ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)\
**Post date:** [October 3, 2011, 10:05pm UTC](https://forum.servoy.com/t/mail-plugin-error/14799/2 "2011-10-03T22:05:47Z")

</div>

You should have a stackTrace of that exception in your servoy\_log.txt file, shouldn’t you?

---

<div class="post-metadata">

**Author:** ![monetteboy](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@monetteboy](https://forum.servoy.com/u/monetteboy)\
**Post date:** [October 4, 2011, 3:13pm UTC](https://forum.servoy.com/t/mail-plugin-error/14799/3 "2011-10-04T15:13:11Z")

</div>

Yes I had looked at the log but I must not have scrolled all the way down because I now see the exception. Here is what is says…

```auto
2011-10-03 16:07:49,981 ERROR [RMI TCP Connection(1)-129.102.6.68] com.servoy.j2db.util.Debug - SMTPSend Exception reading response
javax.mail.MessagingException: Exception reading response;
  nested exception is:
	java.net.SocketTimeoutException: Read timed out
	at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2153)
	at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:1186)
	at javax.mail.Transport.send0(Transport.java:197)
	at javax.mail.Transport.send(Transport.java:124)
	at com.servoy.extensions.plugins.mail.MailServer.sendMail(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
	at sun.rmi.transport.Transport$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(Unknown Source)
	at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110)
	at java.io.BufferedInputStream.fill(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89)
	at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2131)
	... 18 more

```
