Mailtools

軟件截圖:
Mailtools
軟件詳細信息:
版本: 2.1
上傳日期: 14 Apr 15
開發: Oliver Cope
許可: 免費
人氣: 4

Rating: nan/5 (Total Votes: 0)

編寫一個Web應用程序?想要把它發送一些電子郵件? Mailtools是一個應用程序,它可以幫助你的!
*發送純文本郵件,HTML和消息帶附件的簡單API。
* ThreadedMailer發送的電子郵件在後台立即返回控制到應用程序,甚至說話時慢的遠程服務器。
*臨時發送失敗自動重試。
*運行在測試模式下您的應用程序?該RedirectMessages包裝器路線電子郵件到測試地址,而不是活的電子郵件地址。
用法:
創建一個簡單的SMTP郵件:
從mailtools進口SMTPMailer
郵件= SMTPMailer(“127.0.0.1”)
該郵件將阻塞,直到消息被發送,不會重試失敗。使用ThreadedMailer來解決這個問題:
郵件= ThreadedMailer(SMTPMailer(“127.0.0.1”))
發送純文本郵件:
消息= u'This是一個純文本郵件“
mailer.send_plain(
  u'sender@example.com',
  [u'recipient@example.com'],
  u'hi',
 消息

發送HTML消息:
消息= u'Look! HTML!“
mailer.send_html(
  u'sender@example.com',
  [u'recipient@example.com'],
  u'hi',
 消息

添加附件:
消息= u'index.rst附於本消息“
mailer.send_plain(
  u'sender@example.com',
  [u'recipient@example.com'],
  u'hi',
 消息,
 附件= ['index.rst']

要求

  • 在Python中

類似的軟件

email
email

11 May 15

Tellmatic
Tellmatic

12 May 15

TWIG
TWIG

3 Jun 15

qCheckGMail
qCheckGMail

18 Feb 15

顯影劑的其他軟件 Oliver Cope

Yoyo-migrations
Yoyo-migrations

14 Apr 15

frescoext-genshi
frescoext-genshi

20 Feb 15

fresco
fresco

20 Feb 15

Flea
Flea

20 Feb 15

意見 Mailtools

評論沒有發現
添加評論
打開圖片!