Inline attachments thru Fox7

  • Thread starter bnmohan via OfficeKB.com
  • Start date
B

bnmohan via OfficeKB.com

I am using FoxPro7 to create a mailer using Outlook 2000. I wish to add a .
jpg as an inline attachment, which I have not been able to do. I am able to
creat the message with the .jpg as normal attachment. Can someone give me the
Foxpro statement to add a .jpg as an inline attachment?

Mohan
 
K

Ken Slovak - [MVP - Outlook]

You won't find many or any FoxPro programmers here but just use the
olByReference argument when you add the attachment and not olByValue.
 
B

bnmohan via OfficeKB.com

oooooooo

olByValue (=1)attaches the normal attachment
olByReference (=4) attaches a Shortcut
OlEmdeddedItem (=5) attaches a shortcut
olOLE (=6) attaches a shortcut.
My statement is - lonewmsg.Attachments.Add("d:\prdpl\order\greetings2.jpg",5,
1)

I wonder where I could find a Foxpro7 forum...?

Mohan

You won't find many or any FoxPro programmers here but just use the
olByReference argument when you add the attachment and not olByValue.
I am using FoxPro7 to create a mailer using Outlook 2000. I wish to add a .
jpg as an inline attachment, which I have not been able to do. I am able
[quoted text clipped - 4 lines]
 
K

Ken Slovak - [MVP - Outlook]

How the image is displayed depends on the message format and the version of
Outlook you're using. You're correct that my previous post did not produce
the results you wanted. You might want to look at a code example of showing
an embedded image in an email that's in VBA code, at
http://www.outlookcode.com/d/code/htmlimg.htm. That might be helpful for
you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top