Copied to clipboard

Flag this post as spam?

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


  • Mihir Ajmera 32 posts 143 karma points
    Aug 07, 2019 @ 12:07
    Mihir Ajmera
    0

    Override SMTP Setting of Web.Config mail setting with Content Page SMTP

    Hello All,

    Can anyone have an idea of how to use SMTP mail configuration from the content page STMP other than Web.Config file

      <smtp from="[email protected]">
        <network host="127.0.0.1" userName="username" password="password" />
      </smtp>
    </mailSettings>
    

    I don`t use about the configuration to send mail but I make custom mail sender class which I get value from the content page.

    So If you anyone idea about how to override web.config SMTP setting with SMTP content page?

    Using this If in future any SMTP setting I want to update then I don`t go on web.config file and change setting.

    Thanks in Advance.

Please Sign in or register to post replies

Write your reply to:

Draft