How can I add two attachments into an email? I pulled this code from this site..
Send mail through kix

Here's how I tried to do it, but it only attaches the first attachment.
code:
 
break on
:Email
$Root = CreateObject("Outlook.Application")
$MailItem = $Root.CreateItem(0)
$MailItem.Importance = 1
$MailItem.Subject = "Someheader"
$MailItem.To = "me@@mydomain.com"
$MailItem.Body = "SomeText for the body"
$MailItem.Attachments.Add("PathToFile1")
$MailItem.Attachments.Add("PathToFile2")
$MailItem.Body = "This is a test.@CRLF@CRLF"
$MailItem.Send
$Root = 0

Thanks in advance...L8tr..