"This script will show you how to send a HTML email, but also it demonstrates the attachURL functionality which allows you attach an image or other object to the email and link to it from the message." . . . .