S
Sharkbyte
I have setup email, using CDO, in a database. I have incorporated
www.lebans.com's code for creating a PDF.
However, when I configure my CDO.Message object, I get an
"Object doesn't support this property or method. Error Number 438"
Here is the offending code. It is the .AddAttachment property.
With iMsg
.To = gblEmail1
.From = gblEmailFrom
.BCC = gblEmailBCC
.Subject = gblEmailSubject
.Sender = gblEmailReply
.ReplyTo = gblEmailReply
.HTMLBody = gblEmailBody
.AddAttachment = "c:\tsw\" & gblReportName
Can anyone offer a suggestion on the correct property name? I can't track
it down.
Thanks.
Sharkbyte
www.lebans.com's code for creating a PDF.
However, when I configure my CDO.Message object, I get an
"Object doesn't support this property or method. Error Number 438"
Here is the offending code. It is the .AddAttachment property.
With iMsg
.To = gblEmail1
.From = gblEmailFrom
.BCC = gblEmailBCC
.Subject = gblEmailSubject
.Sender = gblEmailReply
.ReplyTo = gblEmailReply
.HTMLBody = gblEmailBody
.AddAttachment = "c:\tsw\" & gblReportName
Can anyone offer a suggestion on the correct property name? I can't track
it down.
Thanks.
Sharkbyte