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

Use Default Credentials #8903


User avatar
0
murat.yuceer created

Hello, If Abp.Net.Mail.Smtp.UseDefaultCredentials settings is true (what is default i dont know and where is defined?), if so from where abp try to get mail settings?


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Yes it's true by default. (https://aspnetboilerplate.com/Pages/Documents/Email-Sendin)

    Please refer to the source code of abp framework.

    https://github.com/aspnetboilerplate/aspnetboilerplate/blob/e0ded5d8702f389aa1f5947d3446f16aec845287/src/Abp/Net/Mail/EmailSettingProvider.cs#L23

    https://github.com/aspnetboilerplate/aspnetboilerplate/blob/e0ded5d8702f389aa1f5947d3446f16aec845287/src/Abp/Net/Mail/Smtp/SmtpEmailSender.cs#L39

    https://github.com/aspnetboilerplate/aspnetboilerplate/blob/e0ded5d8702f389aa1f5947d3446f16aec845287/src/Abp/Net/Mail/Smtp/SmtpEmailSenderConfiguration.cs#L65 https://github.com/aspnetboilerplate/aspnetboilerplate/blob/6e6cbc1f5f2a3266e352f8b709626094a1dc0f2a/src/Abp.MailKit/DefaultMailKitSmtpBuilder.cs#L43

  • User Avatar
    0
    murat.yuceer created

    Thank you mailmin i understand