Hi Elisamuel!

You might be interested in this task <http://framework.zend.com/ issues/browse/ZF-1626>, which is about replacing or removing headers.

But if you intend to replace the whole message it would be easier to create a new instance of Zend_Mail and just reuse the transport. You could use a default transport for that. But if you're not using the smtp transport that won't buy you anything.

nico

[21.07.2007 19:52] Elisamuel Resto wrote:
Hello.

I've been trying to find a way to send multiple emails in a loop using all the details from the original email but two things... the subject and the bodies (html and text), which I need to change and pump out. It's for a script that reads an RSS feed and then sends emails about the contents. I got the parsing and such right, but seems Zend_Mail doesn't like replacing the Subject by default, I could work this around by making a custom class and stripping that logic out, but changing the BodyText and BodyHtml seem
to just APPEND to the body, which is not the expected behaviour.

--
Elisamuel Resto <[EMAIL PROTECTED]>
Source Mage GNU/Linux / http://sourcemage.org
ID: 0x18615F19 / FP: B66D 1C2A E8EE B922 1D9C D98F D2D5 FB61 1861 5F19


Reply via email to