$data = [];
$to = $this->destination;
- $from = 'CCV <no-reply@ccv-montpellier.fr>';
+ $from = 'CCV Montpellier <no-reply@ccv-montpellier.fr>';
$subject = $this->form_title;
$content_type = 'text/html';
$charset = get_bloginfo('charset');
$headers[] = sprintf('Content-Type: %s; charset=%s', $content_type, $charset);
-
- //TODO: Set up SMTP delivery via CCV's server if we want to change the from address. Attempting to set this results in messages never arriving (starting 30/04/20)
- //$headers[] = sprintf('From: %s', $from);
+ $headers[] = sprintf('From: %s', $from);
// Gather filled fields into label/value pairs
foreach ($this->fields as $field_name => $field) {
</p>
<iframe class="block w-full overflow-hidden" height="320"
- src="https://uploader.purview.net/client/scmgeneste/" scrolling="no"
+ src="https://purview.ccv-montpellier.fr/client/scmgeneste/" scrolling="no"
data-service="uploader.purview"></iframe>
<p>