** add_html(), which is the path to the ** directory that holds the images. By ** adding this third argument, the class ** will try to find all the images in the ** html, and auto load them in. not 100% ** accurate, and you MUST enclose your ** image references in quotes, so src="img.jpg" ** and NOT src=img.jpg. Also, where possible, ** duplicates will be avoided. ***************************************/ $mail->add_html($html, $text, './'); /*************************************** ** Set character set. Not necessary, unless ** of course you need to specify one. ***************************************/ $mail->set_charset('iso-8859-1'); /*************************************** ** Builds the message. ***************************************/ $mail->build_message(); /*************************************** ** Sends the message. $mail->build_message() ** is seperate to $mail->send so that the ** same email can be sent many times to ** differing recipients simply by putting ** $mail->send() in a loop. ***************************************/ $mail->send('Richard', 'richard.heyes@[10.1.1.2]', 'Joe', '*****@*****.**', 'Example email using HTML Mime Mail class'); /*************************************** ** Debug stuff. Entirely unnecessary. ***************************************/