Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending a pdf with cdo mail

Status
Not open for further replies.

OldSmelly

Programmer
Nov 22, 2001
70
NL
Hello,

I have a routine that sends mail to my mailserver (sendmail under linux) with attachements and it works fine except when the attachement is a PDF file. Then I get the follow error

OLE IDispatch exception code 0 from CDO.Message.1: The specified protocol is unknown.

Anyone have a clue how to mail a pdf with cdo
 
Anyone have a clue how to mail a pdf with cdo

If you showed us the coe you are using to try to e-mail the pdf, we might be able to offer more assistance.

It seems to me that if you are sending the pdf as an attachment, it should work like any other attachment.

Code:
loMessage.AddAttachement( [D:\My documents\My PDF File.pdf] )



Marcia G. Akins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top