Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8440705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:21:49+00:00 2026-06-10T08:21:49+00:00

The application includes: ASP .NET MVC web app DAL Background Service Library project The

  • 0

The application includes:

  • ASP .NET MVC web app
  • DAL
  • Background Service
  • Library project

The web app and background service projects use the library project to send emails. SMTP settings are included in a config file in the library project itself.

In this scenario, is there a way to bind ELMAH to pick up SMTP settings from the library project? Perhaps if there’s a way to configure ELMAH through code (during Application_Start), it would help achieve what’s intended.

Guidance much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T08:21:50+00:00Added an answer on June 10, 2026 at 8:21 am

    You can configure elmah to post the error report to an HTML address. See this article.

    When you set it to post to that address, you can have whatever back end you want catch it and send the email for you.

    You mentioned you’re using MVC, so you could have elmah post to a controller action that would then send the email, using the SMTP settings from your library project since you’d have access to the references there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET MVC 2 application. Web project contains a reference to SomeProject
I developed an ASP.Net MVC v1 web application and it ran fine on our
I created a new ASP .net mvc 2 web application with that default template
I am trying to build a web application in ASP.NET MVC and need build
First some background, I am currently working on a relatively large Asp.Net MVC application
Like any other ASP.NET application, the web app I'm developing depends on a plethora
I have an existing asp.net web application that I'm updating to include some MVC
I am trying to use the MvcMiniProfiler in my Asp.Net MVC application. I installed
I'm developing a web application using ASP.NET MVC (I'm new to the framework and
I am developing a web application using ASP.NET MVC and using FluentNHibernate for ORM.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.