DECLARE @Test VARCHAR(1000);
SET @Test = CONCAT(@ObjectType, ' ', @SchemaName,'.',@ObjectName,' has been taken action ', @EventType, ' by user ', @Login, ' at ', @ExecutionTime)
EXEC msdb.dbo.sp_send_dbmail
@Profile_Name = 'test1,
@Recipients = 'test@gmail.com',
@Body = @Test,
@importance = 'High',
@sensitivity = 'Confidential',
@Subject = 'The following object(s) was/were changed',
@Exclude_query_output = 1;
Anyone know how to add new body lines?