cornernote / yii-email-module

Email system with templates and email queuing.
https://cornernote.github.io/yii-email-module/
Other
20 stars 15 forks source link

Class email.EmailModule does not exist #11

Closed iceman2hot4u closed 8 years ago

iceman2hot4u commented 8 years ago

So, I installed the module but I get this error when I'm trying to access 'www.mysite.com/email'.

My main.php config for the email module is:

'aliases' => array( 'vendor' => '/../../vendor', 'email' => 'vendor/cornernote/yii-email-module/email', ), 'modules' => array( 'email' => array( 'class' => 'email.EmailModule', 'adminUsers' => array('@'), 'autoCreateTables' => true, 'connectionID' => 'db', ), ),

I am using Yii2 Advanced Template.

Do you have any idea why I have this error?

cornernote commented 8 years ago

This module is for yii1

On 24 Jun 2016 8:32 pm, "Alexandru Coman" notifications@github.com wrote:

So, I installed the module but I get this error when I'm trying to access ' www.mysite.com/email'.

My main.php config for the email module is:

'aliases' => array( 'vendor' => '/../../vendor', 'email' => 'vendor/cornernote/yii-email-module/email', ), 'modules' => array( 'email' => array( 'class' => 'email.EmailModule', 'adminUsers' => array('@'), 'autoCreateTables' => true, 'connectionID' => 'db', ), ),

I am using Yii2 Advanced Template.

Do you have any idea why I have this error?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cornernote/yii-email-module/issues/11, or mute the thread https://github.com/notifications/unsubscribe/AADKo22u2WfAa39y5NqgmMu2b5wpRpGBks5qO7legaJpZM4I9q7f .

iceman2hot4u commented 8 years ago

Oh, I'm stupid. Thank you.

cornernote commented 8 years ago

No problem, I found yii2 has pretty good built in email functionality so I haven't ported this

On 24 Jun 2016 8:41 pm, "Alexandru Coman" notifications@github.com wrote:

Closed #11 https://github.com/cornernote/yii-email-module/issues/11.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cornernote/yii-email-module/issues/11#event-703067059, or mute the thread https://github.com/notifications/unsubscribe/AADKo8I9iOwQLO2wJZpe-eIvsJoS29liks5qO7t3gaJpZM4I9q7f .

iceman2hot4u commented 8 years ago

I know. I was looking for something with an UI. Guess I need to make it myself. Thank you.

cornernote commented 8 years ago

A UI for managing the templates? I prefer them to be php, but being mustache in the db was good because users could modify them... Maybe I'll reconsider porting this at some stage

On 24 Jun 2016 8:49 pm, "Alexandru Coman" notifications@github.com wrote:

I know. I was looking for something with an UI. Guess I need to make it myself. Thank you.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cornernote/yii-email-module/issues/11#issuecomment-228320704, or mute the thread https://github.com/notifications/unsubscribe/AADKoyRbPCrBRLP-mkgw6QZd8e0oKgMSks5qO71EgaJpZM4I9q7f .

iceman2hot4u commented 8 years ago

Yes. I need to make an UI for managing the templates. I will make them php and add some available variables so that the user can modify them.

cornernote commented 8 years ago

Storing php in the database rings security alarms in my head. I recommend using mustache or some other template language

On 24 Jun 2016 11:52 pm, "Alexandru Coman" notifications@github.com wrote:

Yes. I need to make an UI for managing the templates. I will make them php and add some available variables so that the user can modify them.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cornernote/yii-email-module/issues/11#issuecomment-228358983, or mute the thread https://github.com/notifications/unsubscribe/AADKowYy_bb6yX2RTz_8O-DkHpn8ot2qks5qO-gIgaJpZM4I9q7f .