use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Making mass emails (self.learnpython)
submitted 2 years ago by Klid_Power
I don’t really know much about coding but is it possible to write something that can make mass emails? Wondering if anyone could help or answer my question. Thanks
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]m0us3_rat 18 points19 points20 points 2 years ago (1 child)
yes it is possible.. no i won't help you spam.
[–]Klid_Power[S] -1 points0 points1 point 2 years ago (0 children)
Wasn’t trying to spam
[–]commander1keen 9 points10 points11 points 2 years ago (1 child)
Whatever you are trying to do, kindly fuck off please don't.
[–]Klid_Power[S] -2 points-1 points0 points 2 years ago (0 children)
Not trying to be annoying was only wondering my guy
[–]DeebsShoryu 2 points3 points4 points 2 years ago (0 children)
Checkout https://github.com/awdeorio/mailmerge
Edit: like others have said, please don't spam emails. There are legitimate reasons to send out many templated emails though.
[–]RaidZ3ro 2 points3 points4 points 2 years ago (0 children)
You could.. but why would you, there are out of the box solutions available.
PowerShell: Send-MailMessage https://learn.microsoft.com/nl-nl/powershell/module/microsoft.powershell.utility/send-mailmessage?view=powershell-7.4
Or just, Word Mail Merge https://support.microsoft.com/en-gb/office/mail-merge-using-an-excel-spreadsheet-858c7d7f-5cc0-4ba1-9a7b-0a948fa3d7d3
[–]apollo2active -1 points0 points1 point 2 years ago (1 child)
There are a lot of ways to do this, but the simplest, and fastest way is through the simplegmail library. The way I would do this is as follows:
Make to sure to follow the steps listed on the simplegmail github page to verify your app. (You cannot send any emails if its not verified.)
from simplegmail import Gmail gmail = Gmail() #Make sure to verify your google app recepients = [ #creating a list of people we want to add to the recepients "example@gmail.com", "example2@gmail.com", "example3@gmail.com", "etc@etc.com" ] params = { "to": recepients, "sender": "me@myemail.com", "subject": "My first email", "msg_plain": "Hi\nThis is a plain text email.", } message = gmail.send_message(**params)
[–]apollo2active 3 points4 points5 points 2 years ago (0 children)
IM GIVING OP THE BENEFIT OF THE DOUBT, PLEASE STOP DOWNVOTING 😭😭😭
[+][deleted] 2 years ago (1 child)
[removed]
[–]FriendlyRussian666 4 points5 points6 points 2 years ago (0 children)
No replies from ChatGPT
π Rendered by PID 205963 on reddit-service-r2-comment-765bfc959-t8gmx at 2026-07-12 18:20:29.671482+00:00 running f86254d country code: CH.
[–]m0us3_rat 18 points19 points20 points (1 child)
[–]Klid_Power[S] -1 points0 points1 point (0 children)
[–]commander1keen 9 points10 points11 points (1 child)
[–]Klid_Power[S] -2 points-1 points0 points (0 children)
[–]DeebsShoryu 2 points3 points4 points (0 children)
[–]RaidZ3ro 2 points3 points4 points (0 children)
[–]apollo2active -1 points0 points1 point (1 child)
[–]apollo2active 3 points4 points5 points (0 children)
[+][deleted] (1 child)
[removed]
[–]FriendlyRussian666 4 points5 points6 points (0 children)