You need to sign in to do that
Don't have an account?

Customer Portal and Emails
Hi
I have a requirement that, the customer portal users create tasks or send emails to the regular users.
But I believe that the portal users cannot create tasks. But I am not sure why the emails don't work.
Does anyone know a workaround for this?
Any help is greatly appreciated!
Thanks
Got it solved. Thanks for all the help.
All Answers
I think you can use system.runAs around your "elevated" code to get around that limitation.
Thank you for the immediate response. Could you please elaborate?
Well, if the limitation you're hitting is a licensing one (ie, the license of the user executing the action doesn't all said action), system.runAs will allow you to run that piece of code as a different user, say, an automation user account with a full salesforce license, vs the regular sites license.
But I think we can use system.runas only in test methods!!
Got it solved. Thanks for all the help.