I am trying to create a PHP script to send out a mail using mime types. Everything works correctly except for the Mime itself. Right now I am sending this as a test. What It does is send a simple HTML file with an inline image. The inline image shows as missing, and it is attached to the email. If I open the attachment I can view the image and it shows up correctly but on the email itself it shows up the red X for image missing. Is there something I am doing wrong?
Here is my mime code:
Code:
Mime-Version: 1.0
Content-Type: multipart/related; boundary="DMW.Boundary.605592468"
Content-Transfer-Encoding: 7bit
ERROR
--DMW.Boundary.605592468
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<img src="cid:image001">
<br>
asdf
--DMW.Boundary.605592468
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="image001.jpg"
Content-ID: <image001>
encoded image is here
Basically, I want to figure out why the image shows up as missing.
Thanks again for your support 
Last edited by Synchronize; 10-18-2005 at 04:08 PM..
|