SMTP Add Attachments - Cannot access CDO Message Object

  • Thread starter Thread starter gamorgan
  • Start date Start date
G

gamorgan

I am having trouble with mail attachments when executing
mail.send(message).

The mail attachment is fine if it is an RTF, but as soon as i use JPEG
or Doc then i get the error of Cannot access CDO Message Object.

I have tried adding Header
(message.headers.add("Content-Transfer-Encoding", "base64") and also
when attaching the file i use message.attachments.add(New
MailAttachment(path, mailencoding.base64), as per looking through
similar problems on the web.

any help appreciated.
 
* (e-mail address removed)-spam.invalid (gamorgan) scripsit:
I am having trouble with mail attachments when executing
mail.send(message).

The mail attachment is fine if it is an RTF, but as soon as i use JPEG
or Doc then i get the error of Cannot access CDO Message Object.

If you don't get an answer here, post the question to a more general
group, for example
 
Back
Top