I run SugarCRM OS from my laptop, hence the link that is used to access Sugar is http://localhost. As you can imagine this creates problems with the unsubscribe link that is automatically inserted into mass emails. I attempted to remove this link by editing the PHP code in EmailMan.php:
I replaced this:
with this:Code://do not add the default remove me link if the campaign has a trackerurl of the opotout link if ($this->has_optout_links==false) { $mail->Body .= "<br><font size='2'>{$mod_strings ['TXT_REMOVE_ME']}<a href='". $this->tracking_url . "/removeme.php?identifier={$this->target_tracker_key}'>{$mod_strings['TXT_REMOVE_ME_CLICK']}</a></font>"; }
But it appears that the unsubscribe link is still being put into the emails. Any ideas how to fix this?Code://do not add the default remove me link if the campaign has a trackerurl of the opotout link if ($this->has_optout_links==false) { $mail->Body .= "<br><font size='2'>To be removed from this list, simply reply with 'Unsubscribe' in the subject line.</font>"; }


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks