CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Inbound email reports suspicious activity and aborts on pasting...
Pages: [1]

Author Topic: Inbound email reports suspicious activity and aborts on pasting...  (Read 524 times)

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Inbound email reports suspicious activity and aborts on pasting...
February 14, 2011, 05:25:53 am
On pasting an html email into an inbound email activity (and presumably any other activity) we get a message to the effect that our html activity is suspicious and it has been aborted...

Ok, so I understand, but not a great message for the user.

Resolution is to paste it as plain text, but either we need a better error message, or we need to trap the error sooner...

I'm not sure if my view is reasonable hence I've not logged it as an issue - what does anyone else think?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Inbound email reports suspicious activity and aborts on pasting...
February 14, 2011, 08:21:33 am
Hi,

What would you suggest as a better message?

Also, when would you trap the error before you try saving the activity ?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: Inbound email reports suspicious activity and aborts on pasting...
February 14, 2011, 08:29:43 am
A more helpful message:

Good questions - sorry not to have posted them first, I was noting the behaviour as it occurred in the middle/muddle of my working day


"You have pasted in a load of html - please use the wee icon to paste it as plain text"

Which is still not a very good message, but at least offers a resolution..

Trapping the error -

It isn't really an error - but the rich text editor (ckedit is the option I believe we are using) is configured to allow pasting in html - so it is really to match the configuration of the component to the requirements of civiCRM...

I'll need to look into how to configure ckedit.

Sorry to be so sketchy, I'm in the middle of rushing between meetings....

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: Inbound email reports suspicious activity and aborts on pasting...
February 14, 2011, 08:30:45 am
I've just seen the meta thread - I'll move onto that...

Sorry

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Inbound email reports suspicious activity and aborts on pasting...

This forum was archived on 2017-11-26.