Application Sample with text attachment