Well, thanks. I managed to write this code and it works:
    
    
    import winim/com
    
    var obj = CreateObject("Outlook.Application")
    var olMailItem = 0x0
    var newMail = obj.CreateItem(olMailItem)
    newMail.Subject = "test"
    newMail.Body = "Bodytest"
    newMail.display()
    
    
    Run

I'll leave it here as somebody might need it in the future.

Reply via email to