Hi!Pgtips,I 'm sorry to doubt your reply. But I am afraid that you misunderstood the meaning of "imsg"."imsg" is not a method or prorerty of the cdo.message object,but ".AddAttachment" is one method of the cdo.message object,just like ".from" or ".to" in the code。Before you use "imsg",you have to "set imsg=createobject("cdo.message")".UNDERSTAND ME ?
|