forked from ProgerXP/MiMeil
/
config-sample.php
46 lines (42 loc) · 1.62 KB
/
config-sample.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
// Save this file as application/config[/env]mimeil.php and all LaMeil instances
// will be automatically accordingly configured.
//
// Keys are names of MiMeil's instance properties (see LaMeil->init()).
return array(
// Either 'Person Name<e@ma.il>' or just 'e@ma.il'.
'from' => 'Example.com Robot<robot@example.com>',
// Return-Path:
'returnPath' => null,
// CC:
'copyTo' => array(),
// BCC:
'bccTo' => array(),
// X-Priority and Importance: 0 (low), 1 (normal), 2 (high).
'priority' => 1,
// Custom message headers ('Header: Content').
'headers' => array(),
// Content-Transfer-Encoding:
'bodyEncoding' => 'base64',
// Content-Type's charset:
// (all listed values are tried in turn before falling back to UTF-8)
'bodyCharsets' => array('cp1251'),
// Always use the first charset name in 'bodyCharsets'.
'forceBodyCharset' => false,
'makeTextBodyFromHTML' => true,
'inlineCSS' => null,
'textBodyFormat' => 'flowed',
// For message headers only.
'headerEOLN' => "\n",
// For message body.
'eoln' => "\n",
// Just for code beauty.
'sortHeaders' => true,
// sendmail's command-line parameters.
'params' => '',
// If true messages won't be actually sent.
'simulate' => Request::is_env('local'),
// If set to a string outgoing .eml's are dumped on this path (useful in
// combination with 'simulate'.
'echoPath' => Request::is_env('local') ? path('storage').'mail' : false,
);