send email falied
See original GitHub issueHello, I’m using the latest ABP0.96 and ABPZERO0.94, the environment. NET4.6.1.
Configure mailbox environment,
//Email settings new SettingDefinition(EmailSettingNames.DefaultFromAddress, "service@dingdangmeiche.com",scopes:SettingScopes.Application), new SettingDefinition(EmailSettingNames.DefaultFromDisplayName, "dingdangmeiche_Service"), new SettingDefinition(EmailSettingNames.Smtp.Host, "smtp.dingdangmeiche.com"), new SettingDefinition(EmailSettingNames.Smtp.Domain, "mail.dingdangmeiche.com"), new SettingDefinition(EmailSettingNames.Smtp.UserName, "service@dingdangmeiche.com"), new SettingDefinition(EmailSettingNames.Smtp.EnableSsl, "false"), new SettingDefinition(EmailSettingNames.Smtp.Password, "pwd3456"), new SettingDefinition(EmailSettingNames.Smtp.Port, "25"), new SettingDefinition(EmailSettingNames.Smtp.UseDefaultCredentials, "false"),
each time the prompt is sent successfully, but are not receiving the message. Can you please look at where I didn’t configure it.
Method called:
await _emailSender.SendAsync("fads@qq.com", "welcome" + DateTime.Now, "<p>你好," + loginModel.UsernameOrEmailAddress + "!</p>");
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (5 by maintainers)
Top GitHub Comments
Hi,
_emailSender is holding default settings of smtp. How can I change?
I was confused, blank project and the Web site of the company of confusing template project. I opened the project template project has given the company, rather than from a website and download a blank project. Template project that is the company “https://www.aspnetzero.com” in the fee templates. I am currently in the learning research.