Email Sending Using Django
A SUMMER INTERNSHIP REPORT
On
Python Django
Submitted by
Harshil Mehta (190320107042)
In fulfillment for the award of degree
of Bachelor of Engineering in Information Technology
COMPUTER ENGINEERING DEPARTMENT
L. J. INSTITUTE OF ENGINEERING AND TECHNOLOGY
GUJARAT TECHNOLOGICAL UNIVERSITY
AHMEDABAD
YEAR, 2022-23
STUDENT’S DECLARATION
I hereby declare that the Summer Internship Project Report titled “Email Sending Using Django”
in CreArt Solutions is a result of my own work and my indebtedness to other work publications, references, if
any, have been duly acknowledged. If I am found guilty of copying from any other report or published information
and showing as my original work, or extending plagiarism limit, I understand that I shall be liable and punishable
by the university, which may include Failing me in examination or any other punishment that university may
deem fit.
Enrollment no. Name Signature
190320107042 Harshil Mehta
Place: Ahmedabad Date: 11-07-2022
L. J. INSTITUTE OF ENGINEERING AND TECHNOLOGY
COMPUTER ENGINEERING DEPARTMENT
YEAR, 2022-23
CERTIFICATE
This is to certify that the Summer Internship “Email Sending Using Django” submitted by
Harshil Mehta(190320107042), towards the fulfillment of the requirements for the degree of
Bachelor of Engineering in Computer Engineering of L.J. Institute of Engineering and
Technology, Ahmedabad, under the Gujarat Technological University, Ahmedabad is the record
of work carried out by him/her under my supervision and guidance. In my opinion, the submitted
work has reached a level required for being accepted for examination. The results embodied in
this project, to the best of my knowledge, haven’t been submitted to any other university or
institution for award of any degree or diploma.
Prof. Bhargav Suthar Prof. Shruti Raval
(Name of Guide) (HOD – CE Dept.)
190320107042 Joining Letter
JOINING LETTER
LJIET-CE
190320107042 Completion Letter
COMPLETION LETTER
LJIET-CE
190320107042 Achnowledgement
Acknowledgement
I would like to express my heartfelt gratitude to all those who have contributed to this project, both
explicitly and implicitly. They are the one without whom the, it would not have been possible to
complete this project.
I would like to thank our H.O.D Prof. Shruti Raval and Prof. Bhargav Suthar for constantly
guiding me towards achieving my desired goal.Also, I thank them for sharing their experience,
knowledge and valuable time with me and showing their concern in my project to make it better
and fulfil my goal. I am grateful to my college L.J. Institute of Engineering and Technology for
providing me all the required resources as well as a good working environment and a platform to
take a step towards my goal.
I also thank all the other faculties at CreArt Solutions who directly or indirectly supported me in
making this project successful by sharing their ideas and knowledge.
At last, I would like to thank my parents and friends who have directly or indirectly helped me in
making the project work successful.
Harshil Mehta 190320107042
LJIET-CE
190320107042 Abstract
Abstract
This project is intended to develop an Email-Sender with the help of Django .Although Python
provides a mail sending interface via the smtplib module, Django provides a couple of light
wrappers over it. These wrappers are provided to make sending email extra quick, to help test email
sending during development, and to provide support for platforms that can’t use SMTP.
LJIET-CE
190320107042 Table of content
Table of Content
No Index Page
I Acknowledgement I
II Abstract II
III Table of Content III
IV List of Figures IV
VI List of Abbreviation V
Chapter 1 Company Background Information 1
Chapter 2 System Information 2
Chapter 3 Work Details 3
Chapter 4 Skills Learned 15
Chapter 5 Conclusion 16
LJIET-CE III
190320107042 List of Figures
List of Figures
Sr no. Figures Page
1.1 CreArt Solutions 1
3.1 Simple printing of statements in python 3
3.2 Taking user input 4
3.3 If….elif….else statements 5
3.4 Looping 6
3.5 Functions 7
3.6 Mark sheet 8
3.7 Creating VE 9
3.8 Installing Django 10
3.9 Installing MySQL 11
3.10 Creating html webpage 12
3.11 Adding urls and views 13
3.12 Successfully sent email 14
LJIET-CE IV
190320107042 List of Abbreviation
List of Abbreviation
VE – Virtual Environment
HTML – Hyper Text Markup Language
CSS – Cascading Style Sheets
SMTP – Simple Mail Transfer Protocol
Smtplib – Simple Mail Transfer Protocol Library
VS Code – Visual Studio Code
LJIET-CE
190320107042 Company Background Information
Company Background Information
Fig 1.1 CreArt Solutions
CreArt is a privately owned venture of IT Solutions and IT Consultants formed in 2013. We always
aspire to create a resistant future. We believe in bringing Business, People and Technology together
in the way forward. CreArt is focused on rigorous development and comprehensive quality.
CreArt is dedicated towards perfection in every aspect. Professionalism is the main ingredient of
CreArt. We strongly believe in delivering the best services to the clients till their satisfaction. Main
objective of CreArt is to provide professional , qualitative , innovative and accessible services in
every possible form.
LJIET-CE
190320107042 System Information
System Information
At CreArt Solution, I got exposure to python language as well as one of it’s well known framework known as
Django.
Django system is a high-level Python web framework that encourages rapid development and clear practical
designs. It is also free and open source framework. It also takes security seriously and helps developers avoid many
common security mistakes.
It also enables rapid development of secure and maintainable websites.
LJIET-CE
190320107042 Work Details
Work Details
Following is the day to day work and its analysis, along with the screenshots:
· Day 1:
è Introduction to the company
è Introduction towards the work
è Briefing about the python language and Django framework.
· Day 2:
è Basics of python programming
è Printing words and sentences briefed and practice work given
è VS Code Software used for programming.
è Installation of python latest version
Fig. 3.1 Simple printing of statements in python
LJIET-CE
190320107042 Work Details
· Day 3:
è How to take input from the user
è Save the input into variables
è Use of variables in python
Fig. 3.2 Taking user input
LJIET-CE
190320107042 Work Details
· Day 4:
è Conditional Statements : If….else statements
è Nested if…else statements
Fig. 3.3 If….elif….else statements
LJIET-CE
190320107042 Work Details
· Day 5:
è For loop
è While loop
è Do…..while loop
Fig. 3.4 Looping
LJIET-CE
190320107042 Work Details
· Day 6:
è Use of functions in python
Fig. 3.5 Functions
LJIET-CE
190320107042 Work Details
· Day 7:
è Practice of concepts of the entire week
è Celsius to Fahrenheit program
è Mark sheet program
Fig 3.6 Marksheet
LJIET-CE
190320107042 Work Details
· Day 8:
è Introduction to Django framework
· Day 9:
è Concept of virtual environment
è Creating Virtual Environment (VE)
Fig 3.7 Creating VE
LJIET-CE
190320107042 Work Details
· Day 10:
è Installing Django
è Activating Virtual Environment
è Creating project
Fig 3.8 Installing Django
LJIET-CE
190320107042 Work Details
· Day 11:
è Creating app
è Installing MySQL and linking it
è Creating super user
Fig 3.9 Installing MySQL
LJIET-CE
190320107042 Work Details
· Day 12:
è Creating HTML web page
Fig 3.10 Creating html webpage
LJIET-CE
190320107042 Work Details
· Day 13:
è Adding urls
è Adding views
è Setting path and connecting all elements
Fig 3.11 Adding urls and views
LJIET-CE
190320107042 Work Details
· Day 14:
è Finalize the code
è Testing the code
è Sending e-mail
Fig 3.12 Successfully sent email
LJIET-CE
190320107042 Skills Learned
Skills Learned
In the past 15 days of the summer internship various skills were learned. Following are some of the skills
learned during this period:
• Working within time bound
• Working with colleagues
• Time Management
• Work under pressure
• Team Work
• Basics of python
• Printing statements in python
• Variables
• Functions
• User defined input
• Looping
• Condition statements
• Django – a python based framework
• Creating html webpage
• Building email sending web application using Django
LJIET-CE
190320107042 Conclusion
Conclusion
15 Day Summer Offline Internship was a period of days which provided an experience of on field
challenges and problems faced by an Computer Engineer in an organization. It also helped learn the
framework of python – Django. An email sender web application was also built during this
internship. Using this web application the sender would not need to enter his/her own email id. The
user would only need to enter the email id to whom the mail is to be sent. Then the subject followed
by the message to be sent. Once the email is sent, a message will be displayed – “Email sent
successfully”. Hence, using Django framework web application can be built.
LJIET-CE