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
SMTP START TLS #6511
Comments
Show the configuration you are using. |
Below is my smtp configuration code public $smtp = array(
'transport' => 'Smtp',
'from' => array('audit.tool@ccscleaning.com' => 'My Site'),
'host' => 'mail.securesuite.io',
'port' => 587,
//'timeout' => 30,
'username' => 'audit.tool@ccscleaning.com',
'password' => 'secret',
'client' => null,
'log' => false,
'tls' =>false,
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
); |
Since your smtp server expects |
So how can I ignore that issue. The smtp is enbled with tls. So I have to set TLS. Can you suggest the code I would follow. From same server I managed to send smtp mail but not with cakeemail. |
You can't just ignore it. Set |
I have tried with tls true. It still shows |
What mailserver are you using? The current TLS code was developed against gmail and I've used it with postfix in the past. |
We can probably close this as for all others and those email providers it works fine. |
Hi I am trying to set up smtp configuration in cakeemail. When I use phpmailer class it runs perfectly but in case of cakephp 2 it shows "SMTP Error: 530 5.7.0 Must issue a STARTTLS command first" issue.
I can't figure out the solution.
Please suggest me with a solution if possible.
The text was updated successfully, but these errors were encountered: