Comments (2)
I tested following change to YiiMailMessage.php and it seems to work just fine.
142c142,144
< $viewPath =
Yii::getPathOfAlias(Yii::app()->mail->viewPath.'.'.$this->view).'.php';
---
> $viewPath = Yii::app()->findLocalizedFile(
> Yii::getPathOfAlias(Yii::app()->mail->viewPath.'.'.$this->view).'.php'
> );
I think its easier to understand CApplication::findLocalizedFile() from the
source than from the documentation.
Original comment by [email protected]
on 12 Oct 2011 at 1:39
from yii-mail.
I think Issue 13 is related to this:
https://code.google.com/p/yii-mail/issues/detail?id=13
Original comment by [email protected]
on 23 Nov 2011 at 2:45
from yii-mail.
Related Issues (20)
- Use views from the current controller... HOT 1
- Use prefixes HOT 1
- Rename Message to not conflict with other MessageClasses HOT 1
- Enh: Update to SwiftMailer v. 4.0.6 HOT 1
- Sendmail support HOT 1
- Sending emails in CConsoleApplication results in PHP error HOT 1
- YiiMailMessage - bug in __construct HOT 1
- foreach for empty transportOptions HOT 1
- sendSimple
- Add email override option for development/testing
- Theme support HOT 2
- attach function HOT 4
- Outdated swiftMails libs - Does not support certain TLS SMTP - After upgraded libs to Swiftmailer 4.1.5 it works fine HOT 1
- Issue with PHP 5.3+? HOT 1
- Argument 1 passed to Swift_Mailer::send() must implement interface Swift_Mime_Message, instance of YiiMailMessage given,
- Can't use YiiMail to send messages from LogRoute
- Require error if template view is not found
- Error in sendSimple() method
- google code migration issue...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii-mail.