Board index » delphi » Using OLE to add Attachments to Outlook Mail Message

Using OLE to add Attachments to Outlook Mail Message

Hi,

I'm trying to add an attachement to a mail item created using Delphi 4 and
OLE to Outlook 97. The process is OK if Outlook is already running in its
own right, but if I create an automation object for Outlook and try to send
an email with attachment, Dr Watson pays a visit. Any Ideas? (NT4 SP5)

Thanks in advance.

 

Re:Using OLE to add Attachments to Outlook Mail Message


I can see your post on my ISP's copy of the
borland.public.delphi.oleautomation newsgroup,
but it hasn't been sent to Borland's news server.
That means that most of the people who read
b.p.d.o cannot see your post.

To post messages that other people will see, you
need to connect to Borland's servers directly:
either newsgroups.borland.com or forums.borland.com.
Here's a link with instructions if you don't know how:
http://www.borland.com/newsgroups/newsinfo.html

If you cannot connect directly to newsgroups because
of a firewall, you can post to Borland's newsgroups
via the web pages at http://newsgroups.borland.com/

--
Deborah

Re:Using OLE to add Attachments to Outlook Mail Message


Hi,

I'm trying to add an attachement to a mail item created using Delphi
4 and
OLE to Outlook 97. The process is OK if Outlook is already running in
its
own right, but if I create an automation object for Outlook and try
to send
an email with attachment, Dr Watson pays a visit. Any Ideas? (NT4
SP5)

Thanks in advance.

Re:Using OLE to add Attachments to Outlook Mail Message


<<Norris:
The process is OK if Outlook is already running in
its own right, but if I create an automation object for
Outlook and try to send an email with attachment, Dr Watson
pays a visit. Any Ideas? (NT4 SP5)

Quote

Not off hand - can you show us some code?

--
Deborah Pate

Other Threads