Tuesday, June 17, 2014

Openings in Infosys

Openings in Infosys for experienced professionals.
Please send your resumes to: sambasiva.bollam@gmail.com

SAP
ORACLE

         SAP FICO
         SAP ABAP HR/ABAP CRM
         SAP BO,BODS
         SAP BI/BW
         SAP BPC
         SAP Security/GRC
         SAP PP/QM/PM/EWM
         SAP CRM
         SAP SRM
         SAP SD/MM
         SAP HR
         SAP APO
         SAP CLM
         SAP BPM/BRM
         SAP EP
         SAP Project Manager/Solution Manager
         SAP Change and Release Manager
         SAP Global Convergence Manager 
         OBIEE
         Oracle E-biz (Technical)
         Oracle Financials (Functional and Technical)
         PeopleSoft HCM/Financials (Technical)
         Oracle SOA/Fusion Middleware
         Siebel (Technical)
         Hyperion
         OFSAA
         Oracle  SCM
         Oracle Apps DBA
         Oracle Retail/Retek
         OAF, ADF
         Oracle ASCP,VCP
         Oracle Fusion HCM/Financials
        Oracle Eloqua

Pre-requisites:
         3-12 years of relevant experience in any of the above mentioned skills
         Referrals must have excellent, consistent academic credentials and should be B.E / B.Tech / M.C.A / M.Sc / M.E / M.Tech / CA / MBA
         Relevant package / product experience mandatory

         Job Locations: Bangalore, Hyderabad, Pune, Chennai, Jaipur, Chandigarh, Mangalore



Thursday, May 15, 2014

Java Mail API example

package com.org.sbollam;



import java.util.Properties;

import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipart;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeBodyPart;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeMultipart;
import javax.swing.JOptionPane;

public class SendMailExample {
    public static void main(String[] args) {
        String msg = " Mail sent successfully (java mail service application)";
        Properties props = new Properties();
        props.put("mail.smtp.host", "smtp.gmail.com");
        //props.put("mail.smtp.socketFactory.port", "465");
       // props.put("mail.smtp.socketFactory.class",
        //        "javax.net.ssl.SSLSocketFactory");
      //  props.put("mail.debug", "true");  // Debug the program
        props.put("mail.smtp.auth", "true");
        //props.put("mail.smtp.port", "465");
        props.put("mail.transport.protocol", "smtp");

        Session session = Session.getDefaultInstance(props,
          new javax.mail.Authenticator() {
                protected PasswordAuthentication getPasswordAuthentication() {
                    return new PasswordAuthentication("*****@gmail.com","*****@***");
                }
            });

        try {

            Message message = new MimeMessage(session);
            message.setFrom(new InternetAddress("*****@gmail.com"));
            message.setRecipients(Message.RecipientType.TO,
                    InternetAddress.parse("****@gmail.com"));
            message.setSubject(" **SAI HAI- ** ");
            // create the message part
            MimeBodyPart messageBodyPart = new MimeBodyPart();
            //message body
            messageBodyPart.setText("**************** SAY Hi TO,  How R U *************** ");
            Multipart multipart = new MimeMultipart();
            multipart.addBodyPart(messageBodyPart);
            //attachment
            messageBodyPart = new MimeBodyPart();
            DataSource source = new FileDataSource("C:\\Users\\demo\\Desktop\\hai.txt");
            messageBodyPart.setDataHandler(new DataHandler(source));
            messageBodyPart.setFileName("hai.txt");
            multipart.addBodyPart(messageBodyPart);
            message.setContent(multipart);
       
            Transport.send(message);

            //System.out.println("Email sent successfully using this java application");
        } catch (MessagingException e) {
            msg = "Error while sending";
            throw new RuntimeException(e);
        }
        JOptionPane.showMessageDialog(null, msg);
    }
}