-->

Bonobo Git Server SMTP Settings

2019-05-10 13:13发布

问题:

I have Bonobo Git Server version 3.6 installed on my Win 7 PC. Today, I tried on forgotten password, but it popup error message saying Unable to send email. Validate SMTP settings..

How & where can I set the SMTP settings?

回答1:

Bonobo uses standard .NET smtp settings.

These can be specified in the web.config for your Bonobo-installation.

You can read the details here , but basically you should add a <mailSettings> group under configuration\system.net

The following is a working albeit simple example. It is possible to use any smtp server and as you can read in the link, it is also possible to provide a variety of security settings.

<system.net>
    <mailSettings>
        <smtp deliveryMethod="network" from="bonobo@bonoserver.your.domain">
            <network 
                host="accessible.smtp.host"
                port="25"
                />
        </smtp>
    </mailSettings>
</system.net>

More details about the network element here.