我的电子邮件设置有一些问题,希望有人在这里遇到类似的事情。
我首先使用的是CF9。我有一个电子邮件模板,我用来发送来自数据库的动态内容不同的电子邮件。
这些电子邮件是以HTML电子邮件的形式发送的,我使用下面的内容作为我的标题:
<!-- // Begin Module: Standard Header Image \\ -->
<img src="http://www.example.com/cf_modules/autoresponders/example/sf_email_head.jpg"
style="border:0;height:150px;line-height:100%;outline:none;text-decoration:none;width:600px;"
id="headerImage campaign-icon" mc:label="header_image" mc:edit="header_image" mc:allowdesigner="" mc:allowtext="" alt="Image" />
<!-- // End Module: Standard Header Image \\ -->我的问题是,有时图像没有显示,当我检查代码时,图像的链接变成了如下所示
src="../../autoresponders/example/sf_email_head.jpg"有人知道为什么会发生这种情况吗?如果这是我的代码中的一个错误,为什么它没有出现在所有发出的电子邮件中?
另外,我忘了提一下,我给用户提供了用TinyMCE编辑电子邮件的选项,而当我在论坛上读到的时候,这个编辑器有时会将URL转换为链接。我只是在等着看我的修复是否有效。
发布于 2012-03-12 04:26:25
TinyMCE弄乱了我的URL
我通过添加
tinyMCE.init({
// General options
mode : "textareas",
elements : "htmleditor",
theme : "advanced",
convert_urls : falsehttps://stackoverflow.com/questions/9640633
复制相似问题