Tagged Questions
0
votes
1answer
19 views
Python 2: SMTPServerDisconnected: Connection unexpectedly closed
I have a small problem with a sending Email in Python:
#me == my email address
#you == recipient's email address
me = "[email protected]"
you = "[email protected]"
# Create message container ...
0
votes
0answers
18 views
How do I send a single encrypted email in Python to multiple Outlook PKI recipients?
I administer a website. Part of it is restricted access. Users need to register to gain access. User data needs to be protected. Several people at my company need to see the user applications. They ...
0
votes
1answer
15 views
IMAP - OTP unavailable error
I am trying to get emails from a remote mail server with a python script with the help of the imaplib modules IMAP4 class. It seems to work most of the time, but sometimes I get errors like this:
...
0
votes
1answer
28 views
Sending emails with Python from a list of attachments
I am trying to use a Python script I found on Github to send email with attachments. I have a list of 5 attachments and want to send one email per attachment. When I run the script it sends the first ...
1
vote
0answers
16 views
Creating Django Email Form getting weird Socket/Permission Error
So I keep getting this error when trying to test if my email form for my personal website works. I'm running Windows 8. I even tried changing ports when running the Django server (python manage.py ...
-1
votes
0answers
57 views
How to parse HTML from eMail body - Python
I'm trying to parse incoming emails in python.
I get emails which are part text part HTML.
I want to get the HTML part and find a table in the HTML.
I tried using beatifulsoup. But when trying the ...
-2
votes
2answers
49 views
How to compress and send sorted files in Python on Linux machine?
I have a Python script that runs on our server. It produces some sorted .csv files and .PDF files with graphs. I am trying to build another script that will pick certain files and emails them to a ...
1
vote
1answer
32 views
sending email using smtp in python not working
I am using the below code to send email using python stmp lib. But when I execute the code in unix , it hand ,i.e. the console waits as if it is waiting for me to enter something . I have to do ctrl+Z ...
-2
votes
1answer
33 views
How can I properly add input to a variable?
I'm constructing an email program for a project, and I need the program to accept mostly raw input. For example, in the "msg" section, I need the From:, the To: and where the body section is to be ...
0
votes
1answer
29 views
Is it possible to directly mail a uploaded binary file with GAE?
I am using python GAE and I want to mail a file that was in user posted to server.
I could do that (I think) by first storing the file to BlobStore, then retrieving it from Blobstore, mailing and ...
1
vote
1answer
36 views
checking local email messages with Python
My problem is what's the best strategy for periodically checking a local email account to find if there is any new message(if any, then send these messages to some function to process)?
While during ...
0
votes
1answer
50 views
e-mail large text file
I have a text file to be sent via e-mail. I used the following code to send e-mail through smtplib. This code prints the attachment as e-mail body. Since my text file is bit larger all the content is ...
0
votes
0answers
24 views
Email module in python 3
So I'm following a tutorial to send email in python, the problem is that it was written for python 2 not python 3(which is what I have). So here's what I'm trying to get an answer what is the module ...
0
votes
2answers
30 views
How to get a list of files from the archive (rar or zip) attached to the E-mail using Python?
How to get a list of files from the archive (rar or zip) attached to the E-mail using Python? That is, I have a EML file. I do not need to unzip the files just to get a list. Theoretically possible ...
5
votes
1answer
5k views
Python - How to send utf-8 e-mail?
how to send utf8 e-mail please?
import sys
import smtplib
import email
import re
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
def sendmail(firm, fromEmail, ...