PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming Attachments - unable to open

Reply

Attachments - unable to open

 
Thread Tools Rate Thread
Old 01-07-2003, 07:37 PM   #1
Karina
Guest
 
Posts: n/a
Default Attachments - unable to open


Hello, I've created a form that sends out an email with an
attachment, however when I receive the email, I'm unable
to open the attachment. Here is the part of a function
that creates an attachment:
*********************
AssignedItem.save
Set myItem = Application.CreateItem(0)
myItem.Subject = "Assigned Help Task at " & Now()
myItem.Body = "There is a Help Desk task for you at " & chr
(13)

On Error Resume Next
myItem.To = item.userProperties.find("AssignedTo").Value
Set myAttachments = myItem.Attachments
myAttachments.Add AssignedItem, 4
myItem.Send
If err Then
********************

Thank you in advance

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off