Corrected attachment sending in events.