dn0 / mailpy Goto Github PK
View Code? Open in Web Editor NEWPython mail API framework
License: Other
Python mail API framework
License: Other
if pelican crashes when generating html content, mailpy return successful email as if article has been published. Author should get an error email that article is not out as it is not on web.
I have created blog entry by posting to post@.... which worked fine (I received successfully created mail), but I realized I made an mistake in tags so I wanted to delete the post and create it again... I have forwarded successfully created email to address delete@.... so the subject is same and body was empty (it had only the reply text in it) and server returned following error:
ERROR [500]: Internal Server Error: Unsupported article format:
Traceback (most recent call last):
File "/opt/local/envs/lib/python2.7/site-packages/mailpy/router.py", line 37, in dispatch_request
response = view_fun.__self__._process_view(request, view_fun)
File "/opt/local/envs/lib/python2.7/site-packages/mailpy/view.py", line 59, in _process_view
return view_fun(request)
File "/opt/local/envs/lib/python2.7/site-packages/mailpy/contrib/pelican/view.py", line 31, in wrap
return fun(obj, request, *args, **kwargs)
File "/opt/local/envs/lib/python2.7/site-packages/mailpy/contrib/pelican/view.py", line 304, in delete
article = self.papi.get_article(filename)
File "/opt/local/envs/lib/python2.7/site-packages/mailpy/contrib/pelican/api.py", line 141, in get_article
return self.article_class(self.content_path, filename, **kwargs)
File "/opt/local/envs/lib/python2.7/site-packages/mailpy/contrib/pelican/api.py", line 41, in article_class
return pelican_article(content_path, filename, **kwargs)
File "/opt/local/envs/lib/python2.7/site-packages/mailpy/contrib/pelican/content.py", line 200, in pelican_article
raise UnknownFileFormat('Unsupported article format: %s' % ext)
UnknownFileFormat: Unsupported article format:
feature request:
:tags: in body of email could be recognized as tags for blog post
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.