1. Voice Enabled SMTP Client
Project By : -
Piyush Pipada B3368613
Abhijit Patel B3368604
Nilesh Padwal B3368597
Project Guide : -
Mr. L.V.Patil
1Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering
2. Sr.No Title Slide No
1 Problem Statement. 3
2 Literature Survey. 4
3 Scope. 5
4 Modular Design. 6
5 Requisites Of The Project. 7
6 Project at a Glance. 8
7 Features. 9
8 Project Includes. 11
9 Advantages 12
10 Limitations 13
11 Future enhancement 14
12 References 15
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 2
3. To build a application :- Voice Enabled Simple Mail
Transfer Protocol (SMTP) Client ,get mail alerts
without the use of GPRS and provides high flexibility
to the mail users.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 3
4. Literature Survey
4
• In our survey we found that such kind of a SMTP client
is not available till date.
• The voice enabled service is a stand alone desktop feature
and not being used with the SMTP client yet.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering
5. Scope
5
This project describes a Voice Enabled
Simple Mail Transfer Protocol (SMTP) Client
without the use of GPRS. It is very useful as it
provides high flexibility to the mail users and
lets them stay connected to their mails all the
time through mobiles.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering
7. Requisites Of The Project
• Software Requirements
• Java (J2EE), JSP, AJAX
• Java Mail API
• Java Communication API.
• Display Tag Reports
• Microsoft SAPI: Speech Recognition and Text to Speech Conversion.
• VB: To develop SAPI Module.
• Hardware Requirements
• 1GB RAM
• 80 GB Hard Disk
7Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering
8. Project at a Glance
• Voice Enabled Simple Mail Transfer Protocol
(SMTP) Client.
• It provides ease to the mail users by controlling the
mailbox through voice.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 8
9. Features
• Send emails from desktop module.
• Send emails from desktop using speech to text conversion.
• Receive mails on desktop.
• Receive enhanced mail alerts on mobile using SMS.
• Receive mails on desktop and read them out using text to speech
conversion module.
• Manage user information like contacts, events, user preferences
and settings in database.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 9
10. • Download mails for user for later viewing and reading.
• Existing mails or contacts can be exported.
• Facility to manage multiple inboxes (i.e. delete mail, marked
read/unread, etc.)
• Secure Authentication using HTTPs
• Rich UI using YUI (Yahoo User Interface)
• AJAX components for mail search
• User can also send recorded messages from phone.
Continue…..
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 10
11. It will be built using three modules : -
A Java Mail API to communicate with an SMTP
mail server and send/receive emails from SMTP
server.
A VB base SAPI (Speech API) module for
implementing speech to text and text to speech.
A Sms Alerts module for notifying customers.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 11
12. Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 12
Sending server
Sending client
Mail client software
Mail server software
Receiving server
Mail server software
Receiving client
Mail client software
SMTP POP
13. Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 13
Three protocols for sending and retrieving email
messages
Protocol Description
SMTP Simple Mail Transfer Protocol is used to send a message
from one mail server to another.
POP Post Office Protocol is used to retrieve messages from a
mail server. This protocol transfers all messages from
the mail server to the mail client. Currently, POP is in
version 3 and is known as POP3.
IMAP Internet Message Access Protocol is used by web-based
mail services such as Hotmail and Yahoo. This protocol
allows a web browser to read messages that are stored in
the directories of the mail server. Currently, IMAP is in
version 4 and is known as IMAP4.
Protocol Description
MIME The Multipurpose Internet Message Extension type, or
MIME type, specifies the type of content that can be
sent as a message or attachment.
14. Create session
Create message
Address the message
Send the message
Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 14
15. Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 15
Code that uses the JavaMail API to send an email
// 1 - get the mail session
Properties props = new Properties();
props.put("mail.smtp.host", "localhost");
Session session = Session.getDefaultInstance(props);
// 2 - create the message
MimeMessage message = new MimeMessage(session);
message.setSubject("Order Confirmation");
message.setText("Thanks for your order!");
// 3 – address the message
InternetAddress addressFrom = new
InternetAddress("cds@murach.com");
message.setFrom(addressFrom);
InternetAddress addressTo = new
InternetAddress("andi@yahoo.com");
message.setRecipient(Message.RecipientType.TO,addressTo);
// 4 - send the message
Transport.send(message);
16. Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 16
A few standard properties that can be set for a
Session object
Property name Description
mail.smtp.host Specifies the default outgoing host for SMTP
protocol.
mail.from Specifies the default return email address.
mail.user Specifies the default username to use when
connecting to the mail server.
17. Sphinx
Acoustic model
Implementation
Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 17
18. Formed by sun microsystem, MERL, HP, university of
california and MIT.
Renowned for the speech recognition technology
First to implement speech recognition.
Sphinx is used for configuration (for configuration of
grammar, acoustic model, dictionary, linguistic
configuration etc.)
Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 18
19. Contains default word dictionary.
Used for speech recognition.
Created by taking speech, text transcription, and word.
Speech recognition also requires the language model
(grammar file) as sequence of the word.
Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 19
20. Part 1:
Step 1 : Create a text file “words.txt”,
Step 2 : Open this link :
http://www.speech.cs.cmu.edu/tools/lmtool-new.html
Step 3 : On that page, go to “Sentence corpus file:” section,
Browse to “words.txt” file and click “Compile Knowledge
Base”.
Step 4 : On next page, Click on “Dictionary” link and save
that .DIC file.
Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 20
21. Part 2
Step 1 : Extract
WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar file.
Step 2 : Go to
educmusphinxmodelacousticWSJ_8gau_13dCep_16k_40m
el_130Hz_6800Hzdict folder.
Step 3 : Open “cmudict.0.6d” file in that folder.
Step 4 : Copy data from .DIC file, you have downloaded in
PART ONE, paste it in “cmudict.0.6d” file and save.
Step 5 : Zip the extracted hierarchy back as it was and Zip file
named should be same as JAR file.
Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 21
22. Mobile connectivity through bluetooth or usb cable.
Check for the unread mail.
Set the timer for alerts(every hour).
Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 22
23. Advantages.
• It is Voice enabled.
• Free mail alerts on mobile.
• User can also send recorded messages from phone.
• Manage multiple mailboxes.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 23
24. • Voice recognition is provided for limited commands.
• No Voice recognition training for user.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 24
25. • Password recognition using voice commands.
• User Based Voice recognition.
• Biometric recognition for user.
• Reading emails based on user preferences.
• Voice Training for user.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 25
26. References
• ieeexplore.org
• sciencedirect.com
• Is text-to-speech synthesis ready for use in computer-assisted language
learning?
Zoë Handley,Speech Communication, Volume 51, Issue 10, October 2009,
Pages 906-919.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 26
27. Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 27