Skip to content

Conversation

@podolinek
Copy link
Contributor

you can add param context for more specific configuration, eg.
mail:
smtp: true
...
secure: ssl
context:
ssl:
verify_peer: false
verify_peer_name: false

  • bug fix? no
  • new feature? yes
  • BC break? no
  • doc PR: none

added support for context param in config.neon

you can add param context for more specific configuration, eg.
mail:
	smtp: true
	...
	secure: ssl
	context:
		ssl:
			verify_peer: false
			verify_peer_name: false
@f3l1x
Copy link
Member

f3l1x commented Jun 16, 2017

Hi. Thank you.

What is the context parameter for?

@Majkl578
Copy link

It's meant for configuring the resource used in SMTP mailer. https://github.com/nette/mail/blob/a162d6f/src/Mail/SmtpMailer.php#L63

@dg
Copy link
Member

dg commented Jun 19, 2017

Thanks

@dg dg merged commit 0b94bda into nette:master Jun 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants