Hard to say without seeing an example. With Python string formatting, you
can used named placeholders and fill them with a dictionary. Alternatively,
you could use a web2py template (either stored in a "view" file or simply
as a string in your code). If you want to build an HTML email, you could
also use web2py's HTML helpers.
On Tuesday, September 20, 2016 at 7:39:51 AM UTC-4, Pierre wrote:
> Trying to make a task compose email messages including variables........
> I don't see a "natural" way to handle this via string manipulation. Is
> there an alternative solution ?
> what's the preferred/standard form for simple emails: html, xml, text ?
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.