Awesome!! Thanks again
Srikant
> > Could you also tell me how shall I add an attachment (using GETFILE()) is generating an error), i feel its becoz "attachments" property needs an object rather than a string... How do I upload attachment as an object???
> >
> > Regards,
> > Srikant
> >
> >
>
>
> No you are wrong. it accepts the strings only but your stantax is wrong i suppose it should like that
>
>
> lcAttachFile= GetFile()
> lomailitem.Attachments.Add(lcAttachFile)
>
>
> u can add any no. of attachments by calling same method again and again :)
>
> Anil
>
My Blog