Skip to Content

Mail setting error

Nov 28, 2017 at 02:05 AM


avatar image

I operate it according to a document, but the following error log appears.

How can you evade it?


It occurs when you do the procedure "In the New Destination dialog box, enter the name Session and type Mail and choose OK."

10 |10000 characters needed characters left characters exceeded

Hi Ryuji,

Please share the eclipse version and the plug-in version for SAP Cloud Platform Tools for Java.

I guess the plug-in version is not the latest.




Hi Sekihara, Thank you for your reply.

Version would be as follows.

  1. Eclipse => Neon.3 Release (4.6.3)
  2. SAP Cloud Platform Tools for Java => 1.84.0




It looks OK. Root cause is something else.


Can you think of any reasons?

I want information as much as possible.


How about your JDK version?

You can also ask your colleagues to test. Most probably it is client side setup issue.


JDK Version would be as follows.

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)


* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ivan Mirisola
Jan 11 at 01:00 PM

Hi Ryuji,

Apparently you created the destination type HTTP instead of Mail. Please delete the destination and recreate it with type "mail".

Be careful not to create the "Session" Destination on the local server as I mistakenly did. The local server never sends outbound emails anyway - it just stores the e-mail message on the filesystem under:

<workspace>\Servers\Java Web Tomcat 8 Server-config\work\mailservice\*.msg

If you've done the same, it is simple fix it. Just recreate the destination at the SCP server you've created (this is not stored on the "Project Explorer"). Or you could import the destination file you've created via Eclise on SCP's Cockpit. The file is named "Session" (no extensions!) and would be found in such a case at the "Servers" project in Eclipse's "Project Explorer". In my case I could find it under the Tomcat 8 Web server folder:

<workspace>\Servers\Java Web Tomcat 8 Server-config\config_master\service.destinations\destinations\Session

TIP: Import it using the destination function of the SCP cockpit before starting your application. I usually update the password, just to make sure the system gets it right.

TIP2: You use the 2-step verification password configured in Google Security Settings you need to create an app password just for this case, as the this SMTP example doesn't take care of this type of authentication for obvious reasons.


10 |10000 characters needed characters left characters exceeded