Engineering Papers⌕ Search

DOE OSTI · code-1977

eCo-Pylot - A Python-Based Script for Sending Parsed Email Data to a Database

Abstract

eCo-PylotDB, written completely in Python, provides a script that parses incoming emails and prepares extracted data for submission to a database table. The script extracts the database server, the database table, the server password, and the server username all from the email address to which the email is sent. The database table is specified on the Subject line. Any text in the body of the email is extracted as user comments for the database table. Attached files are extracted as data files with each file submitted to a specified table field but in separate rows of the targeted database table. Other information such as sender, date, time, and machine from which the email was sent is extracted and submitted to the database table as well. An email is sent back to the user specifying whether the data from the initial email was accepted or rejected by the database server. If rejected, the return email includes details as to why.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Barnette, DanielW.. 2011-11-02. eCo-Pylot - A Python-Based Script for Sending Parsed Email Data to a Database. https://doi.org/10.11578/dc.20171025.1317

Cite the original work for its findings. Save a collection to share your selection of sources.