首頁 新聞動態 JMAIL組件問題集錦

JMAIL組件問題集錦

來源: 網企建站網站建設 | 時間:2020/10/30 | 瀏覽:12408

一、Jmail 問題集錦


1、JMAIL的版本是多少?
JMAIL 是免費的4.3版本

2、JMAIL 需要單獨的發信服務器嗎?
JMAIL 需要設置單獨的發信服務器
如:set mail=server.CreateObject("jmail.SMTPMail")
mail.ServerAddress = "mail.domain.com"

3、爲什麼使用jmail發信時發信失敗?
最可能的原因是你指定的發信服務器需要發信認證,而你在程序中沒有指定發信用戶名和密碼,具體的編碼爲:
set mail=CreateObject("jmail.Message")
mail.Charset ="gb2312"
mail.From ="from@west263.com"
mail.AddRecipient "to@west263.com"
mail.MailDomain="mail.west263.com"
mail.MailServerUserName = " from @west263.com"
mail.MailServerPassWord = "****"
mail.subject=”test”
mail.body= “歡迎”
'On Error Resume Next
mail.Send("mail.west263.com")
mail.close()
set mail=nothing

4、Jmail 能發送附件嗎?
可以
mail.AddAttachment (replace(server.MapPath("/test.doc"),"",""))

5、 Jmail 可以發送Html格式的郵件嗎?
可以,具體看使用手冊。

6、Jmail組件實例。
(1)發信服務器需要認證。
'以下的代碼是發信服務器需要認證的,例如我們的郵箱服務器

<%
set mail=CreateObject("jmail.Message")
mail.Charset ="gb2312"
mail.From ="test@west.com"
mail.AddRecipient "test@west.com"
mail.MailDomain="mx.west.com"
mail.MailServerUserName = "test@west.com"
mail.MailServerPassWord = "*****"
mail.subject=Subject
mail.body= "hi china.com"
On Error Resume Next
mail.Send("mail.west263.com")
mail.close()
set mail=nothing
response.write "發送成功"
%>


TAG:香港集團郵箱
相關案例
台灣-巨懋企業有限公司 BENNIC 於1978年由創始人范明達先生在台北所創立. 1979年設立台灣廠. 1997年設立中國惠州廠. 2019年設立泰國廠. 企業專注於無極電容的生產與銷售. 2003 開始生產電感器與電阻器並進行分音器的組裝, 以服務客戶. 40多年來, 產品已運用於世界各大車廠與名牌音響.
Shenzhen Foomee Intelligent Technology Co., Ltd FOOMEE is an international brand specializing in mobile accessories and consumer electronics. We are committed to delivering products that combine quality, design, and competitiveness for global markets. With strong capabilities in product
SHENZHEN KANGHAO INDUSTRIAL CO.,LTD. SHENZHEN KANGHAO INDUSTRIAL CO.,LTD is a professional plastic products manufacturing factory based in Shenzhen, Guangdong, China. Founded in 2008, we specialize in eco-friendly eco friendly and sustainable products, various plastic parts, and plastic mold R&D & manufacturing — delivering full-cycle solutions from mold design to mass production.
Shenzhen Ruixin Zhilian Technology Co., Ltd. Shenzhen Ruixin Zhilian Technology Co., Ltd. is a high-tech enterprise specializing in the research, development, design and manufacturing of high-performance motherboards. Since its establishment, we have been committed to providing global customers with stable, efficient and innovative hardware computing platform solutions, and is a trusted core partner in the fields of communications, data centers and intelligent mobility.