Hi Ask, It seems i already included RTL.LIB, any other suggestions? Thanks, John. As i can see createobject function is inside win32ole.prg that is in rtl.lib .I work with xharbour and all is fine (if you use harbour try to change it to xharbour) . I use sendmail a long time now and works perfectly...