Javascript in Newsletter

Ralph McLemore asked on November 15, 2014 18:25

Is there a way to stop a dynamic email from including the viewstate and other javascript? When I run it though various email testers to find out why it keeps ending up getting tag as spam that is the primary reason given that I haven't been able to clean up.

Recent Answers


David Komárek answered on November 21, 2014 14:49

Hi Ralph, this would be very complicated as most of the scripts (and viewstate) comes from ASP.NET controls that are used to generate the web page you are sending as the dynamic newsletter. You might get rid of some of them using a custom code, but I do not see an easy way to remove them all. In such scenario, you may consider using the classic Newsletters with custom macros taking care of some advanced content, but if you are using complex content, this may also take a lot of time.

0 votesVote for this answer Mark as a Correct answer

Marco Zotta answered on February 16, 2016 08:58 (last edited on February 16, 2016 10:18)

Any solution? The last antispam solutions used by many users, are stopping emails on VIEWSATE code. Dynamic newsletters are useful to open emails also in the browser, with the static solution this is not possible. The alternative is to leave Kentico Newsletter modules vs other external solutions? Thanks

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.