Skip to main content

Hi everyone,

I have a trouble at e-Agreement. We have multiple compaines. I wanna send agreement with company mail address. I cant figured out define  mail senders for companies. I wanna do like A Company => Use MailSender_1  , B Company=> Use MailSender_2 ….. 

Regards.

Hi ​@d.sarac ,

Just to clarify — are you trying to configure it so that each company sends its own e-Agreements using a unique email sender address (e.g., noreply@companyA.com, noreply@companyB.com)?
Or are you working with one shared agreement that requires multiple signatures from different companies?

Happy to help once I understand your setup.

- Aaron J. | Solutions Architect


Hi ​@ajohnston 

Thanks for your reply,  I am trying to configure it so that each company sends its own e-Agreements using a unique email sender address. 


Hi ​@d.sarac ,

Thanks for clarifying!

Yes, what you're aiming to do—assigning a unique email sender per company for e-Agreements—is definitely possible but requires a bit of configuration via IFS Connect and Mail Senders. Please note, that depending on your IFS Environment or available items, some of the items may look or be different.

✅ Goal

You want something like:

  • Company A → uses MAIL_SENDER_1 (e.g., contracts@companya.com)

  • Company B → uses MAIL_SENDER_2 (e.g., agreements@companyb.com)

✅ Solution Overview

You’ll need to:

  1. Create separate Mail Sender configurations in IFS Connect.

  2. Assign the right Mail Sender per company either through:

    • Context-based routing rules (advanced), or

    • Manual assignment per template/interface.

🔧 How to Add a New Mail Sender in IFS Cloud

From: Solution Manager > Integration > IFS Connect > Senders

  1. Click the ➕ icon (top-left above existing sender list)

  2. Fill out according to your needs:

Field Example Value
Instance Type Mail
Description MAIL_SENDER_COMPANYA
Host smtp.companya.com
Port 587 or 465 or 25
User noreply@companya.com
Default Mail Sender noreply@companya.com
Authentication Type Login / None
Security Protocol SSL / TLS / None
Content Type text/plain or text/html

 

  1. Save the configuration.

🔗 Helpful Documentation References

These may vary depending on your licensing and setup:

If you don’t have access to Document Management, CRM/SRM Panel, or Aurena Agent, I recommend reaching out to your IFS Admin or Account Manager to explore available options or licenses.
 

Best regards,

Aaron J. 


Bonus-Here are a few more screenshots for reference within IFS Documentation:

 

 


Hi ​@ajohnston , 

 

Firstly, Thank for your reply. 

 

We have 3 umbrella companies(we have 180 compaines). I am trying to understand this. There is no company matching in your statement. How does the system understand which company's email address to use?  

 

Have a nice week.


Hi ​@d.sarac,

Thanks for your question! Based on IFS Cloud best practices and typical configurations, here’s how you can set up mail routing for multiple umbrella companies—especially when each requires its own contracts email address.

The system determines which Mail Sender to use through Routing Rules and message metadata (such as CompanyId). Below is a sample walkthrough using three companies as an example.

Please note that your setup might differ depending on access rights or how your IFS Cloud environment is configured. Additionally, if any CRIMs are established related to these components, they could influence the final behavior.

If something isn’t connecting properly or not testing as expected, I’d recommend reaching out to your IFS Technical Support team for deeper troubleshooting.

Hope this helps!
Aaron

Examples

📧 Step 1: Create Mail Senders for Contracts per Company

Go to:
Solution Manager > Integration > IFS Connect > Setup IFS Connect > Senders

Click ➕ Add New Sender and configure the following for each company:

 

🔹 Company A – Contracts

Field

Value

Instance Type

Mail

Instance Name

MAIL_SENDER_CONTRACTS_COA

Description

Mail Sender – Contracts (Co A)

Host

smtp.office365.com

Port

587

Authentication

TRUE

Username

contracts@companyA.com

Password

●●●●●●●●

Override Mail Sender

TRUE

Content Type

text/html

Security Protocol

SMTP+STARTTLS

 

🔹 Company B – Contracts

Field

Value

Instance Type

Mail

Instance Name

MAIL_SENDER_CONTRACTS_COB

Description

Mail Sender – Contracts (Co B)

Host

smtp.office365.com

Port

587

Authentication

TRUE

Username

contracts@companyB.com

Password

●●●●●●●●

Override Mail Sender

TRUE

Content Type

text/html

Security Protocol

SMTP+STARTTLS

 

🔹 Company C – Contracts

Field

Value

Instance Type

Mail

Instance Name

MAIL_SENDER_CONTRACTS_COC

Description

Mail Sender – Contracts (Co C)

Host

smtp.office365.com

Port

587

Authentication

TRUE

Username

contracts@companyC.com

Password

●●●●●●●●

Override Mail Sender

TRUE

Content Type

text/html

Security Protocol

SMTP+STARTTLS

 

 

📬 Step 2: Create Routing Addresses (One per Company)

✅ Navigate to:

Solution Manager > Integration > IFS Connect > Routing > Addresses > New

 

🔹 For Each Company, Fill Out the Following

Step 1 – Select Routing Address Type

Field

Value

Transport Connector

MAIL_SENDER_CONTRACTS_COA (or COB/COC)

Address Name

ROUTE_CONTRACTS_COA (or COB/COC)

Customized

No (unless custom logic applies)

Click Next.

 

Step 2 – Format Routing Address

Field

Value

Envelope

Leave blank (unless you're using a custom envelope)

Encoding

UTF-8

Compress

Off

Envelope Response

Off

Click Next.

 

Step 3 – Transformers

Leave these blank unless your message requires transformation (e.g., XML to JSON, etc.).
Typically for mail, no transformer is needed.

Click Next.

 

Step 4 – Mail Address Data

Field

Value

Sender Instance

Same as the Transport Connector (e.g., MAIL_SENDER_CONTRACTS_COA)

Send To

The recipient email address or a dummy like test@companyA.com if overridden

Cc / Subject

Optional – mostly filled at runtime

Attachment Name

Leave blank unless required

🔸 Note: If you set Override Mail Sender = TRUE in the Mail Sender config, the “Send To” email in this form will not appear in the "From" address — it only controls the actual destination address.

Click Finish.

 

🧠 Pro Tips:

  • You can dynamically set To/Cc/Subject via Message Payload if your integration triggers these from a process or event action.
  • If you want routing based on more dynamic criteria (e.g., based on Company ID), this will be handled in Routing Rules (Step 3).
 

🔀 Step 3: Create Routing Rules (Conditional by Company)

✅ Navigate to:

Solution Manager > Integration > IFS Connect > Routing > Rules > New

 

🧭 Step-by-Step Configuration (For Each Company)

Step 1 – Select Routing Rule Type

  • Choose Outbound
  • Click Next
 

Step 2 – Configure Rule Details

Here’s how to fill in the form for each company:

 

🔹 Company A – Contracts

Field

Value

Route From

ROUTE_CONTRACTS_COA (Routing Address you created earlier)

Rule Name

ROUTE_RULE_CONTRACTS_COA

Enabled

Yes

Customized

No

Queue

Leave blank (or specify if using a queue)

Direction

Outbound (auto-filled)

🧠 Tip: If using dynamic routing, the Route From might be tied to message metadata (e.g., Company ID or event source).

Click Finish.

 

🔹 Company B – Contracts

Field

Value

Route From

ROUTE_CONTRACTS_COB

Rule Name

ROUTE_RULE_CONTRACTS_COB

Enabled

Yes

Customized

No

Queue

(Optional)

Direction

Outbound

 

🔹 Company C – Contracts

Field

Value

Route From

ROUTE_CONTRACTS_COC

Rule Name

ROUTE_RULE_CONTRACTS_COC

Enabled

Yes

Customized

No

Queue

(Optional)

Direction

Outbound

 

🧩 Optional: Advanced Customization

If you need more precise control based on Company ID or Business Logic:

  • Use custom attributes or event actions to inject metadata into the message
  • Then route using message functions or logical conditions (may require additional config outside UI)

 

✨ (Optional) Create Event Actions to Trigger Mail Routing (Contracts per Company)

✅ Navigate to:

Solution Manager > Automation and Optimization > Events > Custom Event

 

This walkthrough assumes you're sending emails when a contract record is created or approved, and routing based on Company ID.

 

🔹 Step 1: Set Event ID and Description

Field

Value

Event ID

CONTRACT_EMAIL_TRIGGER_COA

Description

Trigger email for contract creation – Company A

Click Next

 

🔹 Step 2: Add Object Details

Field

Value

Entity

CustomerContract (or whatever contract entity you're using)

Table

Auto-populates (based on Entity)

Fire When

✅ New objects are created or Objects are changed (e.g., if triggering on status approval)

Click Next

 

🔹 Step 3: Select Attributes

Add attributes like:

  • CompanyId
  • ContractStatus
  • CustomerName
  • CustomerEmail

These will be used in your message body or for conditional logic.

Click Next

 

🔹 Step 4: Add Custom Attributes (Optional)

Create additional variables if needed (e.g., formatting or combining fields for a more customized email).

Name

Server Method (PL/SQL function)

Data Type

recipientEmail

get_customer_email(:contract_id)

STRING

CustomerName

get_customer_name(:contract_id)

STRING

Click Finish

 

📧 Now Link This Event to an E-Mail Action

After saving your custom event, go to:

Solution Manager > Event Management > Event Actions > New

 

🔹 Email Action for Company A

Field

Value

Action ID

EMAIL_CONTRACTS_COA

Event

CONTRACT_EMAIL_TRIGGER_COA

Action Type

E-Mail

Mail Sender

MAIL_SENDER_CONTRACTS_COA

To

${recipientEmail} or contracts@companyA.com

From

(Leave blank if override is enabled)

Subject

New Contract Notification – Company A

Message

Dear ${CustomerName}, your contract is now ready.

Enabled

✅

 

🧠 Optional Filter Condition:

If you're using the same event across all companies and need to filter within the action:

sql

CopyEdit

CompanyId = 'COMPANY_A'

Or:

sql

CopyEdit

CompanyId = 'COMPANY_A' AND ContractStatus = 'APPROVED'

 

🔁 Repeat This Setup for:

  • Company B: EMAIL_CONTRACTS_COB, filtered by CompanyId = 'COMPANY_B'
  • Company C: EMAIL_CONTRACTS_COC, filtered by CompanyId = 'COMPANY_C'
 

✅ Final Validation Checklist

  • Custom event triggers on create/change
  • Email sends from the correct Mail Sender per company
  • Routing works correctly in Connectivity > Search Connectivity Outbox Messages (may be inbox messages depending on your setup).
  • Subject and message body render with dynamic values

 


Hi ​@ajohnston  again,  

 

  Thanks your reply. But I can't select my sender that steps. Am I miss something for properties?

 

Have a nice day.

 


Hi ​@d.sarac, my apologies, that was my mistake. I mixed up the location for the new Mail Sender. You’re gonna put that in final step under Mail Address Data > Sender Instance. For this one it’ll be Mail for all of them. 
 

When setting up a Routing Address for emails, you should select:

Field Correct Value
Transport Connector Mail
Address Name Something like ROUTE_CONTRACTS_COA
Customized No (unless you're creating logic yourself)

 

🔁 Then later…

During Step 4 of the Routing Address setup, under Mail Address Data, you will choose the specific Mail Sender instance like:

  • MAIL_SENDER_CONTRACTS_COA

  • MAIL_SENDER_CONTRACTS_COB

  • MAIL_SENDER_CONTRACTS_COC

This is the point where you attach the actual sender config to that mail-type routing address.

🧠 Summary:

Step What to Select
Step 1 (Transport Connector) Mail
Step 4 (Mail Address Data > Sender Instance) MAIL_SENDER_CONTRACTS_COA (etc.)

Hi ​@ajohnston again,

 

Sorry i bother you again but i have problem at step 3. I can’t select my routing address. I have done step 2. 

 

Have a nice day. 


Hi ​@d.sarac ,

Thank you for the follow up and I realized that that I need to correct a key detail from my previous message regarding the Routing Rule setup.

In my earlier instructions, I mistakenly described the Route From field as referencing the Routing Address. That’s not correct — and I truly appreciate your patience. In IFS Cloud, the Route From field should be set to APPLICATION_MESSAGE, which tells the system to process messages originating from events or actions within IFS.

I’ve outlined the correct configuration steps below, along with how to set the destination address for each company-specific mail route. I’ve also attached visual references to help walk through it.
 

✅ Corrected Routing Rule Setup – Company A Example

Field Value
Route From APPLICATION_MESSAGE
Rule Name ROUTE_RULE_CONTRACTS_COA
Enabled Yes
Customized No
Queue (Optional – can leave blank or use DEFAULT)
Direction Outbound

 

 

🔀 Set Destination Address

After creating the rule:

  1. Open the Routing Rule details.

  2. Under Destination Addresses, click Set Destination Address.

  3. Use the filter:

    • Transport ConnectorMail

  4. Select the Routing Address:

    • ROUTE_CONTRACTS_COAcontracts@companyA.com

  5. Click Apply to confirm.

This ensures the message is routed using the correct Mail Sender configured for Company A.

🧠 Additional Notes:

  • Repeat this setup for each company (COB, COC, etc.) using the same logic.

  • The routing will only work if the APPLICATION_MESSAGE originates from an Event Action or similar trigger tied to a transaction or business process.

Reference Links:

IFS Documentation on Routing Rules and Addresses

IFS Documentation on Message Routing

IFS Documentation on Manage Event Actions

 

📝Just a note: Routing rules determine where messages go once generated—they don’t trigger the message itself. That typically happens through an Event Action or a business process.

 

Thanks again for your patience on this. Hope this helps clear things up.

Best Regards,

- Aaron

 


Reply