pythoners:i have a simple send email program, but i dont know how to send date specific emails every day, automated. how would i take a large amount of text and have the script know what is to be placed in each email. also I will have a long list of emails that will be added to every few days. how can i make it so that these are imported from a text file and used... forgot to mention, in the huge text file, there are date headings in the text to let a person know what info is for what day
and i would like for it to be able to be sent to email addresses that are in actuality phone numbers followed by "@examplecellularcompany.com"
It may help to decompose this from the desired email[s] backwards to design your data. Depending on the volume of recipients, variety of messages, you may want to put this on a database. Your current program sounds like it could be made into a function to actually send the email, just make the various parts of the email variables that can be passed in, and can be called by iterating code that goes over the maillist, messages and date. This sounds like something that you may want to write some other programs for updating, and maintaining the data. Overall, this doesn't sound exceedingly hard, but it is definitely a non-trivial project.
copy and paste
Join our real-time social learning platform and learn together with your friends!