Skip to content

Mailchimp actions on user #42

@cpjobling

Description

@cpjobling

To avoid creating false mailchimp list entries while in development and during testing , a newly confirmed user should only be added to the mailchimp subscriber list in production.

def add_user_to_mailchimp
     return unless ENV['RAILS_ENV']=='production'
     :
end

def remove_user_from_mailchimp
    return unless ENV['RAILS_ENV']=='production'
    :
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions