[eluser]uptime[/eluser]
[quote author="panos konstantinides" date="1259277995"]
We don't really think we will be migrating any time soon, but this code we write now will probably be used for other projects, which are also based on CI as well.
[/quote]
I'd probably never migrate away from CI but some old projects do not use it (though, I've slowly migrated nearly all of them).
[quote author="panos konstantinides" date="1259277995"]
I guess you mean to use the parser class to parse the text and populate it with data. Is it better than str_replace (basically I am concerned if it's faster).
[/quote]
Yeah, the built-in (CI) template parser library.
I care a lot about performance but I'm pretty sure what's going to slow it down is the mail, not the str_replace vs. parser class.
[edit]
By the way, nothing against str_replace()... just like to use production code than something that was just made.
If you're gonna use str_replace(), you should know that you could pass an array for the first two parameters, it may save you some time (just wasn't sure if you knew it or not).