or i might be able to do this myself. But need a little help.
Am i right in saying to add email headers i need to edit the following file:
/admin/functions/api/ss_email.php
If so then where it has this bit:
- Code: Select all
if ((int)$this->statid > 0) {
$extra_headers[] = 'List-Unsubscribe: <%%HEADER_UNSUBSCRIBELINK%%>';
$extra_headers[] = 'X-Mailer-RecptId: %%HEADER_SUBSCRIBERID%%';
$extra_headers[] = 'X-Mailer-SID: ' . (int)$this->statid;
}
I'll change it to the following:
- Code: Select all
if ((int)$this->statid > 0) {
$extra_headers[] = 'List-Unsubscribe: <%%HEADER_UNSUBSCRIBELINK%%>';
$extra_headers[] = 'X-Mailer-RecptId: %%HEADER_SUBSCRIBERID%%';
$extra_headers[] = 'X-Mailer-SID: ' . (int)$this->statid;
if ($from = '[email protected]') {
$extra_headers[] = 'X-MC-Subaccount: mail1';
}
if ($from = '[email protected]') {
$extra_headers[] = 'X-MC-Subaccount: mail2';
}
if ($from = '[email protected]') {
$extra_headers[] = 'X-MC-Subaccount: mail3';
}
if ($from = '[email protected]') {
$extra_headers[] = 'X-MC-Subaccount: mail4';
}
}
Would that work? If so then theres 1 thing i need help with. You can see iv used $from to get the from address the emails will be sent from, but no where in that php file can i find the correct variable to use which stores the from address, do you know what it is and will my above modification work once i use the right from variable?
Thanks