Attachments - unable to open

K

Karina

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top