Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow using SMTP without user or password #59

Merged
merged 2 commits into from
Feb 25, 2015
Merged

Allow using SMTP without user or password #59

merged 2 commits into from
Feb 25, 2015

Conversation

neandrake
Copy link
Contributor

I run an SMTP server that allows anything internal to the network to send emails without providing credentials. This change no longer relies on the PHP mail function instead continues to use the CakeEmail but does not define the username or password for the smtpOptions. This allows for using and SMTP server that does not require credentials to be used. In order to use this, in the constants.php file you should comment out (or remove) the define for SMTP_PWORD.

I also added a .gitignore file to ignore locations within the repo where files are modified/updated while running the service. The logs and file attachments do not need to be part of the repository.

We should change the database.php and constants.php files to be something like database.sample.php and constants.sample.php, then as part of install instructions, have users rename those files and modify them. Then we can .gitignore system-specific configurations.

@neandrake
Copy link
Contributor Author

@Orangescrum Do you accept pull requests or would you rather I create an Issue?

@Orangescrum
Copy link
Collaborator

Thanks for the effort.
Currently we are not accepting pull request.
But, we will test this code and merge manually in the next release.

Orangescrum pushed a commit that referenced this pull request Feb 25, 2015
Allow using SMTP without user or password
@Orangescrum Orangescrum merged commit 3248fe4 into Orangescrum:master Feb 25, 2015
@Orangescrum Orangescrum mentioned this pull request Mar 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants