>Thank you gentlemen this code helped me do what I wanted.
>
>I do have 1 question: when I execute this code I always get this Popup window from Outlook saying that a program is trying to access Outlook and do I authorize it. Is there a way to avoid this annoying message box?
See
Re: How do I control outlook messages when sending email Thread #880675 Message #880686
Re: Automating Outlook w/VFP 8.0 Thread #1032221
Re: By passing Outlook message box when sending emails Thread #987238
--sb--