Email via Siebel Scripting or Object Interfaces Using Outbound Communication Manager

Narsimha Rao DHow Do You Send Email via Siebel Scripting or Object Interfaces Using Outbound Communication Manager                  


The Communications Outbound Manager processes outbound communications, for email, fax, wireless message, or page channels. It also supports outbound capabilities for Siebel Email Response and for the Send Email, Send Fax, and Send Wireless Message commands.

For further information, refer to Siebel Bookshelf version 7.5.x > Siebel Communications Server Administration Guide > Administering Siebel Communications Server > Administering Communications Outbound Manager.

Here is the eScript sample code:

//instantiate the business service and the propertysets

var bs = TheApplication().GetService(“Outbound Communications Manager”);
var inputs = TheApplication().NewPropertySet();
var outputs = TheApplication().NewPropertySet();

//Communication profile to be used – must be must be a current profile defined in the application
var CommProfile = “MyProfile”;

var MsgToList = “”;
var MsgBody = “Hello testing hello! How are you today?”;
var MsgSubject = “Testing Message”;

//Where C:\ on the Siebel Server or the Siebel Client file system? Or where in a remote client?

var AttachFileList = “c:\\test.txt”;


//for web client use ‘Remote’ instead of ‘Local’




inputs = null;
outputs = null;


NOTE: The sample code must be thoroughly tested before implementing in the production environment.The above code can be used via Siebel VB or Siebel Object Interfaces.

NOTE: The two arguments AttachFileList and AttachNameList are hiddenarguments belonging to the SendMessage method. Consequently it is possible to use these arguments, but they are technically not supported. As a result the sending of emails with attachments using the Outbound Communications Manager business service SendMessage method in scripting or workflow is not formally supported at present.

AttachNameList is a list of file names, each separated by “*” (asterisk). AttachFileList is a list of file paths, also each separated by asterisk. AttachNameList is optional. If omitted, the names in the file paths are used.

NOTE: The file paths must be accessible from the process that actually sends the email. That means the client process that calls SendMessage if the ProcessMode argument = Local, and the Communications Manager server component if the ProcessMode argument = Remote.

2 comments on “Email via Siebel Scripting or Object Interfaces Using Outbound Communication Manager”

  1. william olivos Reply

    Buenas tardes es que estoy tratando de enviar un attachment con email, y le envio el AttachFileList and AttachNameList.

    Esto no me esta saliendo, si de pronto usted sabe como se envia un attachment , y tienes el scripting, me podrias colaborar con eso.

    De antemano agradezco de la colaboración.

  2. simone Reply

    Hi Guru Siebel,
    If a create a Template for the mail response.
    For Example:
    Object mail : mister John you are the number [field1]
    body mail : …….
    there is a method for the “Communications Outbound Manager” Business Service that have as outpus the mail object substitute field.
    For example the method “expanded test” for the body mail.
    Sorry for my English

Leave A Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!