邮件服务器-邮件系统-邮件技术论坛(BBS)

标题: WorldClient中写邮件时如何在邮件正文中插入图片 [打印本页]

作者: dantu321002    时间: 2009-12-15 21:24
标题: WorldClient中写邮件时如何在邮件正文中插入图片
Mdaemon 10.0.1的WorldClient在写邮件的正文时,图片无法插入,但是查看以前带图片的邮件是很正常的.
作者: Kyan    时间: 2009-12-16 01:43
原帖由 dantu321002 於 2009-12-15 21:24 發表
Mdaemon 10.0.1的WorldClient在寫郵件的正文時,圖片無法插入,但是查看以前帶圖片的郵件是很正常的.


看圖插畫:


作者: oracat    时间: 2009-12-16 10:54
刚才试了一下

本地的图片好像不能插入
作者: wxhsh    时间: 2009-12-16 12:13
原帖由 oracat 于 2009-12-16 10:54 发表
刚才试了一下

本地的图片好像不能插入

其实本地图片不叫插入,是上传了,这个WC不支持了,需要用到客户端组件和服务器缓存,有点复杂了。
作者: Kyan    时间: 2009-12-16 21:55
原帖由 wxhsh 於 2009-12-16 12:13 發表

其實本地圖片不叫插入,是上傳了,這個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 [59.124.36.116]<br />
            &bull;&nbsp;&nbsp;Web mail: http://rhode.tgshi.org:3000&lt;br />
            &bull;&nbsp;&nbsp;Login: rhode@rhode.tgshi.org<br />
            &bull;&nbsp;&nbspassword: 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
用IMG图标是能加入图片的,但是发送出去后,对方收邮件后图片却是没有的。

4楼元老,请教“需要用到客户端组件和服务器缓存,有点复杂了”是如何处理的?
作者: dantu321002    时间: 2009-12-16 21:59
还有我的环境是 Mdaemon v10.0.1
作者: Kyan    时间: 2009-12-16 22:37
原帖由 dantu321002 於 2009-12-16 21:56 發表
用IMG圖標是能加入圖片的,但是發送出去後,對方收郵件後圖片卻是沒有的。

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


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



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

Gmail.jpg (191.75 KB, 下载次数: 0)

Gmail.jpg

作者: dantu321002    时间: 2009-12-17 17:21
上面的图的地址是一个http链接,如果是一个本地的图片,是不是可以?
作者: Kyan    时间: 2009-12-17 18:47
原帖由 dantu321002 於 2009-12-17 17:21 發表
上面的圖的地址是一個http鏈接,如果是一個本地的圖片,是不是可以?


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

1. 按新郵件旁下三角形符號叫出郵件,並再按工具下項列最右方【source】。




2. 把你要寫的信件及圖片等文件蓋掉它原有的文稿。



3. 再按一次工具下項列最右方【source】。



4. 它會顯示你寫的信函內容及圖片,繼續請書寫收件人郵件地址及主旨後寄出即可。



5. 我是用 Becky! 收的,按它最下面左邊【2. text/html】就可以顯示全文與圖片。


作者: dantu321002    时间: 2009-12-18 15:14
图片是指本地的图片。

Mdaemon下有一个 InsertManager 插件,不知道如何启用,估计它能实现本地图片的粘贴。
作者: wxhsh    时间: 2009-12-18 15:23
原帖由 dantu321002 于 2009-12-18 15:14 发表
图片是指本地的图片。

Mdaemon下有一个 InsertManager 插件,不知道如何启用,估计它能实现本地图片的粘贴。

这个是IM插件,用来配合comagent使用的即时通讯功能。参考本人的说明:http://www.5dmail.net/bbs/viewthread.php?tid=168657&highlight=%2Bwxhsh

[ 本帖最后由 wxhsh 于 2009-12-18 15:24 编辑 ]
作者: Kyan    时间: 2009-12-18 15:52
原帖由 dantu321002 於 2009-12-18 15:14 發表
圖片是指本地的圖片。

Mdaemon下有一個 InsertManager 插件,不知道如何啟用,估計它能實現本地圖片的粘貼。


不好意思,我不瞭解你們所謂的「本地的圖片」有什麼特別的涵意?
作者: wxhsh    时间: 2009-12-18 16:03
原帖由 Kyan 于 2009-12-18 15:52 发表


不好意思,我不瞭解你們所謂的「本地的圖片」有什麼特別的涵意?

其实他的意思是指在信中作为附件上传一个本地的图片,然后用HTML编辑中以cid方式插入到指定位置。这个是WC原生不支持的。
作者: Kyan    时间: 2009-12-18 16:45
原帖由 wxhsh 於 2009-12-18 16:03 發表

其實他的意思是指在信中作為附件上傳一個本地的圖片,然後用HTML編輯中以cid方式插入到指定位置。這個是WC原生不支持的。


他的意思是指【Attach Files】?在 MD WebMail 裡不支援此一功能。其實他能上網,以插入圖片方式編寫 http 文件似乎比他以附件方式還方便,我在上面舉例按步完成在文字中插圖是最笨的方法,它可直接完成圖文並茂的郵件。我所謂的圖片除了 Photos 以外,還包括 Photo Gallery、Video 和 SlideShow 等等,非常實用,而且在收件端都能直接顯示

下圖是將 Video 寄出,收件端用 MD WorldClient 收件,即可播出:



[ 本帖最后由 Kyan 于 2009-12-18 17:55 编辑 ]




欢迎光临 邮件服务器-邮件系统-邮件技术论坛(BBS) (http://bbs.5dmail.cn/) Powered by Discuz! X3.2