I'm trying to email an embedded image in an email using PHPMailer, its not working, the image is not coming through. (I get a broken image)
Heres the image upload part (the image to be embedded)
and here's the phpMailer script to attach the image.HTML Code:<label for="Photo1">Image 1:</label> <input type="file" id="Photo1" name="image1" size="28" />
What am I doing wrong?PHP Code:$Image1 = $_FILES['image1'];
$mail->AddEmbeddedImage($Image1, 'Image1', $Image1);





Bookmarks