开发者

using ckEditor to send emails, problem with images

I'm using the ckEditor (http://docs.cksource.com/CKEditor_3.x). my goal is to send the the text entered as an email message.

I get the contents of the editr as suggested in the docs:

var message = CKEDI开发者_Python百科TOR.instances.editor1.getData();

then send the message to a webmethod on the server side, and it sends ok.

the problem is: the images are added as an img tag, and get the local directory address, so it cannot be viewed on the recipients side.

how can I add the images to the email message?

thanks in advance!


You need to use a file uploader. CKFinder integrates nicely with CKEditor. Free for demo use (and open source projects I think), but about $70 for commercial use.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜