Class: Orchestrator Plugin Mail Service

by Simon Sparks · 1 September 2025

This is a sample of how to create service which extends the OrchestratorBaseService using the Build Tools.

GitHub Repository: https://github.com/SimonSparksUK/Orchestrator

Filename: OrchestratorPluginMailService.ts


import { ResourceElementAccessor } from "com.vmware.pscoe.library.ts.util/ResourceElementAccessor";
import { BaseService } from "../BaseService";

export class OrchestratorPluginMailService extends OrchestratorBaseService {
    private strDefaultContentType: string = "text/html; charset=UTF-8";// TO DO - SS - Use a Config Element
    private strEMailFromAddress: string = "no-reply@cloudbuildtools.com";
    private strEMailFromName: string = "No Reply;
    private strSMTPHostFQDN: string = "smtp.office365.com";
    private intSMTPHostPort: number = 587;
    private arrDefaultMimeAttachment: MimeAttachment[] = [];
 
     constructor(strProjectID: string) {
        super(strProjectID, "PluginMail");

    }
    
}

Class Functions:


Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like