Skip to main content

Timeline for Can't activate Email Service

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Jul 27, 2021 at 16:20 comment added mikeyq6 Had the same problem. In my case, I just made a change to the class so that it pushed, then it worked :|.
Sep 15, 2016 at 18:51 comment added Peter Knolle I just ran into this. The class is invalid (needs recompilation). If you go to the Apex Class listing page and filter on Is Valid = false, you'll see it listed. 'Compile All' of the classes from that listing page and then the classes should go away in the Is Valid = true filtered list view. Then you can use the class in the Email Service setup.
Apr 13, 2015 at 1:51 vote accept David Dawson
Jan 28, 2015 at 2:22 comment added cropredy my other vague genetic memory was that I had to create the class using the UI not Eclipse to get it to be accepted ...but this of course was not consistent
Jan 28, 2015 at 2:14 comment added David Dawson I actually already had a test method, run with 90% coverage (stupid try-catches) and the apex class was definitely active. This has happened to me in the past but with scheduled apex classes, never with email services.. It is obviously a bug across the board that developers need to be aware of
Jan 28, 2015 at 1:56 comment added cropredy i have a vague genetic memory that if the class is not marked as active, it can't be selected. I seem to recall having to write a testmethod and executing it (probably could use anonymous apex too) to get the class to be acceptable
Jan 28, 2015 at 1:52 history answered David Dawson CC BY-SA 3.0