Hi all,

is there any way to remove an attachment from Zend_Mail object? Simple
example:

    $mail = new Zend_Mail();

    //..configuring the email..

    $mail->createAttachment($myImage,
                            'image/gif',
                            Zend_Mime::DISPOSITION_INLINE,
                            Zend_Mime::ENCODING_BASE64);
    $mail->send();

    //now, I would like to modify the object and send it again

    $mail->clearSubject()
         ->setSubject('new subject');

is there any posibility to remove the attachment from this object that
was set previously?

regards
Maciej


-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to