Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bobi 352 posts 956 karma points
    May 08, 2018 @ 21:48
    Bobi
    0

    SMTP server vs Web Service

    Hi,

    I have read suggestions on here for smtp services (sendgrid and mailgun), but if you were to integrate these using the api's as web services, how do you use them with umbraco forgot password, since the web.config, and umbracosettings.config assume an smtp setup?

    What would be your web service host name / server...usually it is smtp.sendgrid.something (example).

  • Garðar Þorsteinsson 118 posts 564 karma points
    May 08, 2018 @ 23:20
    Garðar Þorsteinsson
    0

    Hi Bobi,

    Not sure if this is what you mean but here it goes.

    <system.net>
        <mailSettings>
            <smtp from="[email protected]">
                <network host="smtp.sendgrid.net" port="587" userName="XXX" password="XXX" />
            </smtp>
        </mailSettings>
    </system.net>
    

    The forgot password will be sent from the email address configured in the "from" attribute.

    This is an configuration you have inside web.config

    Hope it helps

Please Sign in or register to post replies

Write your reply to:

Draft