R
Rex King
Hi,
We need to call MS Outlook (2000 or later) from our Java application to
generate a new email, with images embedded in the body of the email.
The user then edits it further, or clicks send, to send it via outlook
the normal way. We're using a java wrapper to invoke Outlook, and so
far have succeeded in launching a new email with images attached to it.
Is there a way to programmatically embed the images within the body of
the mail itself?
We came across suggestions like using MAPI calls (which are registered
in cdo.dll). However, cdo.dll was not found on our own systems, where
we have Office XP and 2003 respectively installed. The solution we came
across recommended registering cdo.dll if it was not there.
However, only assumption we can make about the client environment is
that it has Outlook installed properly. We cannot expect cdo.dll to be
there, nor copy it and register it.
Is there any other way to do this?
We need to call MS Outlook (2000 or later) from our Java application to
generate a new email, with images embedded in the body of the email.
The user then edits it further, or clicks send, to send it via outlook
the normal way. We're using a java wrapper to invoke Outlook, and so
far have succeeded in launching a new email with images attached to it.
Is there a way to programmatically embed the images within the body of
the mail itself?
We came across suggestions like using MAPI calls (which are registered
in cdo.dll). However, cdo.dll was not found on our own systems, where
we have Office XP and 2003 respectively installed. The solution we came
across recommended registering cdo.dll if it was not there.
However, only assumption we can make about the client environment is
that it has Outlook installed properly. We cannot expect cdo.dll to be
there, nor copy it and register it.
Is there any other way to do this?