Results 1 to 2 of 2

Thread: Remove unsubscribe link from mass emails

  1. #1
    greenleaf108 is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    23

    Post Remove unsubscribe link from mass emails

    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:

    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>";
                            }
    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'>To be removed from this list, simply reply with 'Unsubscribe' in the subject line.</font>";
         }
    But it appears that the unsubscribe link is still being put into the emails. Any ideas how to fix this?

  2. #2
    greenleaf108 is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    23

    Default Re: Remove unsubscribe link from mass emails

    Ok, never mind my previous post. It appears that the ones with the incorrect unsubscribe link were sent out before I edited EmailMan.php. I just tested it and it's working.

    I still would like to know how to send mass emails in text-only format, without that annoying tracking pixel that tips off the email spam filters. . . .

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Remove opt-out link and tracker
    By rs1 in forum Help
    Replies: 2
    Last Post: 2006-12-28, 07:42 PM
  2. Merge Contacts show sql error
    By hheckner in forum General Discussion
    Replies: 5
    Last Post: 2006-10-04, 01:57 PM
  3. Replies: 5
    Last Post: 2006-05-30, 03:10 PM
  4. Configuring Mass Email... seems to hang... no emails get sent
    By bronder in forum Marketing/Campaign Management
    Replies: 3
    Last Post: 2005-11-03, 01:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •