Copied to clipboard

Flag this post as spam?

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


  • JohnSheridan 9 posts 29 karma points
    Sep 08, 2010 @ 11:45
    JohnSheridan
    0

    Email Notifcation (on localhost)

    Hi Experts,

    I am using umbraco 4.5.1 and the runway module as base for learning.

    Now I have managed it to implementend an article system, where the writer can create and save new article, and the editor can publish it -)

    At least I want to be notifed per email, when the writer calls "send to publish". So I have added a notification on the main node of the article tree (send to publish). Next I set the email settings (smtp settings) in the web.config to my email provider.

    But if the writer calls "send to publish" I get no email notification.

    Note: I am using an installation on a localhost.

    Is there any setting for email notification I have forgotten?

    Many thanks in advance and best regards

    John

     

  • Seth Niemuth 275 posts 397 karma points
    Sep 08, 2010 @ 11:49
    Seth Niemuth
    0

    I would check your umbraco logs, as if there is a problem with the server then it will let you know there. You can view the logs in the database (I believe the table is called umbracoLog) or there are a couple of packages to view the logs in the backend: http://our.umbraco.org/projects/developer-tools/log-managerhttp://our.umbraco.org/projects/developer-tools/falm-housekeeping

  • JohnSheridan 9 posts 29 karma points
    Sep 08, 2010 @ 17:10
    JohnSheridan
    0

    Hi Seth,

    many thanks for your link to the packages, they are very helpful -)

    housekeeping shows following error:

    Error in notification: System.ArgumentException: The parameter 'to' cannot be an empty string. Parameter name: to at System.Net.Mail.MailMessage..ctor(String from, String to) at umbraco.cms.businesslogic.workflow.Notification.sendNotification(User performingUser, User mailingUser, Document documentObject, IAction Action) at umbraco.cms.businesslogic.workflow.Notification.GetNotifications(CMSNode Node, User user, IAction Action)

     

    Where must I set the to parameter? Is it not enough to set the smtp settings in the web.config?

    many thanks in advance and best regards

    John

  • Seth Niemuth 275 posts 397 karma points
    Sep 08, 2010 @ 17:12
    Seth Niemuth
    0

    Oh, is your email set for your user in the user section?

  • JohnSheridan 9 posts 29 karma points
    Sep 08, 2010 @ 17:26
    JohnSheridan
    0

    yes, the email is set in the user section.

    The article writer user has the same email like the administrator.

    So I changed the email to another email address and it works now.

    Many thanks for your great help

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies