Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
ecfabd2d
Commit
ecfabd2d
authored
Aug 12, 2014
by
jkaberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use smtp for z-push
parent
881b693c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
backend_imap.php
conf/zpush/backend_imap.php
+2
-2
No files found.
conf/zpush/backend_imap.php
View file @
ecfabd2d
...
...
@@ -112,7 +112,7 @@ define('IMAP_EXCLUDED_FOLDERS', '');
// mail => mail() php function
// sendmail => sendmail executable
// smtp => direct connection against SMTP
define
(
'IMAP_SMTP_METHOD'
,
'
mail
'
);
define
(
'IMAP_SMTP_METHOD'
,
'
smtp
'
);
global
$imap_smtp_params
;
// SMTP Parameters
...
...
@@ -135,7 +135,7 @@ $imap_smtp_params = array();
//$imap_smtp_params = array('host' => 'localhost', 'port' => 25, 'auth' => false);
// If you want to use SSL with port 25 or port 465 you must preppend "ssl://" before the hostname or IP of your SMTP server
// IMPORTANT: To use SSL you must use PHP 5.1 or later, install openssl libs and use ssl:// within the host variable
//$imap_smtp_params = array('host' => 'ssl://localhost', 'port' => 465
, 'auth' => true, 'username' => 'imap_username', 'password' => 'imap_password');
$imap_smtp_params
=
array
(
'host'
=>
'ssl://localhost'
,
'port'
=>
587
,
'auth'
=>
true
,
'username'
=>
'imap_username'
,
'password'
=>
'imap_password'
);
// If you are using IMAP_SMTP_METHOD = mail or sendmail and your sent messages are not correctly displayed you can change this to "\n".
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment