Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Email Configuration Setting Changed #312


User avatar
0
thobiasxp created

Hi

I want to change the Default Email Configuration Setting in Module Zero Project....How can i change it.....where the Email configuration setting are mentiond.Reply ASAP.

Thanks & Regards Mugesh.R


4 Answer(s)
  • User Avatar
    0
    thobiasxp created

    Hi

    Waiting for your valuable reply....I need to change the EMail Configuration....Reply ASAP.

    Thanks

  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    Email settings are defined in the ABP framework (here: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/master/src/Abp/Net/Mail/EmailSettingProvider.cs">https://github.com/aspnetboilerplate/as ... rovider.cs</a>).

    (I assume that you are using AspNet Zero since you have purchased it before)

    You can change it on UI, in the settings page easily.

    But if you want to set default values, so it's set by default in a new deployment, then you can add a seed code to EF migration. Setting names are here: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/master/src/Abp/Net/Mail/EmailSettingNames.cs">https://github.com/aspnetboilerplate/as ... ngNames.cs</a>

    So, for example, you can add an entity to AbpSettings table (to YourDbContext.Settings) with name = "Abp.Net.Mail.Smtp.UserName" and value = "your-name".

  • User Avatar
    0
    thobiasxp created

    Hi,

    It's Worked...Thank You So Much......

  • User Avatar
    0
    hikalkan created
    Support Team

    You're welcome.

    You can also ask to premium forum (<a class="postlink-local" href="http://forum.aspnetboilerplate.com/viewforum.php?f=5">viewforum.php?f=5</a>) when it's urgent.

    Thanks.