Hello ,
published the project and ran test email under email tab
it throws an internal server error says 500
<a class="postlink" href="http://localhost:6240/api/services/app/">http://localhost:6240/api/services/app/</a> ... dTestEmail
when i click on this link it shows
{"message":"An error has occurred.","exceptionMessage":"There is an action SendTestEmail defined for api controller app/hostSettings but with a different HTTP Verb. Request verb is GET. It should be Post","exceptionType":"Abp.AbpException","stackTrace":" at Abp.WebApi.Controllers.Dynamic.Selectors.AbpApiControllerActionSelector.GetActionDescriptorByActionName(HttpControllerContext controllerContext, DynamicApiControllerInfo controllerInfo, String actionName) in D:\Halil\GitHub\aspnetboilerplate\src\Abp.Web.Api\WebApi\Controllers\Dynamic\Selectors\AbpApiControllerActionSelector.cs:line 103\r\n at Abp.WebApi.Controllers.Dynamic.Selectors.AbpApiControllerActionSelector.SelectAction(HttpControllerContext controllerContext) in D:\Halil\GitHub\aspnetboilerplate\src\Abp.Web.Api\WebApi\Controllers\Dynamic\Selectors\AbpApiControllerActionSelector.cs:line 56\r\n at System.Web.Http.ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n at Castle.Proxies.DynamicApiController1Proxy_6.ExecuteAsync_callback(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n at Castle.Proxies.Invocations.ApiController_ExecuteAsync_6.InvokeMethodOnTarget()\r\n at Castle.DynamicProxy.AbstractInvocation.Proceed()\r\n at Abp.WebApi.Controllers.Dynamic.Interceptors.AbpDynamicApiControllerInterceptor
1.Intercept(IInvocation invocation) in D:\Halil\GitHub\aspnetboilerplate\src\Abp.Web.Api\WebApi\Controllers\Dynamic\Interceptors\AbpDynamicApiControllerInterceptor.cs:line 57\r\n at Castle.DynamicProxy.AbstractInvocation.Proceed()\r\n at Castle.Proxies.DynamicApiController`1Proxy_6.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.
10 Answer(s)
-
0
Hi,
Try to send email via the program below. It is an arbitral application to see if your configuration is correct or not.
Download Email Test Application
.
-
0
-
0
Hi @avanekar02,
I dont know why this does not work. The username in screenshot misses starting i letter. It is "[email protected]", I think it should be "[email protected]". Also try to select authanticated checkbox.
Can you send email using this credentials in any other program ?
Thanks.
-
0
Hello ,
please note that the smtp prober works fine with my configuration but when i put the same configuration in the smtp emails settings , it says emai sent successfully but email dows not show up in gmail
regards Anwar
-
0
i also changed email to : <a href="mailto:[email protected]">[email protected]</a> but still it just shows test email sent successfully.
Regards Anwar
<cite>avanekar02: </cite> Hello ,
please note that the smtp prober works fine with my configuration but when i put the same configuration in the smtp emails settings , it says emai sent successfully but email dows not show up in gmail
regards Anwar
-
0
Hi,
Because in debug mode, AspNet Zero does not send emails, it writes email content to log file. You cam try to run your app in release mode or you can publish it to local IIS.
Thanks.
-
0
-
0
Hi @avanekar02,
We can arrange a short Team Viewer meeting for tomorrow. Please write your available time to <a href="mailto:[email protected]">[email protected]</a>.
We are available between 09:00 to 16:00 UTC +3.
Thanks.
-
0
Hi,
I am also getting the same error. What's the resolution. I already have checked my gmail credentials and all fine....
-
0
Hi @pankajmathur,
Which version of ABP do you use in your project ?
Thanks.