Archive

Posts Tagged ‘smtp’

Email Notification in FileNet P8

September 13, 2016 Comments off

It’s been a while I was away from the Blog, so here it is what I have today based on few of the email requests; I am trying to familiarize all the developers out there about the Email Notification facility present in FileNet and how do we enable & configure this feature in order to send out an email to the intended users based on the reminders we have set or on initiation of any step that we might have configured.

With the help of Email Notification, the workflow can be set to send email to the intended users. The Notification can be sent on completion of any step, the reminder mails and also for deadlines.

To use this facility, system must have access to SMTP (Simple Mail Transfer Protocol) server and also Email Notification parameters needs to be configured and enabled. Also we have to create Email Notification template and user preference needs to be set. It consists of 4 steps:

  • Enabling Email Notification
  • Configuring Email Notification
  • Modifying Email Notification template
  • Setting user Preference

Enabling Email Notification

For Enabling Email notification some event logging option has to be ‘turned on’ on application engine with the help of process configuration console.

1.1)  Select isolated region icon on PCC (Process Configuration Console) and click on properties tab on it.

picture1

1.2) After clicking of properties tab on the event logging action tab turn on the checkbox for Exception and Begin operation categories.

picture2

2)  Configuring email Notification

2.1) Start the Process Task manager from the process engine in the start menu. On Application engine we have to run routercmd.bat command file that is found in the \Router subfolder where the Application Engine is installed

2.2) Configure email notification with the help of process task manager on the process engine. Select the Process Service option and click on notification tab.

picture3

SMTP Host: It specifies the complete host name for an SMTP server on the network running the SMTP service.

SMTP Port: The port on which SMTP service is running.

Character Set: The Character used in encoding the email message.

Email Logon ID: The name used for the account you want the Process Engine to use to log on to the mail server application.

Email Logon Password: The password associated with the Email logon id.

Email From ID: The name you want to enter in the From field of email Notification.

Encode From field: Indicates whether to encode the contents of the Email from ID field.

3) Modifying Email Notification

3.1) Navigate to ..\fnsw_loc\sd\mas\1 directory

picture4

3.2) Change the properties of the mail which we want to modify from read-only to read-write.

3.3) Open the file using Textpad editor and modify the html content of the file.

3.4) We can enter the fields which we want in our template.

For example, in the file below we have selected subject to get displayed in the notification. The value of that subject will be obtained from $F_Subject variable which get sets in event logs.

picture5

3.4) Save the file and restart the process engine server.

4. Setting User Preference

User preference can be set from the workplace depending on the Email notification type which user wants to receive.

picture6

picture7

And we are done, there’s a lot more information that you can find in the FileNet ECM help file.

Hope this post helps and answers your email.

Happy Blogging!!!

Setup Gmail with MSOutlook 2007

October 24, 2010 Comments off

To configure Outlook 2007 for your Gmail address , follow the below mentioned Steps:

  1. Enable POP in your email account. Don’t forget to click Save Changes when you’re done.
  2. Open Outlook.
  3. Click the Tools menu, and select Account Settings…
  4. On the E-mail tab, click New…
  5. If you are prompted to Choose E-mail Service, select Microsoft Exchange, POP3, IMAP, or HTTP, and click Next.
  6. Fill in all necessary fields to include the following information:
      Server Information 

      Account Type: POP3

      Incoming mail server: pop.gmail.com (Google Apps users, enter the server names provided, don’t add your domain name in these steps)

      Outgoing mail server (SMTP): smtp.gmail.com

      Logon Information

      User Name: Enter your Gmail username (including @gmail.com). Google Apps users, enter your full address in the format username@your_domain.com

      Password: Enter your email password.

      Require logon using Secure Password Authentication (SPA): Leave this option unchecked.

      10. Click the More Settings… button, and select the Outgoing Server tab.

      11. Check the box next to My outgoing server (SMTP) requires authentication and select Use same settings as my incoming mail server.

      12. Click the Advanced tab, and check the box next to This server requires an encrypted connection (SSL) under Incoming Server (POP3).

      13. In the Outgoing server (SMTP) box, enter 587, and select TLS from the drop-down menu next to Use the following type of encrypted connection:.

      14. Click OK.

      15. Click Test Account Settings… After receiving ‘Congratulations! All tests completed successfully’, click Close.

      16. Click Next, and then click Finish.

      Congratulations! You’re done configuring your client to send and retrieve Gmail messages.

  7. Your Name: Enter your name as you would like it to appear in the From: field of outgoing messages.
    Email Address: Enter your full Gmail email address (username@gmail.com). Google Apps users, enter your full address in the format username@your_domain.com.
    Password: Enter your email password.

    Manually configure server settings or additional server types: Leave this option unchecked if you want to automatically configure Outlook 2007. If you want to manually configure Outlook 2007, check this box now. Google Apps users should configure manually as follows.

    7. Click Next. If you are configuring Outlook 2007 automatically, you’re done! Just click Finish.

    8. If you are configuring Outlook 2007 manually, select Internet E-mail and click Next.

    9. Verify your User Information, and enter the following additional information:

%d bloggers like this: