Python easy mail library Documentation

Size: px
Start display at page:

Download "Python easy mail library Documentation"

Transcription

1 Python easy mail library Documentation Release Alain Spineux Oct 31, 2017

2

3 Contents 1 Download and Install 3 2 Support for Python 3.x 5 3 Use pyzmail 7 4 Documentation Articles API documentation Support 11 6 Quick Example Compose an Send an Parse an Tricks Embedding image in HTML Scripts pyzsendmail pyzinfomail License Links 23 i

4 ii

5 Python easy mail library Documentation, Release pyzmail is a high level mail library for Python. It provides functions and classes that help for reading, composing and sending s. pyzmail exists because their is no reasons that handling mails with Python would be more difficult than with popular mail clients like Outlook or Thunderbird. pyzmail hides the complexity of the MIME structure and MIME encoding/decoding. It also make the problems of the internationalization encoding/decoding simpler. Contents 1

6 Python easy mail library Documentation, Release Contents

7 CHAPTER 1 Download and Install pyzmail is available for Python 2.6+ and 3.2+ from pypi and can be easily installed using the easy_install successor named distribute and pip using $ pip install pyzmail to quickly install distribute and pip, use curl -O python distribute_setup.py easy_install pip pyzmail can be installed the old way from sources. Download the archive from pypi and extract its content into a directory. cd into this directory and run: > cd pyzmail-x.x.x > python setup.py install Binary version of the scripts for Windows pyzmail win32.zip can be downloaded from here. pyzmail sources are also available on github 3

8 Python easy mail library Documentation, Release Chapter 1. Download and Install

9 CHAPTER 2 Support for Python 3.x Python 3.2+ supported Python 3.2 is supported and has been tested. Python 3.0 and 3.1 are not supported because none of them provide functions to handle 8bits encoded s like in 3.2 ( .message_from_bytes() & . message_from_binary_file() ) At installation time, pyzmail sources are automatically converted by distribute using 2to3. Unfortunately, scripts are not converted in the process. You can convert them using 2to3 yourself (adapt paths to fit you configuration): /opt/python-3.2.2/bin/2to3 --no-diffs --write --nobackups /opt/python-3.2.2/bin/ pyzinfomail /opt/python-3.2.2/bin/2to3 --no-diffs --write --nobackups /opt/python-3.2.2/bin/ pyzsendmail 5

10 Python easy mail library Documentation, Release Chapter 2. Support for Python 3.x

11 CHAPTER 3 Use pyzmail The package is split into 3 modules: generate: Useful functions to compose and send mail s parse: Useful functions to parse s utils: Various functions used by other modules Most important functions are available from the top of the pyzmail package. usage sample: import pyzmail #access function from top of pyzmail ret=pyzmail.compose_mail('me@foo.com', [ 'him@bar.com'], u'subject', \ 'iso ', ('Hello world', 'us-ascii')) payload=ret[0] print payload msg=pyzmail.pyzmessage.factory(payload) print msg.get_subject() #use more specific function from inside modules print pyzmail.generate.format_addresses([('john', 'john@foo.com') ], \ 'From', 'us-ascii') print pyzmail.parse.decode_mail_header('=?iso ?q?hello?=') More in the Quick Example section. 7

12 Python easy mail library Documentation, Release Chapter 3. Use pyzmail

13 CHAPTER 4 Documentation You can find lots of sample inside the docstrings but also in the tests directory. The documentation, samples, docstring and articles are all fitted for python 2.x. Some occasional hint give some tricks about Python 3.x. Articles To understand how this library works, you will find these 3 articles very useful. They have been written before the first release of pyzmail and the code has changed a little since: Parsing using Python part 1 of 2 : The Header Parsing using Python part 2 of 2 : The content Generate and send mail with python: tutorial API documentation The API documentation in epydoc format contains a lot of samples in doctest string. You will find them very useful too. 9

14 Python easy mail library Documentation, Release Chapter 4. Documentation

15 CHAPTER 5 Support Ask your questions here 11

16 Python easy mail library Documentation, Release Chapter 5. Support

17 CHAPTER 6 Quick Example Lets show you how it works! Compose an import pyzmail sender=(u'me', 'me@foo.com') recipients=[(u'him', 'him@bar.com'), 'just@me.com'] subject=u'the subject' text_content=u'bonjour aux Fran\xe7ais' prefered_encoding='iso ' text_encoding='iso ' payload, mail_from, rcpt_to, msg_id=pyzmail.compose_mail(\ sender, \ recipients, \ subject, \ prefered_encoding, \ (text_content, text_encoding), \ html=none, \ attachments=[('attached content', 'text', 'plain', 'text.txt', \ 'us-ascii')]) print payload Look a the output: Content-Type: multipart/mixed; boundary="=============== ==" MIME-Version: 1.0 From: Me <me@foo.com> To: Him <him@bar.com>, just@me.com Subject: the subject 13

18 Python easy mail library Documentation, Release Date: Fri, 19 Aug :04: =============== == Content-Type: text/plain; charset="iso " MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Bonjour aux Fran=E7ais --=============== == Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="text.txt" attached content --=============== ==-- Send an First take a look at the other values returned by pyzmail.compose_mail(): print 'Sender address:', mail_from print 'Recipients:', rcpt_to Here are the values I can reuse for my SMTP connection: Sender address: me@foo.com Recipients: ['him@bar.com', 'just@me.com'] I want to send my via my Gmail account: smtp_host='smtp.gmail.com' smtp_port=587 smtp_mode='tls' smtp_login='my.gmail.addresse@gmail.com' smtp_password='my.gmail.password' ret=pyzmail.send_mail(payload, mail_from, rcpt_to, smtp_host, \ smtp_port=smtp_port, smtp_mode=smtp_mode, \ smtp_login=smtp_login, smtp_password=smtp_password) if isinstance(ret, dict): if ret: print 'failed recipients:', ', '.join(ret.keys()) else: print 'success' else: print 'error:', ret Here pyzmail.send_mail() combine SSL and authentication. 14 Chapter 6. Quick Example

19 Python easy mail library Documentation, Release Parse an Now lets try to read the we have just composed: msg=pyzmail.pyzmessage.factory(payload) print 'Subject: %r' % (msg.get_subject(), ) print 'From: %r' % (msg.get_address('from'), ) print 'To: %r' % (msg.get_addresses('to'), ) print 'Cc: %r' % (msg.get_addresses('cc'), ) Take a look at the outpout: Subject: u'the subject' From: (u'me', 'me@foo.com') To: [(u'him', 'him@bar.com'), (u'just@me.com', 'just@me.com')] Cc: [] And a little further regarding the mail content and attachment: for mailpart in msg.mailparts: print ' %sfilename=%r alt_filename=%r type=%s charset=%s desc=%s size=%d' % ( \ '*'if mailpart.is_body else ' ', \ mailpart.filename, \ mailpart.sanitized_filename, \ mailpart.type, \ mailpart.charset, \ mailpart.part.get('content-description'), \ len(mailpart.get_payload()) ) if mailpart.type.startswith('text/'): # display first line of the text payload, used_charset=pyzmail.decode_text(mailpart.get_payload(), mailpart. charset, None) print ' >', payload.split('\\n')[0] And the output: *filename=none alt_filename='text.txt' type=text/plain charset=iso desc=none size=20 > Bonjour aux Français filename=u'text.txt' alt_filename='text-01.txt' type=text/plain charset=us-ascii desc=none size=16 > attached content The first one, with a * is the text content, the second one is the attachment. You also have direct access to the text and HTML content using: if msg.text_part!=none: print '-- text --' print msg.text_part.get_payload() if msg.html_part!=none: print '-- html --' print msg.html_part.get_payload() And the output: 6.3. Parse an 15

20 Python easy mail library Documentation, Release text -- Bonjour aux Français Their is no HTML part! 16 Chapter 6. Quick Example

21 CHAPTER 7 Tricks Embedding image in HTML Image embedding differs from linked images in that the image itself is encoded, and included inside the message. Instead of using a normal URL in the IMG tag inside the HTML body, we must use a cid:target reference and assign this target name to the Content-ID of the embedded file. See this sample: import base64 import pyzmail angry_gif=base64.b64decode( """R0lGODlhDgAOALMAAAwMCYAAAACAAKaCIwAAgIAAgACAgPbTfoR/YP8AAAD/AAAA//rMUf8A/wD/ //Tw5CH5BAAAAAAALAAAAAAOAA4AgwwMCYAAAACAAKaCIwAAgIAAgACAgPbTfoR/YP8AAAD/AAAA //rmuf8a/wd///tw5aq28b1gqz3s6jop2sxnayngaghahirquzh6sedgpqgy5/b9ui+ezkakghhg ZPLIbMKcDMwLhIkAADs= """) text_content=u"i'm very angry. See attached document." html_content=u'<html><body>i\'m very angry. ' \ '<img src="cid:angry_gif" />.\n' \ 'See attached document.</body></html>' payload, mail_from, rcpt_to, msg_id=pyzmail.compose_mail(\ (u'me', 'me@foo.com'), \ [(u'him', 'him@bar.com'), 'just@me.com'], \ u'the subject', \ 'iso ', \ (text_content, 'iso '), \ (html_content, 'iso '), \ attachments=[('the price of RAM modules is increasing.', \ 'text', 'plain', 'text.txt', 'us-ascii'), ], embeddeds=[(angry_gif, 'image', 'gif', 'angry_gif', None), ]) 17

22 Python easy mail library Documentation, Release print payload And here is the payload: Content-Type: multipart/mixed; boundary="=============== ==" MIME-Version: 1.0 From: Me To: Him Subject: the subject Date: Fri, 02 Sep :40: =============== == Content-Type: multipart/related; boundary="=============== ==" MIME-Version: =============== == Content-Type: multipart/alternative; boundary="=============== ==" MIME-Version: =============== == Content-Type: text/plain; charset="iso " MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable I'm very angry. See attached document. --=============== == Content-Type: text/html; charset="iso " MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable <html><body>i'm very angry. <img src=3d"cid:angry_gif" />. See attached doc= ument.</body></html> --=============== ==-- --=============== == Content-Type: image/gif MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-ID: <angry_gif> Content-Disposition: inline R0lGODlhDgAOALMAAAwMCYAAAACAAKaCIwAAgIAAgACAgPbTfoR/YP8AAAD/AAAA//rMUf8A/wD/ //Tw5CH5BAAAAAAALAAAAAAOAA4AgwwMCYAAAACAAKaCIwAAgIAAgACAgPbTfoR/YP8AAAD/AAAA //rmuf8a/wd///tw5aq28b1gqz3s6jop2sxnayngaghahirquzh6sedgpqgy5/b9ui+ezkakghhg ZPLIbMKcDMwLhIkAADs= --=============== ==-- --=============== == Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="text.txt" The price of RAM module is increasing. --=============== ==-- 18 Chapter 7. Tricks

23 CHAPTER 8 Scripts Binary executables for Windows of these script are available in the Download _ section below. pyzsendmail pyzsendmail is a command line script to compose and send simple and complex s. Features: SSL, TLS, authentication HTML content and embedded images attachments Internationalisation Read the manual for more. Under Windows pyzsendmail.exe can replace the now old blat.exe and bmail.exe. pyzinfomail pyzinfomail is a command line script reading an from a file and printing most important information. Mostly to show how to use pyzmail library. Read the manual for more. 19

24 Python easy mail library Documentation, Release Chapter 8. Scripts

25 CHAPTER 9 License pyzmail iis released under the GNU Lesser General Public License ( LGPL ). 21

26 Python easy mail library Documentation, Release Chapter 9. License

27 CHAPTER 10 Links More links about parsing and writing mail in python formataddr() and unicode Sending Unicode s in Python Sending with smtplib 23

Who s Marcus? mail() 2008 Marcus Bointon

Who s Marcus? mail() 2008 Marcus Bointon 1 Who s Marcus? Programming since 1982 Years of multimedia production for CD-ROM In PHP since 2001 Technical Director of Synchromedia Ltd Sole architect and coder of Smartmessages.net Delivering around

More information

yagmail Documentation

yagmail Documentation yagmail Documentation Release 0.10.189 kootenpv Feb 08, 2018 Contents 1 API Reference 3 1.1 Authentication.............................................. 3 1.2 SMTP Client...............................................

More information

CS 418 Web Programming Spring 2013 SENDING SCOTT G. AINSWORTH.

CS 418 Web Programming Spring 2013 SENDING  SCOTT G. AINSWORTH. CS 418 Web Programming Spring 2013 SENDING EMAIL SCOTT G. AINSWORTH http://www.cs.odu.edu/~sainswor/cs418-s13/ OUTLINE Assigned Reading Chapter 11 "Sending E-mail" Chapter 17 "Using Log Files to Improve

More information

The MIME format. What is MIME?

The MIME format. What is MIME? The MIME format Antonio Lioy < lioy@polito.it > english version created by Marco D. Aime < m.aime@polito.it it > Politecnico di Torino Dip. Automatica e Informatica What is MIME? Multipurpose Internet

More information

Network Working Group Request for Comments: 1844 Obsoletes: 1820 August 1995 Category: Informational

Network Working Group Request for Comments: 1844 Obsoletes: 1820 August 1995 Category: Informational Network Working Group E. Huizer Request for Comments: 1844 SURFnet bv Obsoletes: 1820 August 1995 Category: Informational Status of this Memo Multimedia E-mail (MIME) User Agent checklist This memo provides

More information

Flask-Sendmail Documentation

Flask-Sendmail Documentation Flask-Sendmail Documentation Release 0.1 Anthony Ford February 14, 2014 Contents 1 Installing Flask-Sendmail 3 2 Configuring Flask-Sendmail 5 3 Sending messages 7 4 Bulk emails 9 5 Attachments 11 6 Unit

More information

Internet Electronic Mail

Internet Electronic Mail Internet Electronic Mail Antonio Carzaniga Faculty of Informatics University of Lugano March 9, 2010 Outline General concepts Transport protocol: SMTP Basic message format MIME format A Postal Service

More information

Electronic mail, usually called , consists of simple text messages a piece of text sent to a recipient via the internet.

Electronic mail, usually called  , consists of simple text messages a piece of text sent to a recipient via the internet. 1 Electronic Mail Electronic mail, usually called e-mail, consists of simple text messages a piece of text sent to a recipient via the internet. E-mail Clients To read e-mail, we use an e-mail client,

More information

Advanced CGI Scripts. personalized web browsing using cookies: count number of visits. secure hash algorithm using cookies for login data the scripts

Advanced CGI Scripts. personalized web browsing using cookies: count number of visits. secure hash algorithm using cookies for login data the scripts Advanced CGI Scripts 1 Cookies personalized web browsing using cookies: count number of visits 2 Password Encryption secure hash algorithm using cookies for login data the scripts 3 Authentication via

More information

Simple Network Management Protocol (SNMP)

Simple Network Management Protocol (SNMP) Announcements Project #5 extended until Dec. 10 Reading: 7.3, start 7.4 Midterm #2 last day to request re-grades Th in class HW#2 (due Tuesday Dec. 7) 1 Simple Network Management Protocol (SNMP) Managed

More information

Electronic mail security

Electronic mail security Electronic mail security Ola Flygt Växjö University, Sweden http://w3.msi.vxu.se/users/ofl/ Ola.Flygt@vxu.se +46 470 70 86 49 1 Outline Pretty Good Privacy (PGP) S/MIME 2 1 Pretty Good Privacy Philip R.

More information

Simple Network Management Protocol (SNMP)

Simple Network Management Protocol (SNMP) Announcements Project #5 extended until Dec. 10 Reading: 7.3, start 7.4 Midterm #2 last day to request re-grades Th in class HW#2 (due Tuesday Dec. 7) 1 Simple Network Management Protocol (SNMP) Managed

More information

Sending s With Sendmail - Part 2

Sending  s With Sendmail - Part 2 CODECALL Programming Tutorials Linux Tutorials, Guides and Tips Sending Emails With Sendmail - Part 2 Started by, Aug 31 2009 04:55 PM form, Posted 31 August 2009-04:55 PM Ok, so now that you know how

More information

Applications & Application-Layer Protocols: FTP and (SMTP & POP)

Applications & Application-Layer Protocols: FTP and  (SMTP & POP) COMP 431 Internet Services & Protocols Applications & Application-Layer Protocols: FTP and E ( & POP) Jasleen Kaur February 7, 2019 Application-Layer Protocols Outline Example client/ systems and their

More information

Motivation For Networking. Information access Interaction among cooperative application programs Resource sharing

Motivation For Networking. Information access Interaction among cooperative application programs Resource sharing Motivation For Networking Information access Interaction among cooperative application programs Resource sharing CS422 -- PART 1 13 2003 Practical Results E-mail File transfer/access Web browsing Remote

More information

2. Introduction to Internet Applications

2. Introduction to Internet Applications 2. Introduction to Internet Applications 1. Representation and Transfer 2. Web Protocols 3. Some Other Application Layer Protocols 4. Uniform Resource Identifiers (URIs) 5. Uniform Resource Locators (URLs)

More information

Integration Guide Xura Messaging SMTP- Interface

Integration Guide Xura Messaging SMTP- Interface Integration Guide Xura Messaging SMTP- Interface Version 1.3.0 Content is subject to change Xura Secure Communications GmbH Tel.: +49 89 201 727 0 e-mail.: asc-support@xura.com All rights reserved. This

More information

Emacs MIME Manual. by Lars Magne Ingebrigtsen

Emacs MIME Manual. by Lars Magne Ingebrigtsen Emacs MIME Manual by Lars Magne Ingebrigtsen This file documents the Emacs MIME interface functionality. Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Permission is granted

More information

TPS Documentation. Release Thomas Roten

TPS Documentation. Release Thomas Roten TPS Documentation Release 0.1.0 Thomas Roten Sep 27, 2017 Contents 1 TPS: TargetProcess in Python! 3 2 Installation 5 3 Contributing 7 3.1 Types of Contributions..........................................

More information

*:96 Overheads. Part 2c: URL, Media types

*:96 Overheads. Part 2c: URL, Media types 2-c1 *:96 Overheads Part 2c: URL, Media types More about this course about Internet application protocols can be found at URL: http://www.dsv.su.se/~jpalme/internet-course/int-appprot-kurs.html Last update:

More information

polib Documentation Release David Jean Louis

polib Documentation Release David Jean Louis polib Documentation Release 1.0.6 David Jean Louis January 04, 2015 Contents 1 Quick start guide 3 1.1 Installing polib.............................................. 3 1.2 Some basics

More information

Roman Numeral Converter Documentation

Roman Numeral Converter Documentation Roman Numeral Converter Documentation Release 0.1.0 Adrian Cruz October 07, 2014 Contents 1 Roman Numeral Converter 3 1.1 Features.................................................. 3 2 Installation 5

More information

Internet Technology. 03r. Application layer protocols: . Paul Krzyzanowski. Rutgers University. Spring 2016

Internet Technology. 03r. Application layer protocols:  . Paul Krzyzanowski. Rutgers University. Spring 2016 Internet Technology 03r. Application layer protocols: email Paul Krzyzanowski Rutgers University Spring 2016 1 Email: SMTP (Simple Mail Transfer Protocol) 2 Simple Mail Transfer Protocol (SMTP) Protocol

More information

How to work with HTTP requests and responses

How to work with HTTP requests and responses How a web server processes static web pages Chapter 18 How to work with HTTP requests and responses How a web server processes dynamic web pages Slide 1 Slide 2 The components of a servlet/jsp application

More information

django-idioticon Documentation

django-idioticon Documentation django-idioticon Documentation Release 0.0.1 openpolis June 10, 2014 Contents 1 django-idioticon 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................

More information

Part 4: Message delivery protocols (POP and IMAP) Network News (Usenet News)

Part 4: Message delivery protocols (POP and IMAP) Network News (Usenet News) 4-1 *:96 Overheads Part 4: Message delivery protocols (POP and IMAP) Network News (Usenet News) More about this course about Internet application protocols can be found at URL: http://www.dsv.su.se/~jpalme/internet-course/int-app-prot-kurs.html

More information

withenv Documentation

withenv Documentation withenv Documentation Release 0.7.0 Eric Larson Aug 02, 2017 Contents 1 withenv 3 2 Installation 5 3 Usage 7 3.1 YAML Format.............................................. 7 3.2 Command Substitutions.........................................

More information

e24paymentpipe Documentation

e24paymentpipe Documentation e24paymentpipe Documentation Release 1.2.0 Burhan Khalid Oct 30, 2017 Contents 1 e24paymentpipe 3 1.1 Features.................................................. 3 1.2 Todo...................................................

More information

SMTP. George Porter CSE 124 February 12, 2015

SMTP. George Porter CSE 124 February 12, 2015 SMTP George Porter CSE 124 February 12, 2015 Homework 2 out Announcements Project 2 checkpoint due Tuesday Traditional Applications Two of the most popular The World Wide Web and Email. Broadly speaking,

More information

Objectives CINS/F1-01

Objectives CINS/F1-01 Email Security (1) Objectives Understand how e-mail systems operate over networks. Classify the threats to the security of e-mail. Study how S/MIME and PGP can be used to add security to e-mail systems.

More information

with Perl. Stefan Hornburg (Racke) Nordic Perl Workshop 2018, Oslo, 6th September

with Perl. Stefan Hornburg (Racke) Nordic Perl Workshop 2018, Oslo, 6th September Email with Perl Stefan Hornburg (Racke) Nordic Perl Workshop 2018, Oslo, 6th September Stefan Hornburg (Racke) Email with Perl Nordic Perl Workshop 2018, Oslo, 6th September 1 / 48 Introduction Email with

More information

RedBarrel Documentation

RedBarrel Documentation RedBarrel Documentation Release 1.0 2011, Tarek Ziadé August 08, 2011 CONTENTS 1 What s RedBarrel? 3 1.1 Anatomy of a Web Service........................................ 3 1.2 The RBR DSL..............................................

More information

Python simple arp table reader Documentation

Python simple arp table reader Documentation Python simple arp table reader Documentation Release 0.0.1 David Francos Nov 17, 2017 Contents 1 Python simple arp table reader 3 1.1 Features.................................................. 3 1.2 Usage...................................................

More information

is still the most used Internet app. According to some studies around 85% of Internet users still use for communication.

is still the most used Internet app. According to some studies around 85% of Internet users still use  for communication. 1 E-mail is still the most used Internet app. According to some studies around 85% of Internet users still use e-mail for communication. Electronic mail is a method to exchange digital messages from a

More information

json2xls Documentation

json2xls Documentation json2xls Documentation Release 0.1.3c axiaoxin Aug 10, 2017 Contents 1 3 2 5 3 API 9 i ii json2xls Documentation, Release 0.1.3c jsonexceljsonexceljson jsonjsonurljsonjson Contents 1 json2xls Documentation,

More information

I2C LCD Documentation

I2C LCD Documentation I2C LCD Documentation Release 0.1.0 Peter Landoll Sep 04, 2017 Contents 1 I2C LCD 3 1.1 Features.................................................. 3 1.2 Credits..................................................

More information

Python wrapper for Viscosity.app Documentation

Python wrapper for Viscosity.app Documentation Python wrapper for Viscosity.app Documentation Release Paul Kremer March 08, 2014 Contents 1 Python wrapper for Viscosity.app 3 1.1 Features.................................................. 3 2 Installation

More information

CNRS ANF PYTHON Packaging & Life Cycle

CNRS ANF PYTHON Packaging & Life Cycle CNRS ANF PYTHON Packaging & Life Cycle Marc Poinot Numerical Simulation Dept. Outline Package management with Python Concepts Software life cycle Package services Pragmatic approach Practical works Source

More information

BulkMailer User Guide

BulkMailer User Guide BulkMailer User Guide If you want to run BulkMailer on your PC, this document is for you. In this document, we first ensure that BulkMailer is the program you want to run. Then, we explain how to install

More information

chatterbot-weather Documentation

chatterbot-weather Documentation chatterbot-weather Documentation Release 0.1.1 Gunther Cox Nov 23, 2018 Contents 1 chatterbot-weather 3 1.1 Installation................................................ 3 1.2 Example.................................................

More information

Internet Protocols. Robin Sharp

Internet Protocols. Robin Sharp Internet Protocols Robin Sharp Informatics and Mathematical Modelling Technical University of Denmark Phone: (+45) 4525 3749 e-mail: robin@imm.dtu.dk Internet Protocols Just to remind you: Application

More information

SAP AG. Fax via SMTP Partner Requirements

SAP AG. Fax via SMTP Partner Requirements SAP AG 14 December 2011 Table of contents: 1 Introduction... 3 2 Formats... 4 2.1 SMTP... 4 2.2 Mail Header... 4 2.3 MIME Content... 4 2.3.1 Outbound Fax - Sending from SAP to SF gateway... 4 2.3.2 Inbound

More information

Application: Electronic Mail

Application: Electronic Mail Content Application: Electronic Mail Linda Wu Email system model protocol MIME extensions Mail access protocols (CMPT 471 2003-3) Reference: chapter 27 Notes-19 CMPT 471 2003-3 2 Email System Model Client-

More information

Lecture 7 Application Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 7 Application Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Lecture 7 Application Layer Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Application-layer protocols Application: communicating, distributed processes running in network hosts

More information

Electronic Mail Paradigm

Electronic Mail Paradigm Electronic Mail Paradigm E-mail uses the client-server model. E-mail was designed as an electronic extension of the old paper office memo. - A quick and easy means of low-overhead written communication.

More information

Debian/GNU Linux Mailing

Debian/GNU Linux Mailing Debian/GNU Linux Mailing Overview of the Mailing Károly Erdei October 15, 2014 Károly Erdei Debian/GNU Linux Mailing 1/67 Agenda 1 Mailing 2 Protocols 3 SPAM 4 Antispam 5 Thunderbird 6 TB-Preferences 7

More information

Python Schema Generator Documentation

Python Schema Generator Documentation Python Schema Generator Documentation Release 1.0.0 Peter Demin June 26, 2016 Contents 1 Mutant - Python code generator 3 1.1 Project Status............................................... 3 1.2 Design..................................................

More information

Internet and Intranet Protocols and Applications

Internet and Intranet Protocols and Applications Internet and Intranet Protocols and Applications Lecture 4: General Characteristics of Internet Protocols; the Email Protocol February 10, 2004 Arthur Goldberg Computer Science Department New York University

More information

smartfilesorter Documentation

smartfilesorter Documentation smartfilesorter Documentation Release 0.2.0 Jason Short September 14, 2014 Contents 1 Smart File Sorter 3 1.1 Features.................................................. 3 2 Installation 5 3 Usage Example

More information

Experiment No: Group A-6

Experiment No: Group A-6 R (2) N (5) Oral (3) Total (10) Dated Sign Experiment No: Group A-6 Problem Definition: Write a program in C++ /Python to analyze email header. 6.1Prerequisite: Application Layer Protocols 6.2 Learning

More information

WWW: the http protocol

WWW: the http protocol Internet apps: their protocols and transport protocols Application e-mail remote terminal access Web file transfer streaming multimedia remote file Internet telephony Application layer protocol smtp [RFC

More information

MailCall. Business Basic Utility Version by Synergetic Data Systems Inc.

MailCall. Business Basic  Utility Version by Synergetic Data Systems Inc. MailCall Business Basic Email Utility Version 2.0 2002 by Synergetic Data Systems Inc. http://synergetic-data.com sdsi@synergetic-data.com MAILCALL... 1 BUSINESS BASIC EMAIL UTILITY... 1 VERSION 2.0...

More information

ing With PHP History of Applications or Use

ing With PHP History of  Applications or Use Emailing With PHP What is Email? E mail, short for electronic mail and often abbreviated to e mail, email or simply mail, is a store and forward method of composing, sending, receiving and storing messages

More information

Media Types. Web Architecture and Information Management [./] Spring 2009 INFO (CCN 42509) Contents. Erik Wilde, UC Berkeley School of

Media Types. Web Architecture and Information Management [./] Spring 2009 INFO (CCN 42509) Contents. Erik Wilde, UC Berkeley School of Contents Media Types Contents Web Architecture and Information Management [./] Spring 2009 INFO 190-02 (CCN 42509) Erik Wilde, UC Berkeley School of Information [http://creativecommons.org/licenses/by/3.0/]

More information

Network Working Group. Category: Standards Track Microsoft Corporation March 1997

Network Working Group. Category: Standards Track Microsoft Corporation March 1997 Network Working Group Request for Comments: 2110 Category: Standards Track J. Palme Stockholm University/KTH A. Hopmann Microsoft Corporation March 1997 MIME E-mail Encapsulation of Aggregate Documents,

More information

Network Working Group. Obsoletes: 1342 September 1993 Category: Standards Track

Network Working Group. Obsoletes: 1342 September 1993 Category: Standards Track Network Working Group K. Moore Request for Comments: 1522 University of Tennessee Obsoletes: 1342 September 1993 Category: Standards Track MIME (Multipurpose Internet Mail Extensions) Part Two: Message

More information

HTTP, circa HTTP protocol. GET /foo/bar.html HTTP/1.1. Sviluppo App Web 2015/ Intro 3/3/2016. Marco Tarini, Uninsubria 1

HTTP, circa HTTP protocol. GET /foo/bar.html HTTP/1.1. Sviluppo App Web 2015/ Intro 3/3/2016. Marco Tarini, Uninsubria 1 HTTP protocol HTTP, circa 1989 a resource «give me the HTML representation of thatresource» «ok, here» Client request GET /hello.txt Server response Hello, world! Client Server Http 1.1 Request line Client

More information

Outline. Tools

Outline.  Tools E-mail Tools 1 Outline Goals and Objectives Topics Headlines Introduction Communication Protocols Content, Attachments, and Etiquette Acronyms and Emoticons E-mail clients and Webbased E-mail Eudora Outlook

More information

Foundations of Python

Foundations of Python Foundations of Python Network Programming The comprehensive guide to building network applications with Python Second Edition Brandon Rhodes John Goerzen Apress Contents Contents at a Glance About the

More information

Flask-Cors Documentation

Flask-Cors Documentation Flask-Cors Documentation Release 3.0.4 Cory Dolphin Apr 26, 2018 Contents 1 Installation 3 2 Usage 5 2.1 Simple Usage............................................... 5 3 Documentation 7 4 Troubleshooting

More information

ndeftool documentation

ndeftool documentation ndeftool documentation Release 0.1.0 Stephen Tiedemann May 19, 2018 Contents 1 NDEFTOOL 3 1.1 Synopsis................................................. 3 1.2 Description................................................

More information

Paraben Examiner 9.0 Release Notes

Paraben  Examiner 9.0 Release Notes Paraben E-mail Examiner 9.0 Release Notes 1 Paraben Corporation Welcome to Paraben s E-mail Examiner 9.0! Paraben s Email Examiner-EMX allows for the forensic examination of the most popular local e-mail

More information

CompSci 356: Computer Network Architectures. Lecture 23: Application Layer Protocols Chapter 9.1. Xiaowei Yang

CompSci 356: Computer Network Architectures. Lecture 23: Application Layer Protocols Chapter 9.1. Xiaowei Yang CompSci 356: Computer Network Architectures Lecture 23: Application Layer Protocols Chapter 9.1 Xiaowei Yang xwy@cs.duke.edu The Internet Architecture Application layer Transport layer / Layer 4 Network

More information

Django Wordpress API Documentation

Django Wordpress API Documentation Django Wordpress API Documentation Release 0.1.0 Swapps Jun 28, 2017 Contents 1 Django Wordpress API 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................

More information

Nirvana Documentation

Nirvana Documentation Nirvana Documentation Release 0.0.1 Nick Wilson Nov 17, 2017 Contents 1 Overview 3 2 Installation 5 3 User Guide 7 4 Developer Guide 9 5 Sitemap 11 5.1 User Guide................................................

More information

Dragon Mapper Documentation

Dragon Mapper Documentation Dragon Mapper Documentation Release 0.2.6 Thomas Roten March 21, 2017 Contents 1 Support 3 2 Documentation Contents 5 2.1 Dragon Mapper.............................................. 5 2.2 Installation................................................

More information

API Wrapper Documentation

API Wrapper Documentation API Wrapper Documentation Release 0.1.7 Ardy Dedase February 09, 2017 Contents 1 API Wrapper 3 1.1 Overview................................................. 3 1.2 Installation................................................

More information

OTX to MISP. Release 1.4.2

OTX to MISP. Release 1.4.2 OTX to MISP Release 1.4.2 May 11, 2018 Contents 1 Overview 1 1.1 Installation................................................ 1 1.2 Documentation.............................................. 1 1.3 Alienvault

More information

tld Documentation Release 0.9 Artur Barseghyan

tld Documentation Release 0.9 Artur Barseghyan tld Documentation Release 0.9 Artur Barseghyan Jun 13, 2018 Contents 1 Prerequisites 3 2 Documentation 5 3 Installation 7 4 Usage examples 9 5 Update the list of TLD names

More information

Electronic Mail

Electronic Mail Email Electronic Mail Electronic mail paradigm Most heavily used application on any network Electronic version of paper-based office memo Quick, low-overhead written communication Dates back to time-sharing

More information

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCE 463/612 Networks and Distributed Processing Spring 2018 CSCE 463/612 Networks and Distributed Processing Spring 2018 Application Layer II Dmitri Loguinov Texas A&M University February 6, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter

More information

xmljson Documentation

xmljson Documentation xmljson Documentation Release 0.1.9 S Anand Aug 01, 2017 Contents 1 About 3 2 Convert data to XML 5 3 Convert XML to data 7 4 Conventions 9 5 Options 11 6 Installation 13 7 Roadmap 15 8 More information

More information

Aircrack-ng python bindings Documentation

Aircrack-ng python bindings Documentation Aircrack-ng python bindings Documentation Release 0.1.1 David Francos Cuartero January 20, 2016 Contents 1 Aircrack-ng python bindings 3 1.1 Features..................................................

More information

ejpiaj Documentation Release Marek Wywiał

ejpiaj Documentation Release Marek Wywiał ejpiaj Documentation Release 0.4.0 Marek Wywiał Mar 06, 2018 Contents 1 ejpiaj 3 1.1 License.................................................. 3 1.2 Features..................................................

More information

Hidden Features of PHP. ConFoo 2011 Ilia

Hidden Features of PHP. ConFoo 2011 Ilia Hidden Features of PHP ConFoo 2011 Ilia Alshanetsky @iliaa DIR Magic The DIR constant is a simple and fast solution to the where am i? question for php scripts. ilia@s3 /tmp $ php a.php

More information

Obsoletes: 2070, 1980, 1942, 1867, 1866 Category: Informational June 2000

Obsoletes: 2070, 1980, 1942, 1867, 1866 Category: Informational June 2000 Network Working Group Request for Comments: 2854 Obsoletes: 2070, 1980, 1942, 1867, 1866 Category: Informational D. Connolly World Wide Web Consortium (W3C) L. Masinter AT&T June 2000 The text/html Media

More information

Experience in implementing an /web gateway

Experience in implementing an  /web gateway Experience in implementing an e-mail/web gateway Francesco Gennai, Marina Buzzi, Laura Abba Istituto per le Applicazioni Telematiche, National Research Council (CNR) - Pisa, Italy E-mail: {F.Gennai, M.Buzzi,

More information

DOWNLOAD PDF API TO ELECTRONIC MAIL (X,400, ISSUE 2)

DOWNLOAD PDF API TO ELECTRONIC MAIL (X,400, ISSUE 2) Chapter 1 : Fixing Magento USPS API issue with First-Class Mail Parcel Plumrocket Inc Blog Grandparents and looters mothballed than sped opposite the late hsien stillness, quantized over glib doorkeepers

More information

Basics BUPT/QMUL

Basics BUPT/QMUL Email Basics BUPT/QMUL 2014-04-28 Agenda Brief introduction to email Components of email system Email Standards Summary 2 Brief Introduction To Email 3 What is Email? Electronic Mail (email, e-mail) Provides

More information

NVIDIA DIGITS CONTAINER

NVIDIA DIGITS CONTAINER NVIDIA DIGITS CONTAINER DU-09194-001 _v1.0 January 2019 User Guide TABLE OF CONTENTS Chapter 1. Overview... 1 Chapter 2. Creating A Dataset Using Data From An S3 Endpoint... 2 Chapter 3. Writing a DIGITS

More information

Basics BUPT/QMUL

Basics BUPT/QMUL Email Basics BUPT/QMUL 2017-05-08 Agenda Brief introduction to email Components of email system Email Standards Summary 2 Brief Introduction To Email 3 What is Email? Electronic Mail (email, e-mail) Provides

More information

Simple Binary Search Tree Documentation

Simple Binary Search Tree Documentation Simple Binary Search Tree Documentation Release 0.4.1 Adrian Cruz October 23, 2014 Contents 1 Simple Binary Search Tree 3 1.1 Features.................................................. 3 2 Installation

More information

Simple libtorrent streaming module Documentation

Simple libtorrent streaming module Documentation Simple libtorrent streaming module Documentation Release 0.1.0 David Francos August 31, 2015 Contents 1 Simple libtorrent streaming module 3 1.1 Dependences...............................................

More information

CS144: Content Encoding

CS144: Content Encoding CS144: Content Encoding MIME (Multi-purpose Internet Mail Extensions) Q: Only bits are transmitted over the Internet. How does a browser/application interpret the bits and display them correctly? MIME

More information

The HTTP protocol. Fulvio Corno, Dario Bonino. 08/10/09 http 1

The HTTP protocol. Fulvio Corno, Dario Bonino. 08/10/09 http 1 The HTTP protocol Fulvio Corno, Dario Bonino 08/10/09 http 1 What is HTTP? HTTP stands for Hypertext Transfer Protocol It is the network protocol used to delivery virtually all data over the WWW: Images

More information

Reading Headers with MX Tool Box By Matt Flederbach

Reading  Headers with MX Tool Box By Matt Flederbach Reading Email Headers with MX Tool Box By Matt Flederbach Often times, you'll get a customer asking Why did it take so long for my email to be delivered? or Why was my email blocked? or even Why was this

More information

Applications & Application-Layer Protocols: The Web & HTTP

Applications & Application-Layer Protocols: The Web & HTTP CPSC 360 Network Programming Applications & Application-Layer Protocols: The Web & HTTP Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu http://www.cs.clemson.edu/~mweigle/courses/cpsc360

More information

Release Nicholas A. Del Grosso

Release Nicholas A. Del Grosso wavefront r eaderdocumentation Release 0.1.0 Nicholas A. Del Grosso Apr 12, 2017 Contents 1 wavefront_reader 3 1.1 Features.................................................. 3 1.2 Credits..................................................

More information

Python Project Example Documentation

Python Project Example Documentation Python Project Example Documentation Release 0.1.0 Neil Stoddard Mar 22, 2017 Contents 1 Neilvana Example 3 1.1 Features.................................................. 3 1.2 Credits..................................................

More information

Overview. Electronic mail. History Format of . Sending . Retrieving . RFC 822, MIME, addresses SMTP, DNS. POP, IMAP, Web-based

Overview. Electronic mail. History Format of  . Sending  . Retrieving  . RFC 822, MIME,  addresses SMTP, DNS. POP, IMAP, Web-based Electronic Mail Electronic mail History Format of email Overview RFC 822, MIME, email addresses Sending email SMTP, DNS Retrieving email POP, IMAP, Web-based 2 Flashback to the 70s ARPANET just recently

More information

Pykemon Documentation

Pykemon Documentation Pykemon Documentation Release 0.2.0 Paul Hallett Dec 19, 2016 Contents 1 Pykemon 3 1.1 Installation................................................ 3 1.2 Usage...................................................

More information

Internet Engineering Task Force (IETF) Request for Comments: 6522 STD: 73 January 2012 Obsoletes: 3462 Category: Standards Track ISSN:

Internet Engineering Task Force (IETF) Request for Comments: 6522 STD: 73 January 2012 Obsoletes: 3462 Category: Standards Track ISSN: Internet Engineering Task Force (IETF) M. Kucherawy, Ed. Request for Comments: 6522 Cloudmark STD: 73 January 2012 Obsoletes: 3462 Category: Standards Track ISSN: 2070-1721 Abstract The Multipart/Report

More information

DArcMail. Users Guide. Digital Archiving of . December 2017 https://siarchives.si.edu

DArcMail. Users Guide. Digital Archiving of  . December 2017 https://siarchives.si.edu de DArcMail Digital Archiving of email Users Guide December 2017 https://siarchives.si.edu SIA-DigitalServices@si.edu TABLE OF CONTENT Contents About DArcMail... 3 Issues of scale... 3 Open Source... 3

More information

Electronic Mail (SMTP)

Electronic Mail (SMTP) Electronic Mail (SMTP) Nowadays email is more popular than the paper letters called snail-mails. It is a form of network communication. Some of the other forms of network communication being voice-over-internet,

More information

HTTP Requests and Header Settings

HTTP Requests and Header Settings Overview, page 1 HTTP Client Requests (HTTP GET), page 1 HTTP Server Requests (HTTP POST), page 2 HTTP Header Settings, page 2 IP Phone Client Capability Identification, page 8 Accept Header, page 9 IP

More information

Contents. Management. Client. Choosing One 1/20/17

Contents.  Management.  Client. Choosing One 1/20/17 Contents Email Management CSCU9B2 Email clients choosing and using Email message header and content Emailing to lists of people In and out message management Mime attachments and HTML email SMTP, HTTP,

More information

Distributed Systems. 03r. Python Web Services Programming Tutorial. Paul Krzyzanowski TA: Long Zhao Rutgers University Fall 2017

Distributed Systems. 03r. Python Web Services Programming Tutorial. Paul Krzyzanowski TA: Long Zhao Rutgers University Fall 2017 Distributed Systems 03r. Python Web Services Programming Tutorial Paul Krzyzanowski TA: Long Zhao Rutgers University Fall 2017 1 From Web Browsing to Web Services Web browser: Dominant model for user interaction

More information

CIT 470: Advanced Network and System Administration. Topics. Mail Policies.

CIT 470: Advanced Network and System Administration. Topics. Mail Policies. CIT 470: Advanced Network and System Administration E-mail CIT 470: Advanced Network and System Administration Slide #1 Topics 1. Mail Policies 2. Anatomy of a Mail Message 3. Components of an E-mail System

More information

File transfer. Internet Applications (FTP,WWW, ) Connections. Data connections

File transfer. Internet Applications (FTP,WWW,  ) Connections. Data connections File transfer Internet Applications (FTP,WWW, Email) File transfer protocol (FTP) is used to transfer files from one host to another Handles all sorts of data files Handles different conventions used in

More information

Poulpe Documentation. Release Edouard Klein

Poulpe Documentation. Release Edouard Klein Poulpe Documentation Release 0.0.5 Edouard Klein Jul 18, 2017 Contents 1 Poulpe 1 1.1 Features.................................................. 1 2 Usage 3 3 Installation 5 4 Contributing 7 4.1 Types

More information