How to Use Send Mail Text in iDempiere

Send Mail Text is the iDempiere process that sends personalized emails to multiple recipients using a selected Mail Template.

Businesses use it to reach Interest Area subscribers or Business Partner Group contacts with product updates, promotions, and notifications in a single run.

Each recipient receives an individually generated email through the Tenant’s configured SMTP server, with the results logged for review.

Process Flow

SendMailText

Business Rules

  • A Mail Template is mandatory; it supplies the email subject and body.
  • Recipients come from either an Interest Area or a Business Partner Group.
  • Interest Area recipients must have an active subscription with no Opt-Out Date.
  • Business Partner Group recipients must belong to an active Business Partner.
  • Recipients must have a valid email address to receive the message.
  • Self-Service Interest Areas automatically append unsubscribe information.
  • If From User is blank, the Tenant Request Mail User sends the emails.
  • Each recipient is emailed only once per run, even if matched more than once.
  • Every email sent is recorded in the Mail Template’s User Mail history.

Prerequisites

  • Mail Template created with Subject and Mail Text.
  • Interest Area configured with active subscribers, or Business Partner Group configured with contacts.
  • Tenant SMTP configuration completed and tested.
  • Recipients have valid, active email addresses.

Configuration Steps

Step 1: Select the Mail Template

The Mail Template supplies the subject and body content used for every email generated in this run.

Navigate to Send Mail Text and select the Mail Template to use, for example Product Updates.

FieldSample ValuePurpose
Mail TemplateProduct UpdatesSupplies the email subject and body for all recipients
TenthPlanet iDempiere PartnerRelations

Step 2: Choose the Recipient Source

The recipient source determines who receives the email: Interest Area subscribers or Business Partner Group contacts.

Select either Interest Area or Business Partner Group, not both, to define the recipient list for this run.

FieldSample ValuePurpose
Interest AreaProduct UpdatesSends the email to active, opted-in subscribers of this Interest Area
Business Partner GroupBlankAlternative recipient source; not used in this run

Step 3: Optionally Select the From User

From User determines which mailbox sends the emails; leaving it blank uses the Tenant Request Mail User instead.

Select a From User if a specific sender mailbox is required, or leave it blank to send from the Tenant’s default mail user.

FieldSample ValuePurpose
From UserBlankUses the Tenant Request Mail User as the sender
Run as JobUncheckedRuns the process immediately instead of in the background

Step 4: Execute the Process

Running the process generates and submits a personalized email for every eligible recipient.

Click Start to run the process immediately using the selected Mail Template and recipient source.

Step 5: Review the Process Result

The result summary confirms how many emails were created and flags errors for follow-up.

Review the summary line, for example Created=3, Errors=0, and the per-recipient OK or ERROR list showing each email address.

FieldSample ValuePurpose
Result SummaryCreated=3, Errors=0Total emails generated successfully and errors encountered
Recipient LogOK – pr98@gmail.comConfirms successful delivery submission for each recipient
TenthPlanet iDempiere PartnerRelations

Common Issues and Resolutions

IssueCauseResolution
SMTP Authentication FailedIncorrect SMTP credentialsVerify Tenant or User SMTP configuration
Created=0, Errors>0Invalid sender configurationVerify From User or Tenant Request Mail User configuration
Email not receivedRecipient email missing or invalidVerify the recipient’s email address
Variables are not replacedIncorrect Mail Template variable usedUse supported variables such as @Name@
Unsubscribe information missingInterest Area is not marked as Self-ServiceEnable Self-Service on the Interest Area if unsubscribe information is required
Recipient skipped silentlySame user matched more than once in the recipient listExpected behavior; the process sends only once per recipient
Recipient marked inactive after runEmail address failed validationCorrect the recipient’s email address and reactivate the User

Next Steps

  • Review the process summary for Created and Errors counts.
  • Verify recipient delivery and check the Mail Template User Mail tab.
  • Update or reuse the Mail Template for future communications.
  • Address any invalid email addresses flagged during the run.