ich möchte in eine Mail Grafiken einfügen, die beim Lesen der mail nicht erst vom Webserver abgerufen werden müssen. In der PHPMailer-Klasse habe ich die Funktion AddEmbededImage gefunden - doch wie setze ich diese im Zusammenang mit einer HTML-Mail ein?
Hier der Kommentar zur Funktion:
Code: Alles auswählen
/**
* Adds an embedded attachment. This can include images, sounds, and
* just about any other document. Make sure to set the $type to an
* image type. For JPEG images use "image/jpeg" and for GIF images
* use "image/gif".
* @param string $path Path to the attachment.
* @param string $cid Content ID of the attachment. Use this to identify
* the Id for accessing the image in an HTML form.
* @param string $name Overrides the attachment name.
* @param string $encoding File encoding (see $Encoding).
* @param string $type File extension (MIME) type.
* @return bool
*/
Schöne Grüße
von Simon