Re: Embedding jpg images in an email

"'Chip' [email protected] [blat]" <[email protected]>
Newsgroups gmane.mail.blat
Message-ID <1EA6B9A0494341D0A450594638735E75@chip>
> This is the line of code that is being added to our "blat" program
>
> -embed "<img src=cid:testimage.jpg>"
>
> Our program compiles and runs but there is no image in the email
> I have never used cid before.
>
> The testimage file resides in the c:\  directory of my machine
>
> 1. How does a jpg file get recognised by a cid statement?
>
> 2. Are any extra commands to be sent to blat rather than the above
>
> 3. Any ideas what I am doing wrong?


The command line option should be:

    -embed C:\testimage.jpg


The CID: statement you show should be in your HTML message, using the same 
name as the file you are attempting to embed.

HTML capable email programs will recognize the cid: statement, look for 
named image file to be part of the received email, and render the image when 
it is available.

Chip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.