Skip to content
Bug Barometer
All issues
Closed

Uncategorized

Internal Server Error on EmailHeader.triggerUserEmail =true; in apex invoked by Guest User by Lightning Component embedded in Visualforce

Summary

Internal Server Error thrown for Guest User where Apex Class which uses database.insert and sets EmailHeader.triggerUserEmail to true is invoked via lighting component which is embedded in a Visualforce page.

Apex class - creates new user, triggers user email
Lightning Cmp - has button, calls new user method in apex
Lightning App - contains cmp, allows guest access
VF - contains app
Site - contains VF

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Closed with 3 reports

    Nov 30, 2026