Sie sind auf Seite 1von 15

Govardhana Rao M raogovardhan.m@gmail.

com
Mobile no: +91-
9010351709

• Having 3+years of experience in the field of Microsoft Business


Intelligence (SSIS,SSRS) and SQL Server 2005
• Creating and alter Databases and creating Objects.
• Creating the primary objects (Tables, views, indexes) once application
developers have designed an application.
• Backing up and restoring the database.
• Optimizing the complex stored Procedures and tuning Queries
• Expert in ETL tools like SSIS 2005.
• Having extensive working experience on SSRS 2005 and report manager.
• Written stored procedures in SQL Server 2005 in order to generate reports.
• Having Good communication and Interpersonal skills, hardworking, dedication
at work and result oriented as an individual and in a team

Work Experience

• Working with Chevron IT Solutions as a Software Engineer from Oct 2007


to till date.

Education

BSc Computers from Acharya Nagarjuna University, A.P.

Skill Summary

• Operating Systems : Windows 98,2000,XP


• Languages : C, C++
• Databases : SQL Server 2005/2008
• ETL Tools : SQL Server 2005 Integrations Services
• Reporting Tool : SQL Server 2005 Reporting Services
Project Experience:

Project #1:

Title : GMAC Insurance Management Systems


Client : GMAC
Role : ETL and Report developer
Duration : May 2010 to TillDate
Environment : SQL Server 2005, SSRS, SSIS.

Description:

GMAC is the largest general insurance group (based on the amount of


personal and commercial insurance premiums) and one of the largest bank (Ally
Gmac Bank). GMAC insurance specializes in RV insurance, VEHICLE insurance, HOME
insurance and also has leading superannuation, investment and asset management
business.

We receive the data in the form of xml, excel and flat files which need to
be loaded into the Database schemas. For loading data into Data Base we are
designing SSIS Packages and for data representation we are developing by using
SSRs.

Roles & Responsibilities:

• Creating staging database for temporary processing of data, consolidating


data and Loading database using Integration services.
• Creating Packages on SSIS by using different data Transformations like
Derived column, Lookup, Conditional Split, Merge Join, Sort and Execute SQL
Task to load data into Database.
• Writing the Stored Procedures which meet the requirements.
• Scheduling reports using Reporting services to e-mail with an attachment in
the desired format of report to the top management.
• Developing parameterized reports including multi-parameters.
• As per the requirements, rendering the reports in the form of Excel and .CSV
formats for each module with credentials.
• Deploying the generated reports on production server.
Project #2:

Title : Netcare Greenacres Management System


Client : Netcare Greenacres Hospital
Role : ETL and Report developer
Duration : Jan 2009 to Mar 2010
Environment : SQL Server 2005, SSRS, SSIS.

Description:

Netcare Greenacres Hospital is powerful, flexible and easy to use and


has designed and developed to deliver real conceivable benefits to hospitals and
clinics. And more importantly it is backed by reliable and dependable.
This hospital management system has the software applications that are capable of
handling the activities of following major departments:

1. Outdoor patient's Department

2. Indoor Patient's Department

3. Investigative Labs

4. Billing

5. Medical Stores

6. Financial Accounting

7. Payroll

8. Administration

Roles & Responsibilities:

• Extensively working on data Extraction, Transformation and Loading from


source to target system using SQL Server 2005 Integration Services
• Creating Packages on SSIS Transformations and Mappings using Data Flow
Tasks and Control Flow Tasks.
• Writing the Stored Procedures which meet the requirements.
• Developing the reports with drill through features.
• Deploying the generated reports on production server.
Project #3:

Title : Online Store


Client : tonny thiatmaja
Role : SQL Server Developer
Duration : Jan 2008 to Nov2008
Environment : SQL Server 2005.

Description:
This is e-business site for only books. User can able to buy/sell book
with paypal /credit card and provide the further communication on that
transaction.seller can upload his book with 3 delivery options (only buy ,only ship,
ship/meet) based on this option buyer get the book. This application provide the
efficient keyword search , advance search and better filter options. After transaction
buyer and user can communicate with our internal message options. Finally buyer
get the book with two option these are by meet the seller directly or by giving the
shipping address at the time of checkout his cart.

Roles & Responsibilities:

• Creating tables which meet the requirements.


• Writing the Functions which meet the requirements.
• Writing the Stored Procedures which meet the requirements.
• Developing the Triggers, Cursors which meet the requirements.
Sending Mails with attachments using Gmail
Many times I came across the question that how can we send mails with some files as
attachments and in continuation do we reaky need to buy some domain of our's to send mail
or there is a domain using which we can send mails using gmail or yahoo or hotmail accounts.
so the answer. So I decided to write this article which will help in solving the above quest.

Let answer First the above questions and then we will code how to send mails with
attachments.
Question : Do we need our own domain to send mails?
Answer : No we do not necessarily need our own domain to send mails. Gmail
provides us free pop service and yahoo, hotmail and other mail engines charge for the service.
Rather if we have our own domain that would be a benefit.
Question : Can we send files as an attachment?
Answer : Yes we can and even any extension of file can be send as attachment if server
allows that as Gmail do not allow to send exe files rest you can send pdf,html,doc etc. any.
Question : Some Times our code is perfectly fine still we are not able to send mails ether we
get error failed to send or could not connect to the server what may be the reasons?

Answer : The Reasons is very simple that we have some firewalls or the anti
virus installed on the system which prevents us to do so Specially Mac Fee prevents us
sending the mails by blocking the port. The
Remedies is just off the antivirus for some time and then try sending the mail.

Requirements:

Development Machine Requirements

1. Dotnet installed on the system VS2005 or above The Downloadable version


comes for VS2008
2. Files to attach with the mails
3. Anti-Virus off while debugging the application

Client Side Requirements

1. Dotnet Framework 2.0 or above in which the application is made


2. Browser to run the Application
3. Anti-Virus off while executing the application
Now lets start developing the application

1. Create a web application with the name "SendMailWithAttachment". You can


even use any name of your choice I am using this for my example.
2. Add The Following code in the body tag of the Default.aspx page to genrate an
interface for the aplication.
<%@
Page Language="C#"
AutoEventWireup="true"
CodeBehind="Default.aspx.cs"
Inherits="SendMailWithAttachment._Default"
%>

<!DOCTYPE
html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">

<html
xmlns="http://www.w3.org/1999/xhtml"
>

<head
runat="server">

<title>Send
Mail Using Gmail Account With
Attachments</title> </head>
<body>
<form id="Form1" method="post" runat="server">

<table borderColor="#339933" cellSpacing="0" cellPadd


ing="4" width="55%" align="center"border="1">
<tr>
<td>
<table cellPadding="4" width="70%" align="center" bor
der="0"> <tr bgColor="#339933"> <tdalign="center" col
Span="2"><asp:label id="lblHeader" Runat="server"
Font-Bold="True">Gmail Account Details for Sending
Mails</asp:label></td> </tr>
<tr>
<td vAlign="middle" align="right" width="40%">Usernam
e:</td> <td
vAlign="middle" width="60%"> <asp:TextBox
ID="txtUserName" runat="server" Font-Names="Verdana"
Font-Size="X-Small" Width="350px"></asp:TextBox>
</td>
</tr>
<tr>
<td vAlign="middle" align="right" width="40%">Passwor
d</td> <td
vAlign="middle" width="60%"> <asp:TextBox
ID="txtPassword" Font-Names="Verdana" Font-Size="X-
Small" Width="350px" runat="server"TextMode="Password
"></asp:TextBox>
</td>
</tr>
<tr bgColor="#339933"> <td align="center" colSpan="2"
><asp:label id="Label1" Runat="server"
Font-Bold="True">SMTP
Mail with Attachment</asp:label></td>
</tr>
<tr>
<td vAlign="middle" align="right" width="40%">From
:</td> <td vAlign="middle"
width="60%"><asp:textbox id="txtSender"
tabIndex="1" runat="server" Font-Names="Verdana" Font
-Size="X-Small" Width="350px"></asp:textbox></td>
</tr>
<tr>
<td vAlign="middle" align="right">To :</td>
<td><asp:textbox id="txtReceiver" tabIndex="1"
runat="server" Font-Names="Verdana" Font-Size="X-
Small"
Width="350px"></asp:textbox></td>
</tr>
<tr>
<td vAlign="middle" align="right">Cc :</td>
<td><asp:textbox id="txtCc" tabIndex="1" runat="serve
r"
Font-Names="Verdana" Font-Size="X-Small" Widt
h="350px"></asp:textbox></td>
</tr>
<tr>
<td vAlign="middle" align="right">Bcc :</td>
<td><asp:textbox id="txtBcc" tabIndex="1" runat="serv
er"
Font-Names="Verdana" Font-Size="X-Small" Widt
h="350px"></asp:textbox></td>
</tr> <tr>
<td vAlign="middle" align="right">Subject :</td>
<td><asp:textbox id="txtSubject" tabIndex="2" runat="
server" Font-Names="Verdana" Font-Size="X-Small"
Width="350px"></asp:textbox></td>
</tr>
<tr>
<td vAlign="middle" align="right">Format :</td>
<td><asp:radiobuttonlist id="rblMailFormat" tabIndex=
"3"
runat="server" repeatcolumns="2" repeatdirection="Hor
izontal">
<asp:ListItem Value="Text" Selected="True">Text</asp:
ListItem>
<asp:ListItem Value="HTML">HTML</asp:ListItem>
</asp:radiobuttonlist></td>
</tr>
<tr>
<td vAlign="middle" align="right">Message :</td>
<td height="84"> <p><asp:textbox id="txtBody"
tabIndex="4" runat="server" Font-Names="Verdana" Font
-Size="X-Small" columns="40" row
s="5"textmode="MultiLine" width="350px"></asp:textbox
></p> </td>
</tr>
<tr>
<td vAlign="middle" align="right">Attachment
:</td><td><input id="inpAttachment1"tabIndex="5" type
="file" size="53" name="filMyFile" runat="server"></t
d> </tr>
<tr>
<td vAlign="middle" align="right">Attachment :</td>
<td><input id="inpAttachment2" tabIndex="6" type="fil
e"
size="53" name="filMyFile" runat="server"></td>
</tr>
<tr>
<td vAlign="middle" align="right">Attachment :</td>
<td><input id="inpAttachment3" tabIndex="7" type="fil
e"
size="53" name="filMyFile" runat="server"></td>
</tr>
<tr>
<td align="center" colSpan="2"><asp:button id="btnSen
d"
tabIndex="9" runat="server" width="100px" text="Send"
onclick="btnSend_Click"></asp:button></td>
</tr>
<tr>
<td align="center" colSpan="2"><asp:Label ID="lblMess
age"
Runat="server"></asp:Label>
</td>
</tr>
</table>
</td> </tr> </table>
</form>
</body>
</html>

1. The Default.aspx will now look like:


2. Now Let us code for the Functionality double Click on the button and the event
handler is genrated for the buttonclick
Before we start the code for the event let us include some namespaces:
1. using System.Net.Mail;
2. using System.IO;
3. using System.Drawing;

Here is the code for the button event. The code is having inline commets to
explain the meamning of each line.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net.Mail;
using System.IO;
using System.Drawing;
namespace SendMailWithAttachment
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnSend_Click(object sender, EventArgs
e)
{
try
{
/* Create a new blank MailMessage with the from and
to
adreesses*/
MailMessage mailMessage
= new MailMessage txtSender.Text,txtReceiver.Text);
/*Checking the condition that the cc is empty or not
if
not then * include them
*/
if (txtCc.Text != null && txtCc.Text != string.Empty)
{
mailMessage.CC.Add(txtCc.Text);
}
/*Checking the condition that the Bcc is empty or not
if not then
* include them
*/
if (txtBcc.Text != null && txtBcc.Text !
= string.Empty)
{
mailMessage.Bcc.Add(txtBcc.Text);
}
//Ading Subject to the Mail
mailMessage.Subject = txtSubject.Text;
//Adding the Mail Body
mailMessage.Body = txtBody.Text;
/* Set the properties of the MailMessage to the
values on the form as per the mail is HTML formatted
or plain text */
if (rblMailFormat.SelectedItem.Text ==
"Text")
mailMessage.IsBodyHtml = false;
else
mailMessage.IsBodyHtml = true;
/* We use the following variables to keep track of
attachments and after we can delete them */
string attach1 = null;
string attach2 = null;
string attach3 = null;
/*strFileName has a attachment file name for
attachment process. */
string strFileName = null;
/* Bigining of Attachment1 process & Check the first
open file dialog for a attachment */
if (inpAttachment1.PostedFile != null)
{
/* Get a reference to PostedFile object */
HttpPostedFile attFile = inpAttachment1.PostedFile;
/* Get size of the file */
int attachFileLength = attFile.ContentLength;
/* Make sure the size of the file is > 0 */
if (attachFileLength > 0)
{
/* Get the file name */
strFileName
= Path.GetFileName(inpAttachment1.PostedFile.FileName
);
/* Save the file on the server */
inpAttachment1.PostedFile.SaveAs(Server.MapPath(strFi
leName));
/* Create the email attachment with the uploaded file
*/
Attachment attach = new
Attachment(Server.MapPath(strFileName));
/* Attach the newly created email attachment */
mailMessage.Attachments.Add(attach);
/* Store the attach filename so we can delete it
later
*/
attach1 = strFileName;
}
}
/* Attachment-2 Repeat previous step defiend above*/
if (inpAttachment2.PostedFile != null)
{
HttpPostedFile attFile = inpAttachment2.PostedFile;
int attachFileLength = attFile.ContentLength;
if (attachFileLength > 0)
{
strFileName
= Path.GetFileName(inpAttachment2.PostedFile.FileName
);
inpAttachment2.PostedFile.SaveAs(Server.MapPath(strFi
leName));
Attachment attach
= new Attachment(Server.MapPath(strFileName));
mailMessage.Attachments.Add(attach);
attach2 = strFileName;
}
}
/* Attachment-3 Repeat previous steps step defiend
above*/
if (inpAttachment3.PostedFile != null)
{
HttpPostedFile attFile = inpAttachment3.PostedFile;
int attachFileLength = attFile.ContentLength;
if (attachFileLength > 0)
{
strFileName
= Path.GetFileName(inpAttachment3.PostedFile.FileName
);
inpAttachment3.PostedFile.SaveAs(Server.MapPath(strFi
leName));
Attachment attach
= new Attachment(Server.MapPath(strFileName));
mailMessage.Attachments.Add(attach);
attach3 = strFileName;
}
}
/* Set the SMTP server and send the email with
attachment */
SmtpClient smtpClient = new SmtpClient();
// smtpClient.Host = emailServerInfo.MailServerIP;
//this will be the host in case of gamil and it
varies from the service provider
smtpClient.Host = "smtp.gmail.com";
//smtpClient.Port = Convert.ToInt32
emailServerInfo.MailServerPortNumber);
//this will be the port in case of gamil for dotnet
and
it varies from the service provider
smtpClient.Port = 587;
smtpClient.UseDefaultCredentials = true;
//smtpClient.Credentials = new
System.Net.NetworkCredential(emailServerInfo.MailServ
erUserName,
emailServerInfo.MailServerPassword);
smtpClient.Credentials
= new System.Net.NetworkCredential(txtUserName.Text,
txtPassword.Text);
//this will be the true in case of gamil and it
varies
from the service provider
smtpClient.EnableSsl = true;
smtpClient.Send(mailMessage);
/* Delete the attachements if any */
try{
if (attach1 != null)
File.Delete(Server.MapPath(attach1));
if (attach2 != null)
File.Delete(Server.MapPath(attach2));
if (attach3 != null)
File.Delete(Server.MapPath(attach3));
}
catch{}
/* clear the controls */
txtSender.Text = string.Empty;
txtReceiver.Text = string.Empty;
txtCc.Text = string.Empty;
txtBcc.Text = string.Empty;
txtSubject.Text = string.Empty;
txtBody.Text = string.Empty;
txtUserName.Text = string.Empty;
/* Dispaly a confirmation message to the user. */
lblMessage.Visible = true;
lblMessage.ForeColor = Color.Black;
lblMessage.Text = "Message sent.";
}
catch (Exception ex)
{
/* Print a message informing the user about the
exception that was risen */
lblMessage.Visible = true;
lblMessage.ForeColor = Color.Red;
lblMessage.Text = ex.ToString();
}
}
}
}

Download code from here

Das könnte Ihnen auch gefallen