Created
May 19, 2014 22:47
-
-
Save arzola/0418a9f059a0fa45e425 to your computer and use it in GitHub Desktop.
Add Embed Image with PhpMailer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$mail->AddEmbeddedImage("rocks.png", "my-attach", "rocks.png"); | |
$mail->Body = 'Your <b>HTML</b> with an embedded Image: <img src="cid:my-attach"> Here is an image!'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment