Linked Questions

2 votes
1 answer
8k views

I want to send emails with python but I don't know how to do so. When I searched google I got this result: Set up the SMTP server and log into your account. Create the MIMEMultipart message object and ...
SJXD's user avatar
  • 25
340 votes
17 answers
473k views

I am trying to send email (Gmail) using python, but I am getting following error. Traceback (most recent call last): File "emailSend.py", line 14, in <module> server.login(username,...
mahoriR's user avatar
  • 4,617
372 votes
12 answers
601k views

How to send HTML content in email using Python? I can send simple texts.
280 votes
21 answers
666k views

This code works and sends me an email just fine: import smtplib #SERVER = "localhost" FROM = '[email protected]' TO = ["[email protected]"] # must be a list SUBJECT = "Hello!" TEXT = "This ...
cloud311's user avatar
  • 3,401
55 votes
6 answers
71k views

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, to, ...
Martin Drlík's user avatar
8 votes
3 answers
22k views

I am writing a program that sends an email using Python. What I have learned from various forums is the following piece of code: #!/usr/bin/env python import smtplib sender = "[email protected]" ...
Abhishek Sagar's user avatar
1 vote
3 answers
5k views

I am trying to send emails from the python script following this thread Sending mail from Python using SMTP But I am getting an error while doing this: from smtplib import SMTP_SSL as SMTP Error: ...
user2793078's user avatar
4 votes
2 answers
4k views

I need to send an email using python and to bypass the TITUS CLASSIFICATION pop-up that comes up with the current script. The pop-up stops it from auto sending. PYTHON olMailItem = 0x0 obj = ...
Ariel's user avatar
  • 988
0 votes
1 answer
2k views

I would like to know if there is a way to periodically check the status of the jenkins service and get an email when the service goes down?
DarthOpto's user avatar
  • 1,672
3 votes
2 answers
3k views

I am trying to use the win32 Python library to send some emails, but I am unable to specify the sensitivity label in an automatic way. As soon as I try to send out the email by using the below code, ...
DaniB's user avatar
  • 200
0 votes
2 answers
2k views

I am trying to making a python autogenerated Email app but there is a problem when running the code the traceback error shows up but I did write the code as my mentor write it down. This is the code ...
Ashraful Islam Joy's user avatar
0 votes
3 answers
882 views

Is there a way to send newsletter from my pc ( ubuntu 10.04 ) and python ? maybe with a smtp library ?
xRobot's user avatar
  • 26.7k
1 vote
2 answers
2k views

My Code import smtplib import socket import sys from email.mime.text import MIMEText fp = open("CR_new.txt", 'r') msg = MIMEText(fp.read()) fp.close() you = "[email protected]" me = "[email protected]"...
RajivKumar's user avatar
0 votes
0 answers
2k views

I have a problem described and solved for gmail in this post. I have read through several posts dealing with similar issues (Sending mail from Python using SMTP, Sending email from Python using ...
My Work's user avatar
  • 2,540
0 votes
1 answer
1k views

I'm very new to python. I have a folder called "etc" with a filename password.txt when generates every night. I would like to run a python script in windows task on daily basis to check if password....
Biswa's user avatar
  • 331

15 30 50 per page