<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ubuntu,debian,redhat -linuxany.com &#187; sendmail</title>
	<atom:link href="http://www.linuxany.com/archives/tag/sendmail/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxany.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 08:59:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>python:支持附件的邮件发送函数</title>
		<link>http://www.linuxany.com/archives/709.html</link>
		<comments>http://www.linuxany.com/archives/709.html#comments</comments>
		<pubDate>Sun, 21 Dec 2008 10:50:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=709</guid>
		<description><![CDATA[使用方法： 　　mail(邮件服务器地址,发件人,收件人,主题,邮件内容) import smtplib, sys, MimeWriter, StringIO, base64, os, time &#160; &#160; &#160; def&#160;mail(serverURL=None, sender='', to='', subject='', text=''): &#160; &#160; &#160; &#160; &#160; &#160; message = StringIO.StringIO() &#160; &#160; &#160; &#160; writer = MimeWriter.MimeWriter(message) &#160; &#160; &#160; &#160; writer.addheader('Subject', subject) &#160; &#160; &#160; &#160; writer.startmultipartbody('mixed') &#160; &#160; &#160; &#160; &#160; &#160; # start off with [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/709.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>python调用sqlserver数据并发送邮件的小程序</title>
		<link>http://www.linuxany.com/archives/494.html</link>
		<comments>http://www.linuxany.com/archives/494.html#comments</comments>
		<pubDate>Sat, 11 Oct 2008 02:04:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[pymssql]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[sqlserver]]></category>
		<category><![CDATA[stmplib]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=494</guid>
		<description><![CDATA[# coding=cp936 import pymssql from time import strftime, localtime from EmailSender import EmailSender # 邮件接收人列表 toAddress = ['web1@linuxlaptop.cn','web2@linuxlaptop.cn'] # 邮件服务器验证及验证信息 authInfo = {} authInfo['server'] = &#8216;smtp.sina.com.cn&#8217; authInfo['user'] = &#8216;****&#8217; authInfo['password'] = &#8216;******&#8217; def getContent(): # 读取数据 conn = pymssql.connect(host=&#8217;(local)&#8217;, user=&#8217;sa&#8217;, password=&#8217;******&#8217;, database=&#8217;mydb&#8217;) rs = conn.cursor() # 异常数据 sql = “select SPNumber,UserNumber,PhoneUserType,SchoolName,ClassName,MsgContent,SendTimes,State,ReportState,ReportErrorCode \ from mt \ [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/494.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

