Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
12345 anikendra 1
<?php
2
/**
3
 *
4
 *
5
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
6
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7
 *
8
 * Licensed under The MIT License
9
 * For full copyright and license information, please see the LICENSE.txt
10
 * Redistributions of files must retain the above copyright notice.
11
 *
12
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
13
 * @link          http://cakephp.org CakePHP(tm) Project
14
 * @package       app.Config
15
 * @since         CakePHP(tm) v 2.0.0
16
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
17
 */
18
 
19
/**
20
 * This is email configuration file.
21
 *
22
 * Use it to configure email transports of CakePHP.
23
 *
24
 * Email configuration class.
25
 * You can specify multiple configurations for production, development and testing.
26
 *
27
 * transport => The name of a supported transport; valid options are as follows:
28
 *  Mail - Send using PHP mail function
29
 *  Smtp - Send using SMTP
30
 *  Debug - Do not send the email, just return the result
31
 *
32
 * You can add custom transports (or override existing transports) by adding the
33
 * appropriate file to app/Network/Email. Transports should be named 'YourTransport.php',
34
 * where 'Your' is the name of the transport.
35
 *
36
 * from =>
37
 * The origin email. See CakeEmail::from() about the valid values
38
 *
39
 */
40
class EmailConfig {
41
 
42
	public $default = array(
43
		'transport' => 'Mail',
44
		'from' => 'you@localhost',
45
		//'charset' => 'utf-8',
46
		//'headerCharset' => 'utf-8',
47
	);
48
 
49
	public $smtp = array(
50
		'transport' => 'Smtp',
51
		'from' => array('site@localhost' => 'My Site'),
52
		'host' => 'localhost',
53
		'port' => 25,
54
		'timeout' => 30,
55
		'username' => 'user',
56
		'password' => 'secret',
57
		'client' => null,
58
		'log' => false,
59
		//'charset' => 'utf-8',
60
		//'headerCharset' => 'utf-8',
61
	);
62
 
63
	public $fast = array(
64
		'from' => 'you@localhost',
65
		'sender' => null,
66
		'to' => null,
67
		'cc' => null,
68
		'bcc' => null,
69
		'replyTo' => null,
70
		'readReceipt' => null,
71
		'returnPath' => null,
72
		'messageId' => true,
73
		'subject' => null,
74
		'message' => null,
75
		'headers' => null,
76
		'viewRender' => null,
77
		'template' => false,
78
		'layout' => false,
79
		'viewVars' => null,
80
		'attachments' => null,
81
		'emailFormat' => null,
82
		'transport' => 'Smtp',
83
		'host' => 'localhost',
84
		'port' => 25,
85
		'timeout' => 30,
86
		'username' => 'user',
87
		'password' => 'secret',
88
		'client' => null,
89
		'log' => true,
90
		//'charset' => 'utf-8',
91
		//'headerCharset' => 'utf-8',
92
	);
93
 
94
}