Nette Documentation Preview

syntax
Upgrading
*********


Upgrading to Version 2.3
========================

- if you use the `$mail` variable in a template, you must pass it to the template manually
- if you have linked images with relative paths in a template, pass the base file path as the second parameter of `setHtmlBody()`
- there is no need to cast templates to `(string)`

{{maintitle: Upgrading Nette Mail: What Changed in Version 2.3}}
{{description: What changed in Nette Mail 2.3: passing the $mail variable to templates and the base path for linked images in setHtmlBody().}}

Upgrading

Upgrading to Version 2.3