Lightning – Fix Toast Message Not Working in Classic

I have created a lighting component and used it in a visualforce page by using lighting out. Is there any way to display the toast message?

Best Answer

From Salesforce docs:

e.force:showToast event is handled by the one.app container. It’s supported in Lightning Experience, Salesforce app, and Lightning communities.

It doesn't say anything about classic or VF, so my best guess is You have to manually implement toast using SLDS.

Src: https://developer.salesforce.com/docs/component-library/bundle/force:showToast