binbin4649 / bbm

0 stars 3 forks source link

send mail, not work. #91

Closed binbin4649 closed 10 years ago

binbin4649 commented 10 years ago

[vagrant@localhost bbm]$ cd app/Console/ [vagrant@localhost Console]$ sudo ./cake change_state result_send_mail_author

Welcome to CakePHP v2.4.10 Console

App : app

Path: /var/www/bbm/app/

Error: SMTP server did not accept the connection or trying to connect to non TLS SMTP server using TLS.

0 /var/www/bbm/lib/Cake/Network/Email/SmtpTransport.php(59): SmtpTransport->_connect()

1 /var/www/bbm/lib/Cake/Network/Email/CakeEmail.php(1121): SmtpTransport->send(Object(CakeEmail))

2 /var/www/bbm/app/Console/Command/Task/ResultSendMailTask.php(21): CakeEmail->send('It is now time ...')

3 /var/www/bbm/app/Console/Command/ChangeStateShell.php(18): ResultSendMailTask->exacute()

4 /var/www/bbm/lib/Cake/Console/Shell.php(437): ChangeStateShell->result_send_mail_author()

5 /var/www/bbm/lib/Cake/Console/ShellDispatcher.php(207): Shell->runCommand('result_send_mai...', Array)

6 /var/www/bbm/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()

7 /var/www/bbm/app/Console/cake.php(36): ShellDispatcher::run(Array)

8 {main}


And, yum -y install mod_ssl make server.crt vi /etc/httpd/conf.d/ssl.conf

Etc., I tried to do, but it does not work. Please tell me the way.

binbin4649 commented 10 years ago

I wonder if wrong, the setting of ssl? Please tell me the detailed recipe.

shivram2609 commented 10 years ago

I will tell you some changes need to make on call tomorrow and your emails will start working again.

binbin4649 commented 10 years ago

OK, and, I will reply here.

binbin4649 commented 10 years ago

Review the settings, it has been resolved.