Execute email alert manually

hi community
is it possible to execute email alert manually via code without waiting an event (approve) be triggered.


Hi @SOLOSOFT! Not sure if this can be used in your usecase but you can try

bench excute [the def path here]

to force trigger the def that runs the code.

Actually i need the method that get executed when send email get raised




Calling that method will trigger daily emails if thats what you wanted. Also I think you can send individual email by getting the doc and calling the send method on the doc:


Hope it helps