[ZF2] Mime/Message using subparts

For programming and general questions on Zend Framework
Post Reply
janmalte
Posts: 1
Joined: Wed Jan 16, 2013 10:55 am

[ZF2] Mime/Message using subparts

Post by janmalte » Wed Jan 16, 2013 11:00 am

hello,

is there a way to add some subparts to a Mime/Part or Mime/Message? I couldn't find any method for this.
I'm trying to create a message structure like this for sending a Text and HTML Mail with Zend/Mail:

Code: Select all

multipart/alternative
    text/plain
    multipart/related
        text/html (referencing the images by cid)
        image/gif
        image/gif
Source from Stackoverflow:
MIME type to satisfy HTML, email, images and plain text

Post Reply