LUserREC.GET(USERID); LRcpMail:= 'test@lifter.com'; IF LHRMSetupREC."Enable Emp. Dtls. Notification" THEN BEGIN IF LSMTPMailSetupREC.GET THEN BEGIN LSMTPMailCDU.CreateMessage('Staff details','Notifications@lifter.com', LRcpMail, 'Update of Staff Details > '+"No."+'-'+LEmployeeREC.FullName,LEmployeeREC.FullName,FALSE); LSMTPMailCDU.AppendBody(' has updated his/her staff details '); // LSMTPMailCDU.AppendBody(LCRLF + LCRLF); LSMTPMailCDU.Send; END; END;
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
is the Enable Emp. Dtls. Notification boolean true in setup
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Pargesoft
Write this code on modify of Table trigger.