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.
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.