Nadya - your code worked absolutely fine. I was not sure about the sendmails() routine but I see from the reference you have given, it handles the situation where goupwise is not available.
Thanks for your assistance with this. Saved me hours!!
Barry.
>>Is there anyone who could advise a relative newcomer on setting up email facilities from a VFP app in a Novell Groupwise Environment?
>>
>>Regards
>>Barry Sutton.
>
>Hi Barry,
>
>Have I answered this question via e-mail? :) I don't have a program at home, but here is a thread, which would help: Forum: Visual FoxPro Category: Visual FoxPro in general Title: Re: Sending mails through GroupWise with attachment Thread #
542261 Message #
552031>
>Look also at the program, I sent you today.