thanks sergey I'll check it and let you know
Alessio
>You have to pass full file name (including full path) to the AddAttachment() method.
>
>>Hi there , I'm getting into a problem when I try to send an Email using CDOSYS. If I launch the app from my pc (XP home) everything goes right but if I'm working on a XP professional PC I get the error 1429 which tells me that the "specified protocol was not found"
>>
>>the code which gives the error is :
>>
>> IF TYPE("tafiles",1) = "A"
>> FOR lnCountAttachments = 1 TO ALEN(taFiles)
>>
>>* this is the line which gives the error***************
>> loAtt=.AddAttachment(taFiles(lnCountAttachments))
>>****************************************************
>>
>> ENDFOR
>> ENDIF
>>
>>
>>