Emre Çamalan'ın Kişisel Güncesi

Ben, sen sen olduğun için, benim!

python ile mail

Python ile Html Mail ve Resim Gönderme

Python ile nasıl mail gönderilir ve bu mailin içine nasıl resim eklenir bu örneğimizde görücez.. #-*- coding:utf8 -*- import smtplib from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText from email.MIMEImage import MIMEImage strFrom = ’emre@nbajans.com.tr’ strTo = ‘ShyRain7@gmail.com’ msgRoot = MIMEMultipart(‘related’) msgRoot[‘Subject’] = ‘test message’ msgRoot[‘From’] = strFrom msgRoot[‘To’] = strTo msgRoot.preamble = ‘Bu bir […]

, , , , , ,