How to use Papercut with java mail API

How to use Papercut with java mail API

Are you looking for a way to use Papercut with java mail API? If so, then I will share the method I stumbled upon while searching for the same.

As a software developer, I too got stuck with this problem. I had to check and verify whether the mail content is in place while sending a mail using JAVA mail API. During Development phase we cannot send the mail directly to someone. We have to make sure that the mail is presentable to the end user. The code for java mail is as shown below

Share this article:
Share

How to increase the timeout of wildfly server

Sometimes when we try to fetch very large results from a database (transactions), it may take hell lot of time. But within that time, our server will get timed out and show you a timeout error. Argh, annoying. Isn’t it?  This may even happen when we are involved in an important task which may take hours to complete. Usually, the Wildfly server may get a timeout by 300 seconds (5 minutes) for a transaction. We can change this timeout problem by just adding a small piece of code in the standalone.xml file which will be available in \wildfly-8.0.0.Final\standalone\configuration.  Below, I have provided the code change which is required to alter the timeout. First, open standalone.xml and search for

Share this article:
Share

Stay in touch!

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

Technicles will use the information you provide on this form to be in touch with you and to provide updates and marketing.