Does Servoy change email address?

Hi,

I have the following errormessage on my server:

2010-10-28 12:14 pool-3-thread-1 ERROR com.servoy.j2db.util.Debug SMTPSend Illegal route-addr
javax.mail.internet.AddressException: Illegal route-addr in string ``servoy_server@globis.be, p.j@globis.be‘’
at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:897)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:833)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:569)
at javax.mail.internet.InternetAddress.(InternetAddress.java:105)
at com.servoy.extensions.plugins.mail.MailServer.sendMail(MailServer.java:157)
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 com.servoy.j2db.server.ApplicationServer.Za(ApplicationServer.java:422)
at com.servoy.j2db.server.ApplicationServer.access$000(ApplicationServer.java:5)
at com.servoy.j2db.server.Za.run(Za.java:4)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.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)

I looked everywhere in my coding and in my database, but nowhere I have the emailaddress servoy_server@globis.be.
The reason that a mail could be triggered is because the server is having more clients than licenses

On my adminpages I have 2 email address registered for servoy.admin_email_address: m.h@globis.be; p.j@globis.be

Could there be any chance that because there are 2 emailaddresses, which perhaps is not allowed, that servoy replaces the first name by servoy_server?
Maybe some test coding that remained in the release? It happens on server with Servoy 5.1.4.
Because otherwise I really don’t know where the emailaddress with name servoy_server is coming from.

Martin

Hi Martin,

Did you notice the 2 single quotes before ‘servoy_server’?
Can it have something to do with that (although still strange)? ```
``

Does the sendmail plugin uses the servoyEmail validator to check if it is a valid email?
Because the field I put in the to-part, had a servoyEmail validator.
Which gives troubles in, because this validator doesn’t support multiple email addresses

IT2Be:
Did you notice the 2 single quotes before ‘servoy_server’?
Can it have something to do with that (although still strange)?

Yes, I seen that, but those `` are always there in case of this error. Also in case of multiple valid addresses

I have found the problem.
It would have been nice if Servoy and/or java would give a clear errormessage.

The sendMail() was called with 2 email adresses in the part (2nd argument of sendMail) and therefore there was an error when 2 adresses were used