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 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?
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
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-manager, http://our.umbraco.org/projects/developer-tools/falm-housekeeping.
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
Oh, is your email set for your user in the user section?
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
is working on a reply...