How are you ?, maybe someone around here had the same problem when sending an email configuring an email account created in hostgator for which I have the following in my application
'EmailTransport' => [
'default' => [
'className' => 'Mail',
// The following keys are used in SMTP transports
'host' => 'localhost',
'port' => 25,
'timeout' => 30,
'username' => 'user',
'password' => 'secret',
'client' => null,
'tls' => null,
'url' => env('EMAIL_TRANSPORT_DEFAULT_URL', null),
],
'nuevostyle'=>[
'className' => 'Smtp',
'host' => 'gator4230.hostgator.com',
'port' => 587,
'timeout' => 60,
'user' => '[email protected]',
'password' => 'xxxxxxx',
'tls' => true
],
'Email' => [
'default' => [
'transport' => 'default',
'from' => 'you@localhost',
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
],
'nuevostyle-profile' => [
'transport' => 'nuevostyle',
'from' => '[email protected]',
'charset' => 'utf-8'
]
],
When I send it, it shows me the following error
SMTP Error: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) Cake \ Network \ Exception \ SocketException Documentation API If you want to customize this error message, create src \ Template \ Error \ error500.ctp
Maybe I'm missing something more help please Thank you!