samedi 9 janvier 2016

Yii2 send using SMS

Vote count: 0

Hi i using Twilio to send notification to sms...but i got this error..i already searching to fix this problem but not find a solution..

Error Message:

Services_Twilio_TinyHttpException

SSL certificate problem: self signed certificate in certificate chain

backend\config\main:

'components' => [
    ...
    'sms' => [
        'class' => 'darkunz\yii2sms\Twilio',
        'sid' => '**********'
        'token' => '********',
        'number' => '*********',
    ]
    ...
]

in controller:

Yii::$app->sms->send('+612345678910', 'Hi');

i hope anyone who knows can help me to fix it...

asked 2 mins ago

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.



Yii2 send using SMS

Aucun commentaire:

Enregistrer un commentaire