Skip to content

unix196/communigate_helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Скрипт record_email_toremote.py - пример обработчика communigate для записи почтовых сообщений и отправки на удаленный сайт.
Скрипт отправляет  информацию post-запросом в формате json. Примерный вид что будет на выходе:

{
    "From": "=?utf-8?B?0K/QutC40LzQvtCy0LAg0JrRgdC10L3QuNGPINCS0LjQutGC0L4=?=\n =?utf-8?B?0YDQvtCy0L3QsA==?= <[email protected]>", 
    "Return-path": "<[email protected]>", 
    "SourceIP": "IP", 
    "To": "\" Andrey\" <[email protected]>", 
    "Date": "Fri, 23 Dec 2016 10:59:00 +0500", 
    "Message-ID": "<[email protected]>", 
    "Recipient": "['<[email protected]>', '<[email protected]>']", 
    "Subject": "Re: Door Columbus, USA - LO St. Petersburg,\n Russia//2x20"
}
{
    "From": "\"ValuFix\" <[email protected]>", 
    "Return-path": "<[email protected]>", 
    "SourceIP": "185.87.51.6", 
    "To": "<[email protected]>", 
    "Date": "Fri, 23 Dec 2016 11:00:03 +0500", 
    "Message-ID": "<[email protected]>", 
    "Recipient": "['<[email protected]>']", 
    "Subject": "=?windows-1251?B?z/Du9OXx8eju7eDr/O3u5SDr5ffl7ejlIOru?=\n\t=?windows-1251?B?8fLu9+roIO3gIO3u4+UgLSDw5efz6/zy4PIg?=\n\t=?windows-1251?B?5+Ag7OXx//Y=?="
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages