Sending email with attachment using JavaMail

Hello everyone!

Can javamail send an email with an attachment? How should we specifiy in the eventout record that 'something' is to be sent as attachment on a mail to be sent?

Thanks in advance.