Адправіць пошту HTML з дапамогай NAIL? (Send HTML mail with NAIL?)


問題描述

Адправіць пошту HTML з дапамогай NAIL? (Send HTML mail with NAIL?)

I'm on a CENTOS machine, trying to send an HTML mail using NAIL.

I've searched the web high and low, but all I can find is people saying to use the option '‑s "Content‑type: text/html;"', this however ‑ does not work.

A more correct question perhaps would be; how do I add header lines to mails sent by NAIL?

B.R. / F

‑‑‑‑‑

參考解法

方法 1:

Looks like the answer is nail cannot handle this. 

Someone asks that on the mailx devel mailing list, and the answer is:

  

mailx is an e‑mail client, not an e‑mail transfer agent.  You need to   call Postfix directly.

http://sourceforge.net/mailarchive/forum.php?thread_name=201101250955.36795.giecrilj%40stegny.2a.pl&forum_name=nail‑devel

You can set some headers using the ‑t function, and you'll see an error message of what headers are ignored.

nail ‑t < email_file

(by FilibustrJay)

參考文件

  1. Send HTML mail with NAIL? (CC BY‑SA 3.0/4.0)

#html-email #email #command-line #Centos #linux






相關問題

Outlook 2007/2010 中的 Vspace (Vspace in Outlook 2007/2010)

Outlook,gmail基本問題(導致代碼) (Outlook, gmail basic issue (caused the code))

Outlook 中的 HTML 電子郵件呈現 - VML (HTML Email Render in Outlook - VML)

Адправіць пошту HTML з дапамогай NAIL? (Send HTML mail with NAIL?)

支持所有郵件服務的 HTML 電子郵件生成 (HTML email generation that supports all mail services)

如何在時事通訊的 html 單元格中均勻分佈內容? (How to evenly distribute content across an html cell for a newsletter?)

發送預先電子郵件的最佳方式 (Best way for sending advance email)

在 Outlook 上隱藏移動表格 (Hide mobile table on outlook)

html emailer改變表格的位置 (html emailer shifting changing the position of tables)

電子郵件的可滾動表(沒有 div) (Scrollable table for e-mails (without a div))

如何在電子郵件中嵌入 Web 表單 (How to embed web form in email)

如何通過電子郵件訪問建立 QuickAssist 鏈接 (How to make a QuickAssist link through email access)







留言討論