SlideShare une entreprise Scribd logo
1  sur  27
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
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
 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
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
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
Modular Design
6Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering
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
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
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
• 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
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
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
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.
 Create session
 Create message
 Address the message
 Send the message
Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 14
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);
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.
 Sphinx
 Acoustic model
 Implementation
Voice Enabled SMTP Client
Smt. Kashibai Navale College Of
Engineering 17
 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
 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
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
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
 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
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
• Voice recognition is provided for limited commands.
• No Voice recognition training for user.
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 24
• 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
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
Voice Enabled SMTP Client Smt. Kashibai Navale College Of Engineering 27

Contenu connexe

Tendances

Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer ProtocolVinod Gurram
 
Unit 3 - Protocols and Client-Server Applications - IT
Unit 3 - Protocols and Client-Server Applications - ITUnit 3 - Protocols and Client-Server Applications - IT
Unit 3 - Protocols and Client-Server Applications - ITDeepraj Bhujel
 
Mail server PPT By Mukesh
Mail server PPT By MukeshMail server PPT By Mukesh
Mail server PPT By MukeshMukesh Kumar
 
E-Mail - Technical Overview
E-Mail - Technical OverviewE-Mail - Technical Overview
E-Mail - Technical OverviewVenkatesh Iyer
 
Email - Electronic Mail
Email - Electronic MailEmail - Electronic Mail
Email - Electronic MailPeter R. Egli
 
Lecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transferLecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transferSerious_SamSoul
 
10135 a 05
10135 a 0510135 a 05
10135 a 05Bố Su
 
E mail protocol - SMTP
E mail protocol - SMTPE mail protocol - SMTP
E mail protocol - SMTPMd Syed Ahamad
 
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOLSMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOLVidhu Arora
 
retrieving the mail
retrieving the mailretrieving the mail
retrieving the mailtumetr1
 
Information on protocols-email protocols
Information on protocols-email protocolsInformation on protocols-email protocols
Information on protocols-email protocolsPriyanka Shinde
 

Tendances (20)

POP3 Post Office Protocol
POP3 Post Office ProtocolPOP3 Post Office Protocol
POP3 Post Office Protocol
 
Electronic Mail
Electronic MailElectronic Mail
Electronic Mail
 
Email
EmailEmail
Email
 
E mail flow
E mail flowE mail flow
E mail flow
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Unit 3 - Protocols and Client-Server Applications - IT
Unit 3 - Protocols and Client-Server Applications - ITUnit 3 - Protocols and Client-Server Applications - IT
Unit 3 - Protocols and Client-Server Applications - IT
 
Mail server PPT By Mukesh
Mail server PPT By MukeshMail server PPT By Mukesh
Mail server PPT By Mukesh
 
E-Mail - Technical Overview
E-Mail - Technical OverviewE-Mail - Technical Overview
E-Mail - Technical Overview
 
Email - Electronic Mail
Email - Electronic MailEmail - Electronic Mail
Email - Electronic Mail
 
Lecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transferLecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transfer
 
SNMP/SMTP/MIME
SNMP/SMTP/MIMESNMP/SMTP/MIME
SNMP/SMTP/MIME
 
Mail server
Mail serverMail server
Mail server
 
Email
EmailEmail
Email
 
how email works
how email workshow email works
how email works
 
10135 a 05
10135 a 0510135 a 05
10135 a 05
 
E mail protocol - SMTP
E mail protocol - SMTPE mail protocol - SMTP
E mail protocol - SMTP
 
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOLSMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
 
How Email Works
How Email WorksHow Email Works
How Email Works
 
retrieving the mail
retrieving the mailretrieving the mail
retrieving the mail
 
Information on protocols-email protocols
Information on protocols-email protocolsInformation on protocols-email protocols
Information on protocols-email protocols
 

Similaire à Voice Enabled SMTP Client

Chat app case study - xmpp vs SIP
Chat app case study - xmpp vs SIPChat app case study - xmpp vs SIP
Chat app case study - xmpp vs SIPGenora Infotech
 
CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10Nil Menon
 
CCNA RS_ITN - Chapter 10
CCNA RS_ITN - Chapter 10CCNA RS_ITN - Chapter 10
CCNA RS_ITN - Chapter 10Irsandi Hasan
 
Mail tracker mini
Mail tracker miniMail tracker mini
Mail tracker minipendyam
 
Emg White Paper Ver1.2
Emg White Paper Ver1.2Emg White Paper Ver1.2
Emg White Paper Ver1.2bradgaunt
 
Chapter 10 - Application Layer
Chapter 10 - Application LayerChapter 10 - Application Layer
Chapter 10 - Application LayerYaser Rahmati
 
CCNAv5 - S1: Chapter 10 Application Layer
CCNAv5 - S1: Chapter 10 Application LayerCCNAv5 - S1: Chapter 10 Application Layer
CCNAv5 - S1: Chapter 10 Application LayerVuz Dở Hơi
 
Chapter 10 : Application layer
Chapter 10 : Application layerChapter 10 : Application layer
Chapter 10 : Application layerteknetir
 
3150710_CN_GTU_Study_Material_Presentations_Unit-2_13082021073829PM.pdf
3150710_CN_GTU_Study_Material_Presentations_Unit-2_13082021073829PM.pdf3150710_CN_GTU_Study_Material_Presentations_Unit-2_13082021073829PM.pdf
3150710_CN_GTU_Study_Material_Presentations_Unit-2_13082021073829PM.pdfKrishnaShah908060
 
Ccna v5-S1-Chapter 10
Ccna v5-S1-Chapter 10Ccna v5-S1-Chapter 10
Ccna v5-S1-Chapter 10Hamza Malik
 
Digital Forensics Research & Examination
Digital Forensics Research & ExaminationDigital Forensics Research & Examination
Digital Forensics Research & ExaminationforensicEmailAnalysis
 
uma.290215118
uma.290215118uma.290215118
uma.290215118ypai
 
Mail store server4 manual-en
Mail store server4 manual-enMail store server4 manual-en
Mail store server4 manual-enguest8e6971
 
OTechs Mail system proposal
OTechs Mail system proposalOTechs Mail system proposal
OTechs Mail system proposalOsman Suliman
 
E-Mail Header- A Forensic Key to Examine an E-Mail
E-Mail Header- A Forensic Key to Examine an E-MailE-Mail Header- A Forensic Key to Examine an E-Mail
E-Mail Header- A Forensic Key to Examine an E-MailIRJET Journal
 

Similaire à Voice Enabled SMTP Client (20)

Chat app case study - xmpp vs SIP
Chat app case study - xmpp vs SIPChat app case study - xmpp vs SIP
Chat app case study - xmpp vs SIP
 
CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10
 
Mail server
Mail serverMail server
Mail server
 
CCNA RS_ITN - Chapter 10
CCNA RS_ITN - Chapter 10CCNA RS_ITN - Chapter 10
CCNA RS_ITN - Chapter 10
 
Mail tracker mini
Mail tracker miniMail tracker mini
Mail tracker mini
 
Lecture19
Lecture19Lecture19
Lecture19
 
Emg White Paper Ver1.2
Emg White Paper Ver1.2Emg White Paper Ver1.2
Emg White Paper Ver1.2
 
Chapter 10 - Application Layer
Chapter 10 - Application LayerChapter 10 - Application Layer
Chapter 10 - Application Layer
 
CCNAv5 - S1: Chapter 10 Application Layer
CCNAv5 - S1: Chapter 10 Application LayerCCNAv5 - S1: Chapter 10 Application Layer
CCNAv5 - S1: Chapter 10 Application Layer
 
Chapter 10 : Application layer
Chapter 10 : Application layerChapter 10 : Application layer
Chapter 10 : Application layer
 
3150710_CN_GTU_Study_Material_Presentations_Unit-2_13082021073829PM.pdf
3150710_CN_GTU_Study_Material_Presentations_Unit-2_13082021073829PM.pdf3150710_CN_GTU_Study_Material_Presentations_Unit-2_13082021073829PM.pdf
3150710_CN_GTU_Study_Material_Presentations_Unit-2_13082021073829PM.pdf
 
Ccna v5-S1-Chapter 10
Ccna v5-S1-Chapter 10Ccna v5-S1-Chapter 10
Ccna v5-S1-Chapter 10
 
Digital Forensics Research & Examination
Digital Forensics Research & ExaminationDigital Forensics Research & Examination
Digital Forensics Research & Examination
 
uma.290215118
uma.290215118uma.290215118
uma.290215118
 
Mail store server4 manual-en
Mail store server4 manual-enMail store server4 manual-en
Mail store server4 manual-en
 
pop3-imap.ppt
pop3-imap.pptpop3-imap.ppt
pop3-imap.ppt
 
pop3-imap.ppt
pop3-imap.pptpop3-imap.ppt
pop3-imap.ppt
 
OTechs Mail system proposal
OTechs Mail system proposalOTechs Mail system proposal
OTechs Mail system proposal
 
Art Of Message Queues
Art Of Message QueuesArt Of Message Queues
Art Of Message Queues
 
E-Mail Header- A Forensic Key to Examine an E-Mail
E-Mail Header- A Forensic Key to Examine an E-MailE-Mail Header- A Forensic Key to Examine an E-Mail
E-Mail Header- A Forensic Key to Examine an E-Mail
 

Plus de Nilesh Padwal

U.S Air Flight On-Time Performance with Data Mining & Analytics
U.S Air Flight On-Time Performance with Data Mining & AnalyticsU.S Air Flight On-Time Performance with Data Mining & Analytics
U.S Air Flight On-Time Performance with Data Mining & AnalyticsNilesh Padwal
 
Residential safety office_business analysis_project
Residential safety office_business analysis_projectResidential safety office_business analysis_project
Residential safety office_business analysis_projectNilesh Padwal
 
Music management system
Music management system  Music management system
Music management system Nilesh Padwal
 
Advance database management project
Advance database management projectAdvance database management project
Advance database management projectNilesh Padwal
 

Plus de Nilesh Padwal (6)

U.S Air Flight On-Time Performance with Data Mining & Analytics
U.S Air Flight On-Time Performance with Data Mining & AnalyticsU.S Air Flight On-Time Performance with Data Mining & Analytics
U.S Air Flight On-Time Performance with Data Mining & Analytics
 
Budget Planning
Budget Planning Budget Planning
Budget Planning
 
Residential safety office_business analysis_project
Residential safety office_business analysis_projectResidential safety office_business analysis_project
Residential safety office_business analysis_project
 
Music management system
Music management system  Music management system
Music management system
 
Advance database management project
Advance database management projectAdvance database management project
Advance database management project
 
Html5 &&& css3
Html5 &&& css3 Html5 &&& css3
Html5 &&& css3
 

Voice Enabled SMTP Client

  • 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
  • 6. Modular Design 6Voice 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