Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dimitris Papadimitriou 14 posts 34 karma points
    Nov 07, 2011 @ 23:13
    Dimitris Papadimitriou
    0

    Email dispatching fails without error in umbracoLog table

    Hi!

    An email is supposed to be dispatched when a form of mine is submitted. The email is not dispatched and I get no error in the umbracoLog table in database. How can I know what is going on?

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Nov 08, 2011 @ 13:50
    Tim
    1

    Hiya,

    You need to look at the SMTP logs for your server and the mail settings for the site. Your mail server settings are usually in the web.config file of the site.

    Check that the details are correct, and then check the SMTP folder on your server for queued or failed/dropped messages. If there's nothing there, then you need to look at the actual log files to see if the emails are logged there.

    In general:

    • no records in the SMTP logs indicates that the wrong SMTP details are being used in web.config
    • no smtp logs orfolders indicates that SMTP mail is not configured at all on your machine
    • mails in the badmail folder or stuck in the queue folder of the SMTP folders often indicates a problem with the configuration of the SMTP on the server (it isn't allowed to relay mail for your website for example)
    Administering and troubleshooting SMTP mail on a server can be quite in depth, and varies slightly depending on what OS you are using. If you google your server's os and "smtp mail" you should get some useful stuff, you can filter it down by more specific things like setup and troubleshooting.
    If you're running on your local machine, you may not even have SMTP services available to use (again, dependant on your OS). If this is the case you can set email to go to a drop folder, so you can verify that they are at least being handled: http://www.singular.co.nz/blog/archive/2007/11/28/using-an-smtp-pickup-directory-delivery-method-for-asp-net-development.aspx
    Hope that helps!
    :)
Please Sign in or register to post replies

Write your reply to:

Draft