Inline attachments thru Fox7

  • Thread starter Thread starter bnmohan via OfficeKB.com
  • Start date 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
 
You won't find many or any FoxPro programmers here but just use the
olByReference argument when you add the attachment and not olByValue.
 
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]
 
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.
 
Back
Top