You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you run the YiiMailer on test mode and try to save the file instead of sending it, in the save function YiiMailer::save() when $filename is created, if the $this->view contains a slash in front (e.g: '/myView/') or after, then on the created file name exist a slash, and the fopen function try to find a subdirectory. I suggest, to trim the $this->view property before using it (e.g: trim($this->view, " \t\n\r\0\x0B\/") i also kept the default values from trim function).
The text was updated successfully, but these errors were encountered:
When you run the YiiMailer on test mode and try to save the file instead of sending it, in the save function YiiMailer::save() when
$filename
is created, if the$this->view
contains a slash in front (e.g: '/myView/') or after, then on the created file name exist a slash, and the fopen function try to find a subdirectory. I suggest, to trim the$this->view
property before using it (e.g:trim($this->view, " \t\n\r\0\x0B\/")
i also kept the default values from trim function).The text was updated successfully, but these errors were encountered: