So i recently upgraded to passbotl v2 community edition and than to the pro edition however my email does not work.
When i use the email troubleshoot programm it shows this:
[250] PIPELINING
[250] SIZE 124***************
[250] VRFY
[250] ETRN
[250] STARTTLS
[250] ENHANCEDSTATUSCODES
[250] 8BITMIME
[250] DSN
A test email could not be sent.
Error: SMTP Error: 503 5.5.1 Error: authentication not enabled
However it worked perfect on v1 so heres my config from v1:
class EmailConfig {
public $default = array(
'transport' => 'Smtp',
'from' => array('vault@hostingforyou.nl' => 'Passbolt'),
'host' => 'localhost',
'port' => 25,
'timeout' => 30,
'tls' => false,
'log' => true
);
heres my config from v2:
âEmailTransportâ => [
âdefaultâ => [
âclassNameâ => env(âEMAIL_TRANSPORT_DEFAULT_CLASS_NAMEâ, âSmtpâ),
// The following keys are used in SMTP transports
âhostâ => env(âEMAIL_TRANSPORT_DEFAULT_HOSTâ, âlocalhostâ),
âportâ => env(âEMAIL_TRANSPORT_DEFAULT_PORTâ, 25),
âtimeoutâ => env(âEMAIL_TRANSPORT_DEFAULT_TIMEOUTâ, 30),
âclientâ => env(âEMAIL_TRANSPORT_DEFAULT_CLIENTâ, null),
âtlsâ => env(âEMAIL_TRANSPORT_DEFAULT_TLSâ, false),
âurlâ => env(âEMAIL_TRANSPORT_DEFAULT_URLâ, null),
],
âDebugâ => [
âclassNameâ => âDebugâ
],
],
What i have tried:
-leaving tls on null instead of false
-using username and password null
-deleting the options username and password
/**
* Email delivery profiles
*
* Delivery profiles allow you to predefine various properties about email
* messages from your application and give the settings a name. This saves
* duplication across your application and makes maintenance and development
* easier. Each profile accepts a number of keys. See `Cake\Mailer\Email`
* for more information.
*/
'Email' => [
'default' => [
'transport' => env('EMAIL_DEFAULT_TRANSPORT', 'default'),
'from' => env('EMAIL_DEFAULT_FROM', 'vault@hostingforyou.nl'),
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
],
Checklist
[ x] I have read intro post: About the Installation Issues category
[ x] I have read the tutorials, help and searched for similar issues
[ x] I provide relevant information about my server (component names and versions, etc.)
[ ] I provide a copy of my logs and healthcheck
[ ]x I describe the steps I have taken to trouble shoot the problem
[ x] I describe the steps on how to reproduce the issue