Some vb.net for you.
Code:
Dim mymail As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage()
mymail.From = "[email protected]" 'Set this to what you want the from address to show as
mymail.To = "[email protected]" 'Set this to your email address
mymail.Subject = "Email Subject" 'Set this to the subject you want. You don't need to set a subject, though.
mymail.Body = "This is the text of the email, set it to whatever you like. You don't need to have this set, though."
Dim mylogs1 As MailAttachment = New MailAttachment("C:log1.txt") 'Set the path to your log file
mymail.Attachments.Add(mylogs1) 'This just adds the attachment to the email
Dim mylogs2 As MailAttachment = New MailAttachment("C:log2.txt") 'Set the path to another log file
mymail.Attachments.Add(mylogs2) 'Again, just adds the attachment
'Repeat those 2 lines for every log you want to attach
Dim SMTPServer As New SmtpClient("smtp.gmail.com") 'This is an example for Gmail, you can set the SMTP to whatever you like.
SMTPServer.Port = 587 'The Gmail smtp port. If not using Gmail, remove this line
SMTPServer.Credentials = New System.Net.NetworkCredential("your gmail address here", "your gmail password here") 'This is used because the Gmail smtp server is secured. Remove this line if you don't need to authenticate to access the smtp server.
SMTPServer.EnableSsl = True 'Remove if it's not an ssl secured smtp server
SMTPServer.Send(mymail) 'Sends the mail
That should do the trick.