JavaMail– Sending Email Via Gmail SMTP Example

To send email from gmail from java code,i wrote this sample program. This will help you use gmail in your automation task. Sending email from gmail smtp server is almost same as normal smtp server. still it is sometimes it takes more time then general server as it need some extra authentication. Here is the example to send automated mail from JAVA code via gmail.…

How to sort binary array in O(n).

How to sort binary array containing only 0 and 1? If we have array containing decimal number then it is easy.This is generally asked question in any C++ interview. Problem is to sort an array containing only 0 and 1 as an element in O(n). Following algorithm will sort the array in ascending order.Here you go for the detailed program. How to sort binary array…

How google search

You type anything in Google search and it instantly present results in-front you. You must be wondering how google search for you. How does Google find web pages matching your query, and determine the order of search results? Learn How google search In the simplest way, to understand working of google you can think of searching the web as looking in a very large book…

Site Maps

A site map (or sitemap) is a list of pages of a web site accessible to crawlers or users. It can be either a document in any form used as a planning tool for Web design, or a Web page that lists the pages on a Web site, typically organized in hierarchical fashion. There are two popular versions of a site map. An XML Sitemap…

add a site to google webmaster tools

Today in internet world where we do not remember any web address, we always search information on internet.So you have to add your site in search engines.Google is primary search engine. I will show you how to add a site to google webmaster tools, we it can be listed in google search engine. You can add up to 1,000 sites, including news, blogs, and mobile…

User Roles in wordpress blog

User Roles in wordpress blog is very important. There are Five roles that you can assign to people who you want to blog with: Administrator, Editor, Author,Contributor and subscriber. Important: Please be careful of the roles you give users on your blog. If you add a user as an administrator, you are granting full ownership rights to him/her. This means that if he/she deletes the…

Facebook’s new Messenger app:Will it make difference in mobile world ?

Facebook’s latest big product doesn’t even require a Facebook membership — and that’s what makes it so powerful Facebook have more then a billion customers across the world, more then three times of USA total population. But still facebook is finding a way to new emerging word like asia and africa where not much of internet users. So to make next one more billion customers…

Java ClassLoaders

Java ClassLoaders are very important. There are differnt lava class loaders. hot depolyment-uprading sofware without deploying running applicaiton,exploited in EJB servers and servlet containers Class files-binary representation of Java classafter loading byte code ClassLoader makes an instance of java.lang.class which makes class available to JVM Lazy Loading-first the class file executed gets loaded and then other refrenced class, plays a key role in providing dynamic…

The full form of jpeg, gif, png, mpeg, dvd,wmv

We every day see different picture file formats do u know but we never know the meaning of that. So here we have full forms The full form of jpeg, gif, png, mpeg, dvd,wmv. The full form of jpeg, gif, png, mpeg, dvd,wmv 1. JPEG or JPG: Joint Photographic Experts Group (graphics file compression standard) 2. MPEG : Moving Picture Experts Group (defines compression standards)…

Search engine optimization tips wordpress

Search engine optimization , or SEO,is something which is very important. It can be fun and exciting to put these WordPress Search engine optimization tips to use and to watch your blog begin receiving targeted visitors from people who are actively searching for exactly what you have to offer. Search engine optimization BEST TIPS FOR WORDPRESS 1.Create Amazing Content: We always have to create good…