import smtplib from email.mime.text import MIMEText from email.header import Header host = 'smtp.gmail.com:587' me = 'me@gmail.com' you = 'you@daum.net' subject = 'I love νμ΄μ¬' contents = 'It is contents' msg = MIMEText(contents.encode('utf-8'), _subtype='plain', _charset='utf-8') msg['Subject'] = Header(subject.encode('utf-8'), 'utf-8') msg['From'] = me msg['To'] = you s = smtplib.SMTP(host) s.starttls() #print( s.ehlo() ) s.login('ID','PASS') problems = s.sendmail(me, [you], msg.as_string() ) #print( problems ) s.quit()
9/01/2014
Python send mail example, smtplib
Subscribe to:
Post Comments (Atom)
-
As you can see in the following video, I created a class that stitching n cameras in real time. https://www.youtube.com/user/feelmare/sear...
-
Created Date : 2011.10 Language : C/C++ Tool : Microsoft Visual C++ 2008 Library & Utilized : OpenCV 2.3 Reference : SIFT referenc...
-
I use MOG2 algorithm to background subtraction. The process is resize to small for more fast processing to blur for avoid noise affectio...
-
Created Date : 2009.10. Language : C++ Tool : Visual Studio C++ 2008 Library & Utilized : Point Grey-FlyCapture, Triclops, OpenCV...
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
RTSP(Real Time Streaming Protocol) is video streaming, it usually sent from network camera. VideoCapture function in opencv also can get r...
-
After training SVM, we should test the trained XML data is reliable or not.. The method to extract HOG feature is refer to -> http://fe...
-
CUDA_ARCH_BIN Table for gpu type Jetson Products GPU Compute Capability Jetson AGX Xavier 7.2 Jetson Nano 5.3 Jetson TX2 6.2 Jetson TX1 5.3 ...
-
To use OpenMP on Visual Studio IDE, we should set in tools->options like.. Below code is to calculate pi using loop logic. There ...
-
fig 1. Left: set 4 points (Left Top, Right Top, Right Bottom, Left Bottom), right:warped image to (0,0) (300,0), (300,300), (0,300) Fi...
No comments:
Post a Comment