Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $options = array_merge($options, array('ssl' => array('allow_self_signed' => true, 'verify_peer' => false)));
- if (isset($this->params['stream_context_options'])) {
- $options = array_merge($options, $this->params['stream_context_options']);
- }
- swiftmailer:
- transport: gmail
- username: ***
- password: ***
- host: localhost
- port: 465
- encryption: ssl
- auth-mode: login
- spool: { type: 'memory' }
- stream_options:
- ssl:
- allow_self_signed: true
- verify_peer: false
- verify_peer_name: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement