Skip to content

Instantly share code, notes, and snippets.

View gist:8528482855d92f41847c77b5e3137995
# boa info
WARN: This system is not supported: unknown / not a virtual machine
Aegir on Debian/stretch x86_64
VPS unknown / not a virtual machine
CPU 8
RAM 15913
XTR _XTRAS_LIST="ADM CSF FTP CGP SR4 SR7"
MFX _MODULES_FIX=YES
@sluc23
sluc23 / Mailing.php
Created Jul 10, 2019
Add SendGrid X-SMTPAPI Headers
View Mailing.php
--- CRM/Mailing/BAO/Mailing.php 2019-05-15 20:00:28.000000000 +0200
+++ CRM/Mailing/BAO/Mailing.php.new 2019-07-10 10:56:06.561926552 +0200
@@ -1034,6 +1034,14 @@
if ($isForward) {
$headers['Subject'] = "[Fwd:{$this->subject}]";
}
+
+ // Add SendGrid X-SMTPAPI Headers
+ $json_string = ['category' => $this->name];
+ if ($event_queue_id) {
View .gitlab-ci.yml
image:
name: composer:1.9.1
package:
before_script:
- composer config -g cache-dir "$(pwd)/.composer-cache"
script:
- composer install --ignore-platform-reqs --no-dev --optimize-autoloader --no-ansi --no-interaction --no-progress
- rm -rf .git .gitlab-ci.yml .gitignore
- rm -rf .composer-cache