Results 1 to 2 of 2

Thread: Email Opt-out doesnt appear to work as expected

  1. #1
    chrish is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    48

    Default Email Opt-out doesnt appear to work as expected

    I have set up the unsubscribe process where people can request to be removed from the email blasts we run. It cant be directly run against the target lists because the server is not accessible from the internet. So we simply get an email as a result of the unsubscribe request and set the opt out flag for the user. The problem we are seeing is that the person is still getting an email sent even though they have the opt out flag set! Surely this is not what we should expect? If the email is set to opt-out on a target why should they still get emailed?

    Chris..

    Sugar Version 5.0.0a upgraded from 4.5.1h
    DB MySql Version 5.0.44
    OS Linux Gentoo

    Previously logged as a feature request plus a problem.

  2. #2
    agupta is offline Sugar Team Member
    Join Date
    May 2005
    Posts
    142

    Default Re: Email Opt-out doesnt appear to work as expected

    Chris,


    We shipped 50GA and 50a with a bugs in campaigns module. opt-outs were not being considered properly. It was due to a change in the schema for the emails module. The opt-out field was changed from a string to integer. Sorry for all the problem it has caused for you.

    The bug was fixed in 5.0b, it is available for download from our site. Here is the fix if you want to apply before you upgrade to 50b.


    In emailman.php , find the following line: (2 occurrences in the same function)
    if (isset($module->email_opt_out) && $module->email_opt_out == 'on') {

    Replace with (same value for both occurrences)
    if (isset($module->email_opt_out) && ($module->email_opt_out == 'on' || $module->email_opt_out == 1)) {

    Apologies for trouble caused by this error.

    -Ajay

    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. V.5.0a Email "challenges"
    By heytimc in forum Help
    Replies: 3
    Last Post: 2008-01-24, 06:41 PM
  2. email monitoring doesn't work
    By rogersugarsugar in forum Help
    Replies: 1
    Last Post: 2007-07-12, 01:33 PM
  3. pdf files with SugarCRM email client do not work
    By ymartin in forum General Discussion
    Replies: 0
    Last Post: 2006-04-04, 09:32 PM
  4. Replies: 0
    Last Post: 2006-04-01, 10:52 AM
  5. How work Email list designer?
    By tommasofin in forum Marketing/Campaign Management
    Replies: 0
    Last Post: 2005-11-04, 08:10 AM

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
  •