Notify Users by Email

Posted by Community Admin on 03-Aug-2018 17:20

Notify Users by Email

All Replies

Posted by Community Admin on 24-Nov-2010 00:00

Hi,

Notify users by email when an item is waiting for thier approval does not work.

A page workflow is setup and checked to notify, the workflow is activated immediately.

In the system SMTP settings two accounts were tested both never received notifications, is this a partial implementation or configurations missed.


** Please ignore the emails are now being sent, a DefaultSenderEmailAddress was required.

Regards,

Neil

Posted by Community Admin on 24-Nov-2010 00:00

Hi,


Now the emails are set up the message leaves a lot to the imagination how can this default message be updated to included page details, ideally a hyperlink to the page itself?

Best Regards,

Neil

Posted by Community Admin on 25-Nov-2010 00:00

Hello Neil,

We are happy to see that you have been able to resolve the issue with e-mails being sent out.

Unfortunately the Workflow in Sitefinity 4.0 RC does not allow for much customization of the notifications being sent out. We have it on the plan to improve this (WorkItem ID#76425) so that you can modify the built in Workflow definitions as sampled in Ivan's blog post. This should be also available in Standard Edition as it will not involve creating custom workflow but rather modifying the built in ones.

Kind regards,
Radoslav Georgiev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 09-Jun-2011 00:00

Hi Radoslav –

We're working on a new deployment of SF 4.1– has this ability to customize notifications been included yet in the 4.1 release? If not, can you provide some code examples/samples of how to go about coding for this. Niel's earlier question is right along what we're interested in doing: custom email subject text, custom body message text, included page/content link to be reviewed/approved, etc.

Thanks,

Ben

Posted by Community Admin on 13-Jun-2011 00:00

Hi Ben,

You should modify the woflow templates. I am sending you the default one and you should customize NotifyStateChanger EmailText. Then you have to map customized templates through Sitefinity/Administration/Settings/Advanced >> Workflows. We use Windows Workflow Foundation and these are the XAML files that you can modify in Visual Studio or another XML editor.

You need to implement a method  that returns true and add it inside the xaml

public virtual bool NotfiyForNewItem(string name)
      
           EmailSender sen = EmailSender.Get();
           sen.Send(new MailMessage(new MailAddress("mail"), new MailAddress("imail")));
           return true;
      



Greetings,
Ivan Dimitrov
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed