>

<h2>Using Yaml type provider from F# scripts</h2>

<p>Create a <code>Config.yaml</code> file like this:</p>

<pre lang="yaml">Mail:
    Smtp:
        Host: smtp.sample.com
        Port: 25
        User: user1
        Password: pass1
    Pop3:
        Host: pop3.sample.com
        Port: 110
        User: user2
        Password: pass2
        CheckPeriod: 00:01:00
    ErrorNotificationRecipients:
        - user1@sample.com
        - user2@sample.com
DB:
    ConnectionString: Data Sour