Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. $options = array_merge($options, array('ssl' => array('allow_self_signed' => true, 'verify_peer' => false)));
  2. if (isset($this->params['stream_context_options'])) {
  3. $options = array_merge($options, $this->params['stream_context_options']);
  4. }
  5.  
  6. swiftmailer:
  7. transport: gmail
  8. username: ***
  9. password: ***
  10. host: localhost
  11. port: 465
  12. encryption: ssl
  13. auth-mode: login
  14. spool: { type: 'memory' }
  15. stream_options:
  16. ssl:
  17. allow_self_signed: true
  18. verify_peer: false
  19. verify_peer_name: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement