Thursday, March 2, 2017

Angularjs2 : Hello World Example


index.html

<!DOCTYPE html>
<html>
  <head>
    <title>Hello World</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/2.0.0-alpha.34/angular2.sfx.dev.js"></script>

  <script src="app.js"></script>
   </head>
<body>
   <my-app>Loading...</my-app>
</body>
</html>

Tuesday, April 12, 2016

JavaMail API - Send Email Using Gmail SMTP server


You can send email from your java application using Gmail SMTP Server.

Google Apps SMTP settings to send mail from a java app -

      SMTP Service    - smtp.gmail.com
      Port                     - Port 465 (SSL required)
                                 - Port 587 (TLS required)
      Sending Limits   - 2000 Messages per day.
  For more  detail about Gmail SMTP server and sending limits please click on following links

  Google Apps SMTP settings to send mail

  Google Apps email sending limits


Example to send email from a java app -  

Here is the example to send email from a java application.

Wednesday, April 6, 2016

Glowing blue border around an input field

Glowing blue border around an input field

Chrome browser adds a blue/golden border on selected input field.
This blue border is visible on chrome browser only.