I am having some issues with my email setup and hoping that someone in here encountered something similar before.
I am using CF9 to begin with. I have an email template which I'm using to send different emails with dynamic content coming from a DB.
The emails are going out as HTML emails and I am using this as my header:
<!-- // 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 \\ -->
My issue is that sometime the image is not being displayed and when I inspect the code the link for the image becomes something like
src="../../autoresponders/example/sf_email_head.jpg"
Anyone have any idea why this is happening and if it is an error in my coding why it doesn't show up in all of the emails that are being sent out?
Also, I forgot to mention that I am giving the user the option to edit the email with TinyMCE and as I read on forums sometimes this editor is converting URLs to links. Im just waiting to see if my fix is working.
TinyMCE was messing with my URLs
I fixed it by adding
tinyMCE.init({
// General options
mode : "textareas",
elements : "htmleditor",
theme : "advanced",
convert_urls : false
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.