View Single Post
  #1  
Old March 16th 06, 05:38 PM posted to microsoft.public.outlook.program_forms
Hollis D. Paul
external usenet poster
 
Posts: 66
Default Custom Form can't be Delivered

In article . com, Boyd
wrote:
"Item.To"

Not this one. Here is what I did in one of my custom forms:

'Create the message, attachment, and send it
Set myMailItem = AppOutlook.CreateItem(0)
myMailItem.Subject = strSubject
myMailItem.Body = "Message with attachment for Exchange PF and
SharePoint"
Set myRecip = myMailItem.Recipients.Add(strMailAddr)
Set nyAttach = myMailItem.Attachments.Add(strSaveName)
myMailItem.Send


Hollis D. Paul [MVP - Outlook]
Mukilteo, WA USA



Ads