rohmann / global-smtp

WordPress Global SMTP
62 stars 27 forks source link

Introducing "no auth" + better Composer #17

Open enricodeleo opened 8 years ago

enricodeleo commented 8 years ago

If you're using tools like mailcatcher (or any fake smtp tool) you need to use unauthenticated smtp. With #master it didn't worked (maybe a space was automatically append to the global var, dunno) so I introduced a simple if that did the job.

Furthermore, I changed composer.json since I found more useful a non must-use plugin in case someone uses, for example, ssmtp in production and doesn't need this plugin to be active.