Add an attachement in mailenvelope

J

Joop

Hi all,

In an application I try to attache a file to a mail that i create with
mailenvelope. The code looks like this:

With WApp.ActiveDocument.MailEnvelope.Item
.To = Me!FldContPersEMail
.CC = Me!LijstCC
.Attachments = Me!LijstAtt
.Subject = rcdCor!FldCorresOnderw
.send
End With

All works well but the attachement. I get an error that says (exact
translation from Dutch, I don't have an English version of Office!):

Can't complete this action on this type of attachement

The error is not displayed in an error window but in the "Locals window"
when I look in:

Wapp->Activedocument->Mailenvelope->Item->Attachements->Item 1

The error is behind the filename.
So a new item is made for the attachement but behind filename it displays
this error.

What do I do wrong??

regards Joop
 

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

Top