An example of how to send an email using code (note you can add attachments to the email, add an system.net.mail.attachment object to the attachments list inside the message object)