dantu321002 发表于 2009-12-15 21:24:35

WorldClient中写邮件时如何在邮件正文中插入图片

Mdaemon 10.0.1的WorldClient在写邮件的正文时,图片无法插入,但是查看以前带图片的邮件是很正常的.

Kyan 发表于 2009-12-16 01:43:18

原帖由 dantu321002 於 2009-12-15 21:24 發表 http://www.5dmail.net/bbs/images/common/back.gif
Mdaemon 10.0.1的WorldClient在寫郵件的正文時,圖片無法插入,但是查看以前帶圖片的郵件是很正常的.

看圖插畫:

oracat 发表于 2009-12-16 10:54:40

刚才试了一下

本地的图片好像不能插入

wxhsh 发表于 2009-12-16 12:13:33

原帖由 oracat 于 2009-12-16 10:54 发表 http://www.5dmail.net/bbs/images/common/back.gif
刚才试了一下

本地的图片好像不能插入
其实本地图片不叫插入,是上传了,这个WC不支持了,需要用到客户端组件和服务器缓存,有点复杂了。

Kyan 发表于 2009-12-16 21:55:05

原帖由 wxhsh 於 2009-12-16 12:13 發表 http://www.5dmail.net/bbs/images/common/back.gif

其實本地圖片不叫插入,是上傳了,這個WC不支持了,需要用到客戶端組件和服務器緩存,有點複雜了。

據我測試 MDaemon 11.0.0g (Beta) 版,不能上傳本地的圖片,似乎不是它的 bug,因由於它發給新用戶的歡迎信上的圖片,亦是以插入方式做的,請參閱附圖及原始碼:



------------------------歡迎信部分原始碼------------------------

<div>
<table width="498" cellspacing="0" cellpadding="10" border="0" align="center" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(51, 51, 51);">
    <tbody>
      <tr>
            <td width="267" valign="bottom" height="60" bgcolor="#ffffff" align="left">
            <table width="267" cellspacing="0" cellpadding="0" border="0" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(51, 51, 51);">
                <tbody>
                  <tr>
                        <td><strong>Dear rhode,</strong></td>
                  </tr>
                </tbody>
            </table>
            </td>
            <td width="191" bgcolor="#ffffff"><a href="http://www.altn.com/Downloads/Literature/" target="_blank"><img width="191" height="60" border="0" src="http://www.altn.com/Images/ProductLogos/60px_High_Logos/MDaemon60px.jpg" alt="" /></a></td>
      </tr>
      <tr>
            <td valign="top" bgcolor="#ffffff" colspan="2">
            <p>Welcome to MDaemon!&nbsp; Your email administrator has created this MDaemon          email account for you.&nbsp; Here are some important reference materials that          may assist in making the most of your MDaemon email experience:<br />
            <br />
            <b>Account Information:</b><br />
            <br />
            &bull;&nbsp;&nbsp;Full Name: rhode<br />
            &bull;&nbsp;&nbsp;Email address: rhode@rhode.tgshi.org<br />
            &bull;&nbsp;&nbsp;Mail server: rhode.tgshi.org <br />
            &bull;&nbsp;&nbsp;Web mail: http://rhode.tgshi.org:3000&lt;br />
            &bull;&nbsp;&nbsp;Login: rhode@rhode.tgshi.org<br />
            &bull;&nbsp;&nbsp;Password: contact your email administrator<br />
            <br />
            <b>Resources:<br />
            </b>             <br />
            &bull;&nbsp;&nbsp;MDaemon's electronic <a href="http://www.altn.com/Literature/Manuals/MDaemon-eMail-Server-Manual.pdf" style="color: rgb(153, 0, 0); text-decoration: underline;" target="_blank">               <span style="color: rgb(153, 0, 0); text-decoration: underline;">User Manual</span></a> provides an excellent source of information on<br />
            &nbsp;&nbsp;&nbsp;every element of the product<br />
            &bull;&nbsp;&nbsp;The <a href="http://www.altn.com/Support/KnowledgeBase/" style="color: rgb(153, 0, 0); text-decoration: underline;" target="_blank">               <span style="color: rgb(153, 0, 0); text-decoration: underline;">Knowledge Base</span></a> provides a product-specific searchable database to help<br />
            &nbsp;&nbsp;&nbsp;answer questions<br />
            &bull;&nbsp;&nbsp;The <a href="http://www.altn.com/Literature/QuickStartGuide/MDaemon-Webmail-QuickStartGuide.pdf" style="color: rgb(153, 0, 0); text-decoration: underline;" target="_blank">               <span style="color: rgb(153, 0, 0); text-decoration: underline;">WorldClient quick start guide</span></a> describes key features of MDaemon's<br />
            &nbsp;&nbsp;&nbsp;web mail client.<br />
            &bull;&nbsp;&nbsp;The <a href="http://www.altn.com/Literature/QuickStartGuide/MDaemon-ComAgent-QuickStartGuide.pdf" style="color: rgb(153, 0, 0); text-decoration: underline;" target="_blank">             <span style="color: rgb(153, 0, 0); text-decoration: underline;">ComAgent quick start guide</span></a> describes key features of MDaemon's<br />
            &nbsp;&nbsp;&nbsp;instant messaging and quick mail access client.<br />
            &bull;&nbsp;&nbsp;User supported <a href="http://www.altn.com/Support/CommunityForums/" style="color: rgb(153, 0, 0); text-decoration: underline;" target="_blank">               <span style="color: rgb(153, 0, 0); text-decoration: underline;">Discussion Groups</span></a> provide beneficial peer-to-peer assistance<br />
            &bull;&nbsp;&nbsp;Additional <a href="http://www.altn.com/Support/" style="color: rgb(153, 0, 0); text-decoration: underline;" target="_blank">               <span style="color: rgb(153, 0, 0); text-decoration: underline;">Support Resources</span></a><br />
            <br />
            <a href="http://www.altn.com/" target="_blank">             <img width="147" height="80" border="0" src="http://www.altn.com/Images/Ads/Save/Email-Footer.png" alt="" />         </a></p>
            </td>
      </tr>
    </tbody>
</table>
</div>
------------------------原始碼結束------------------------

dantu321002 发表于 2009-12-16 21:56:38

用IMG图标是能加入图片的,但是发送出去后,对方收邮件后图片却是没有的。

4楼元老,请教“需要用到客户端组件和服务器缓存,有点复杂了”是如何处理的?

dantu321002 发表于 2009-12-16 21:59:10

还有我的环境是 Mdaemon v10.0.1

Kyan 发表于 2009-12-16 22:37:23

原帖由 dantu321002 於 2009-12-16 21:56 發表 http://www.5dmail.net/bbs/images/common/back.gif
用IMG圖標是能加入圖片的,但是發送出去後,對方收郵件後圖片卻是沒有的。

4樓元老,請教「需要用到客戶端組件和服務器緩存,有點複雜了」是如何處理的?

非常遺憾,我用 WebMail 寄到 Yahoo 和 Gmail 都是有圖的(不是轉寄喔!),請參閱下列附圖。這和你用 MD 10.0.1 版無關,它也是會有圖的。



[ 本帖最后由 Kyan 于 2009-12-16 22:50 编辑 ]

dantu321002 发表于 2009-12-17 17:21:58

上面的图的地址是一个http链接,如果是一个本地的图片,是不是可以?

Kyan 发表于 2009-12-17 18:47:35

原帖由 dantu321002 於 2009-12-17 17:21 發表 http://www.5dmail.net/bbs/images/common/back.gif
上面的圖的地址是一個http鏈接,如果是一個本地的圖片,是不是可以?

你必須有架設網站或有架設網站的配置,在寫信的畤候最好先把信的內文寫好,再決定那裡要放置圖片,要放在左邊還是右邊,要放寬、高多少的圖片,然後用 http://你的Domain/圖片所在的位置/圖片的名稱.副檔名(無所謂本地不本地的)照 #2 樓配置約方法把圄片於上去。如果,你會寫 http(HyperText MakeUp Language)文件,就直接從 <div> 開始,用 </div> 結束。至於 html head meta title body 等就不必了,其他的一切照舊,請參閱我貼在 #5 樓的原始碼即可發信。如果,收信端也是用 MD WebMail 一定會用圖,其他的,要看對方接收郵件的軟體有沒有能顯示圖片的功能,也就是說它能不能接受 http 的顯示。只是如此而已!
页: [1] 2
查看完整版本: WorldClient中写邮件时如何在邮件正文中插入图片