Open DivineHeir opened 7 years ago
Can you please check how to do syntax highlighting here: https://guides.github.com/features/mastering-markdown/#syntax and paste your code again. This is impossible to read.
I pasted the code by removing some comments. sorry that it was too messy.
same problem, no error mesages , no email
ajax framework not working
Expected behavior
(Describe expected behavior here) successful sending out email to designated email through contact form
Actual behavior
(Describe actual behavior here) no error msg after having clicked on "send message". Designated email did not receive msg from contact form.
Reproduce steps
(Describe the steps to reproduce the problem here)
October build
(October build number) latest version
<?php
return [
'driver' => 'smtp',
'host' => 'smtp.gmail.com',
'port' => 587,
'from' => ['address' => 'someemail@gmail.com', 'name' => 'Octobercms'],
'encryption' => 'tls',
'username' => 'someemail@gmail.com',
'password' => 'somepassword',
'sendmail' => '/usr/sbin/sendmail -bs',
'to' => [
'pretend' => false,
];