Need a python code that can create a e-mail with a file attachment that gets sent to a specific address selected. Below are more details as to steps the code should take
-Within config file settings/variables editable to state what e-mail to send to.
-Files are located within a sub-directory where the code resides
-Directory may hold multiple files/pdfs but 1 email must be created for each file and sent. For ex. if there are 4 files in the directory than 4 emails are created with each having a file attached so all 4 are sent separately. Cannot all by attached in the same e-mail.
-Once files are sent its moved to another directory for history, like a "sent" folder.
-Would like if possible they're be multiple folders to which each folder has a specific address where files are sent. If possible perhaps data to state where folders are located and where to sent be easy to populate in a separate config file vs the code itself for easier maintenance?
25 freelancere byder i gennemsnit $127 på dette job
I already Wrote this code 1 month ago, with little tweaking and modifications i can make it suitable for your needs, also you have my support 1 week free for that project after deliver