Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

JSON error on Mass Mail

12 years 10 months ago #187602 by oorzaak@oorzaak.nl
JSON error on Mass Mail was created by oorzaak@oorzaak.nl
Hi everyone,

I tried the Mass Mail feature of CB. I've sent test mails to 3 mailaddresses and the mails are sent. However I do get an error massage:

Sending Email to 3 users:
ERROR!
Invalid JSON: <script type="text/javascript"> if (document.getElementById){ document.write('<style type="text/css">') document.write('.multiparts, #formnavigation{display:none;}') document.write('</style>') ...etcetera...


I also tried this feature in simulation mode, involving all app. 200 members. This resulted in the same error. Also I think the process stopped after the first batch of 50 addresses, however I am not sure about this.

I hope someone can help me.

Please Log in or Create an account to join the conversation.

12 years 10 months ago #189132 by oorzaak@oorzaak.nl
Replied by oorzaak@oorzaak.nl on topic Re: JSON error on Mass Mail
Anyone...?

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 10 months ago #189148 by nant
Replied by nant on topic Re: JSON error on Mass Mail

oorzaak@oorzaak.nl wrote: Anyone...?


Most likely a bad email address - look at the complete message closer to see which email it is failing on.

Please Log in or Create an account to join the conversation.

12 years 10 months ago - 12 years 10 months ago #189171 by oorzaak@oorzaak.nl
Replied by oorzaak@oorzaak.nl on topic Re: JSON error on Mass Mail
Hi Nick,

Thanks for your reply. I tried sending 'mass mail' to just one e-mail adress which is certainly correct. This resulted in the same error.

Here is the complete error message for you & others who are willing to help solving this problem (I added line breaks for readability):
Code:
Invalid JSON: <script type="text/javascript"> if (document.getElementById){ document.write('<style type="text/css">') document.write('.multiparts, #formnavigation{display:none;}') document.write('</style>') } var curpart=0 function getElementbyClass(classname){ partscollect=new Array() var inc=0 var alltags=document.all? document.all : document.getElementsByTagName("*") for (i=0; i<alltags.length; i++){ if (alltags[i].className==classname) partscollect[inc++]=alltags[i] } } function cycleforward(){ partscollect[curpart].style.display="none" curpart=(curpart<partscollect.length-1)? curpart+1 : 0 partscollect[curpart].style.display="block" updatenav() } function cycleback(){ partscollect[curpart].style.display="none" curpart=(curpart>0)? curpart-1 : partscollect.length-1 partscollect[curpart].style.display="block" updatenav() } function updatenav(){ document.getElementById("backbutton").style.visibility=(curpart==0)? "hidden" : "visible" document.getElementById("forwardbutton").style.visibility=(curpart==partscollect.length-1)? "hidden" : "visible" } function onloadfunct(){ getElementbyClass("multiparts") partscollect[0].style.display="block" document.getElementById("formnavigation").style.display="block" updatenav() } if (window.addEventListener) window.addEventListener("load", onloadfunct, false) else if (window.attachEvent) window.attachEvent("onload", onloadfunct) else if (document.getElementById) window.onload=onloadfunct </script> {"result":2,"htmlcontent":"<h3>Sent email to 1 of 1 users<\/h3>\n<h4>Just sent 1 emails to following users: <\/h4>\n<div>admin<\/div>\n<h3>Your email has been sent.<\/h3>\n <table cellpadding=\"4\" cellspacing=\"0\" border=\"0\" width=\"100%\" class=\"adminlist\">\n <thead>\n <tr>\n <th colspan=\"2\" width=\"100%\" class=\"title\">Email Sent<\/th>\n <\/tr>\n <\/thead>\n <tbody>\n <tr>\n <td width=\"15%\" class=\"captionCell\">Email Subject:<\/td>\n <td width=\"85%\" class=\"fieldCell\">\n Test <\/td>\n <\/tr>\n <tr>\n <td class=\"captionCell\">Email Message:<\/td>\n <td class=\"fieldCell\">\n <p>test test<\/p> <\/td>\n <\/tr>\n <\/tbody>\n <tfoot>\n <tr>\n <th align=\"center\" colspan=\"2\"> <\/th>\n <\/tr>\n <\/tfoot>\n <\/table>\n\n<h3><a href=\"index.php? option=com_comprofiler&task=showusers\">Click here to go back to users management<\/a><\/h3>\n\n"}
Last edit: 12 years 10 months ago by oorzaak@oorzaak.nl.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 10 months ago #189175 by nant

Please Log in or Create an account to join the conversation.

12 years 10 months ago #189187 by oorzaak@oorzaak.nl
Replied by oorzaak@oorzaak.nl on topic Re: JSON error on Mass Mail
CB 1.7.1. on Joomla 1.5.25

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum