Hello,
I created a html newsletter editor with execCommand.
Basicly, my client can markup his newsletter in an iframe set to contenteditable, then send out the newsletter with ajax/php.
This works without any problems save one:
Any links inside the body of the newsletter that are created with execCommand(‘createlink’, false, url) come out wrong in Outlook and Hotmail (yet to test it in Thunderbird and/or GMail).
In Outlook, there are slashes added to the url, which cause it to display an “Incorrect url” error:
For example i create a link [URL]http://www.blabla.com[URL]“http://www.blabla.com”
In Hotmail, the url seems to be totally blocked and unclickable.
These problems only occur inside the emailclients. I have a link send with the newsletter to an online version, where the links work fine.
Links that aren’t created by execCommand (such as the links to the online version, unsubscribe page etc.) do not have these problems.
Any suggestions are more then welcome.
Thanks in advance