Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Added new option GLOBAL_SMTP_AUTH #18

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/nbproject/private/
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,22 @@ First install as a WordPress pluing. Optionally, you could install as a "must us

Once the plugin is installing installed, add the constants to `wp-config.php`

The minimum requirement is setting the host, username, and password. Everything else will be assumed from some defaults.
The minimum requirement is setting the host, username, and password (if authentication is needed). Everything else will be assumed from some defaults.

```
define('GLOBAL_SMTP_HOST','mail.example.com');
define('GLOBAL_SMTP_AUTH','true');
define('GLOBAL_SMTP_USER','[email protected]');
define('GLOBAL_SMTP_PASSWORD','password');
```

or

```
define('GLOBAL_SMTP_HOST','mail.example.com');
define('GLOBAL_SMTP_AUTH','false');
```

Assumed defaults:
* From and From Name: WordPress defaults (or possibly overriden by your mail server)
* Port -> 587
Expand Down
5 changes: 5 additions & 0 deletions buildZipWP.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

zip -FSrq global-smtp . -x "nbproject/*" ".*" "*.sh" "*.md"


Loading