IT log

moral & concision is my dream.

Archive for May 21st, 2009

using plugins within firefox and thunderbird

最初只是为了更换一下 firefox 和 thunderbird 的 plugins Themes 而访问了 mozilla.org.

在卸载掉 aero theme 后, 没找到其他合适的皮肤, 但发现了带有更换大量皮肤功能且会更新的 Personas (make changing the look of the browser as easy as changing your shirt) .

firefox 以后更换皮肤就轻松多了,  我觉得这个 Personas 如果发展得好的话, 将来会垄断 mozilla 所有软件的皮肤市场, 以后软件自带的 Tools – Add0-ons – Themes 功能如果不进行重大升级的话, 将会沦为摆设.

这个网址可用来查看 Personas 中最受欢迎的皮肤样式: http://www.getpersonas.com/gallery/All/Popular

如果说在 firefox 中找到了 Personas 算做一个轻松旅程的话, 那么相对而言 Thunderbird 的 plugins 更新和使用过程就太痛苦了.

Thunderbird 的 skin theme 更换从冷色 Cobalt 到暖色且更快 Slivermel, 这个过程倒是没有什么障碍.

接着我用 gContactSync 代替 Zindus 来同步本地的邮件地址簿到 google mail contacts 中, 之所以舍弃 Zindus , 是因为 gContactSync 对于 gmail 地址簿格式专注, 解决了很多兼容问题, 并模仿 gmail contacts 修改了 Thunderbird 中默认地址簿格式.

最最郁闷的是使用扩展插件 Stationery ( Allow you to use HTML files as templates for mail. Also allow custom template in replies or forwarded mail! ) 中遇到的问题, 因为我测试这个信纸插件是发送到 foxmail 中用webmail mail.foxmail.com  来查看的,  但因为从前不知道在 webmail 界面中查看 html 格式邮件会被屏蔽掉很多样式, 所以会误以为是这个插件或是客户端问题使得邮件信纸不能正常显示.

如果再详细描述我在遇到问题后不断试验, 以及查找资料的过程, 那我估计今天就不用睡觉了. 我就先对我发现包括 gmail 和 foxmail 网站上的 webmail 问题进行一下总结, 然后再列出三个对我解决问题最有帮助的网址以及内容摘要.

webmail 对 html 格式邮件样式过滤/屏蔽的总结:

1. 屏蔽 body 标签中的 background 属性;

2. 屏蔽所有标签中的样式 style 属性中的 background 以及相关属性;

3. 屏蔽所有标签中的样式 style 属性中的 position, z-index 等用来定位的属性.

几个有价值的关于邮件 内嵌/嵌入 不带附件显示图片的文章:

用Java Mail发送带有图片附件的html格式邮件 http://www.sudu.cn/info/html/edu/20071219/119776.html

用Java Mail发送带有图片的html格式的邮件,针对于显示图片,一般有两种方法。

1. 图片存在于服务器上,我们只需要把图片在服务器的的链接放进去即可。
这种发式比较简单,不过这种方法有些缺陷:
图片不支持离线浏览;
每次浏览邮件需要访问web服务,增加服务器负担;
若图片以二进制的方式存在于数据库或是动态生成的,则无法有效的解决。

2. 把图片以附件的方式发送出去,这种方式非常适用于图片存在于数据库中的情况

Creating complex mails with inline images http://kb.mozillazine.org/Creating_complex_mails_with_inline_images

The HTML format allows to place an image within the message text rather than as an attachment. There are several ways how to do this. This section describes including an image from a local file, whereas the next section describes inserting an image located at a remote server.

How to Add a Background Image to a Message in Mozilla Thunderbird http://email.about.com/od/mozillathunderbirdtips/qt/et040905.htm

A white background is not to be sneezed at, but the splendor of a colorful, classy or artistic image is a welcome change now and then. In Mozilla Thunderbird, you can make an image your background.

posted by Leon Tsang in Live - Work and Struggle and have No Comments