From efc87db1ca34ffc41aa210d6333f70918a081f2b Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Sat, 5 Feb 2022 23:33:32 -0500 Subject: [PATCH] Email boundary workaround --- wrenchboard/src/core/smtp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrenchboard/src/core/smtp.cc b/wrenchboard/src/core/smtp.cc index 92ec481d..25873816 100644 --- a/wrenchboard/src/core/smtp.cc +++ b/wrenchboard/src/core/smtp.cc @@ -117,7 +117,7 @@ int SMTP2( const char * _server, const char * _from, char * _to, char * _body, c } // Google - snprintf( name, BUF_SIZE, EMAIL_PREFIX"/../src/modules/mailsend -smtp %s -f %s -t %s -domain %s -name '%s' +cc +bcc -v -starttls -port 587 -auth-plain -user %s -pass %s -sub '%s' -content-type 'text/html' -mime-type 'text/html' -M '%s'", + snprintf( name, BUF_SIZE, EMAIL_PREFIX"/../src/modules/mailsend -smtp %s -f %s -t %s -domain %s -name '%s' +cc +bcc -v -starttls -port 587 -auth-plain -user %s -pass %s -sub '%s' -content-type 'multipart/mixed' -mime-type 'text/html' -disposition inline -M '%s'", _server, _from, _to, _domain, _name, _user, _pass, subject, body != NULL ? body : _body ); /* // Virtualmail