When using Signitic with Salesforce, it is possible to automate email sending through the proprietary language APEX. By default, each sent email includes the Signitic signature, ensuring consistent and professional communication within your organization. However, certain situations require this signature to be excluded (transactional emails, system notifications, marketing campaigns).
To manage this, Salesforce offers a simple method directly in APEX code:
email.setUseSignature(false);
This instruction disables the automatic addition of the signature. The email will then be sent without the formatting or information generated by Signitic by default, providing greater flexibility depending on your needs.
Example:
Messaging.SingleEmailMessage email = new Messaging.SingleEmailMessage();
email.setToAddresses(new String[] {'client@example.com'});
email.setSubject('Nouvelle promotion');
email.setPlainTextBody('Découvrez nos offres spéciales du mois !');
email.setUseSignature(false); // désactivation de la signature
Messaging.sendEmail(new Messaging.SingleEmailMessage[] { email });
Marketing campaigns: newsletters, promotions or events.
Automatic notifications: internal alerts, order confirmations, technical reminders.
System messages: communications generated by Salesforce processes.
Use this option with discretion: the signature remains essential in direct communications with your clients (prospecting, business relationship, support).
Always review the final rendering of your test emails to confirm the absence or presence of the signature according to your needs.
Please note that deactivating the signature only applies to the relevant message; you can therefore activate or deactivate it dynamically based on your use cases.