I want to manage my email with python - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Homework (https://python-forum.io/forum-9.html) +--- Thread: I want to manage my email with python (/thread-2864.html) |
I want to manage my email with python - timfox123 - Apr-16-2017 my question here We have a system monitoring tool that is out of control and sends mails on down system. It is a shared system and the other group will decommission systems and does not feel they need to notify us as we are "just contractors" In a linux shell prompt I would like to be able to view all the emails for a time I can set. example: all emails last 3 days all emails last 24 hours Also here is the kicker, I would like to sort them by least number of emails. If I am oncall on the weekend and we have emails on a server that has been down for a month, I really do not need to work on it on easter sunday ..... This would all run in a redhat bash shell Regards; timfox123 RE: I want to manage my email with python - sparkz_alot - Apr-16-2017 I am compelled to ask, what have you tried so far? Although this seems more of a management issue, your post is still a bit unclear. Are you looking to write a bash script solution or a Python solution? If as the title of your thread suggests, you may want to check the mailbox library and the email library. |