| 13532 |
anikendra |
1 |
<?php
|
|
|
2 |
class EmailConfig{
|
|
|
3 |
public $signMeUp = array(
|
|
|
4 |
'activation_field' => 'activation_code',
|
|
|
5 |
'useractive_field' => 'active',
|
|
|
6 |
'login_after_activation' => false,
|
|
|
7 |
'welcome_subject' => 'Welcome',
|
|
|
8 |
'activation_subject' => 'Please Activate Your Account',
|
|
|
9 |
'password_reset_field' => 'password_reset',
|
|
|
10 |
'username_field' => 'username',
|
|
|
11 |
'email_field' => 'email',
|
|
|
12 |
'email_layout' => 'default',
|
|
|
13 |
'password_field' => 'password',
|
| 14509 |
anikendra |
14 |
'from' => "help@profitmandi.com",
|
| 13532 |
anikendra |
15 |
'layout' => 'default',
|
| 14509 |
anikendra |
16 |
'welcome_subject' => 'Welcome to ProfitMandi.com %username%!',
|
|
|
17 |
'activation_subject' => 'Activate Your ProfitMandi.com Account %username%!',
|
| 13532 |
anikendra |
18 |
'sendAs' => 'text',//html
|
|
|
19 |
'activation_template' => 'activate',
|
|
|
20 |
'welcome_template' => 'welcome',
|
|
|
21 |
'password_reset_template' => 'forgotten_password',
|
|
|
22 |
'password_reset_subject' => 'Password Reset Request',
|
|
|
23 |
'new_password_template' => 'recovered_password',
|
|
|
24 |
'new_password_subject' => 'Your new Password',
|
|
|
25 |
'transport' => 'Smtp',
|
| 14509 |
anikendra |
26 |
'from' => array('help@profitmandi.com' => 'Admin at ProfitMandi'),
|
| 13714 |
anikendra |
27 |
'host' => 'smtp.sendgrid.com',
|
| 13532 |
anikendra |
28 |
'port' => 587,
|
|
|
29 |
'timeout' => 30,
|
|
|
30 |
'layout' => 'default',
|
| 20416 |
amit.gupta |
31 |
'username' => 'apikey',
|
|
|
32 |
'password' => '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',
|
| 13532 |
anikendra |
33 |
);
|
|
|
34 |
|
|
|
35 |
public $smtp = array(
|
|
|
36 |
'transport' => 'Smtp',
|
| 14509 |
anikendra |
37 |
'from' => array('help@profitmandi.com' => 'Admin at ProfitMandi'),
|
| 13714 |
anikendra |
38 |
'host' => 'smtp.sendgrid.net',
|
| 13532 |
anikendra |
39 |
'port' => 587,
|
|
|
40 |
'timeout' => 30,
|
|
|
41 |
'layout' => 'default',
|
| 20416 |
amit.gupta |
42 |
'username' => 'apikey',
|
|
|
43 |
'password' => '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',
|
| 13532 |
anikendra |
44 |
'client' => null,
|
|
|
45 |
'log' => false,
|
| 14509 |
anikendra |
46 |
'tls' => false,
|
|
|
47 |
'sendAs' => 'html',
|
| 13532 |
anikendra |
48 |
//'charset' => 'utf-8',
|
|
|
49 |
//'headerCharset' => 'utf-8',
|
|
|
50 |
);
|
|
|
51 |
}
|