Tuesday, May 15, 2012

Feature: Email Business Rules

Integrated email notifications are an absolute necessity in line-of-business web applications.

Developer can define Email Business Rules in application data controllers.

image_thumb[43]

Email notifications will be sent out automatically in response to user actions.

Here is the sample script of an email business rule.

Host: smtp.gmail.com
Port: 587
UserName: YOUR_EMAIL_ADDRESS@gmail.com
Password: PASSWORD
EnableSSL: true

From: "Sales Admin" <YOUR_EMAIL_ADDRESS@gmail.com>
To: RECEIPIENT@northwind.com
Subject: Customer "{CompanyName}" has been signed up!

Please call {ContactName}, {ContactTitle} at {Phone} to make introductions.

Northwind,
Administrator

Create a new customer record in Northwind sample.

Adding a new customer record in Northwind sample created with Code On Time web application generator for ASP.NET, Windows Azure, DotNetNuke, and Microsoft SharePoint

The recipient specified in the email business rule will receive a message. This is how the notification message may look in Gmail.

image

Learn more about Email Business Rules now!

No comments:

You can find more about Code OnTime Generator, Data Aquarium Framework, and other great products here.


© 2010 Code OnTime LLC. Intelligent code generation software for ASP.NET. Visit us at http://codeontime.com