'Sends a boxcar2 notification to the address provided
msg: The message to send
title: The title of the message
accesstoken: to send to this device
returns: True if the message succeeded, False otherwise'

def _sendBoxcar2(self, msg, title, accesstoken):

    msg = msg.strip()
    curUrl = API_URL
    data = urllib.urlencode({u'user_credentials': accesstoken, u'notification[title]': (((u'SiCKRAGE    :    ' + title) + u'    :    ') + msg), u'notification[long_message]': msg, u'notification[sound]': u'notifier-2'})
    try:
        req = urllib2.Request(curUrl)
        handle = urllib2.urlopen(req, data, timeout=60)
        handle.close()
    except urllib2.HTTPError as e:
        if (not hasattr(e, u'code')):
            sickrage.srCore.srLogger.error(u'Boxcar2    notification    failed.{}'.format(e.message))
            return False
        else:
            sickrage.srCore.srLogger.warning((u'Boxcar2    notification    failed.    Error    code:    ' + str(e.code)))
        if (e.code == 404):
            sickrage.srCore.srLogger.warning(u'Access    token    is    invalid.    Check    it.')
            return False
        elif (e.code == 400):
            sickrage.srCore.srLogger.error(u'Wrong    data    send    to    boxcar2')
            return False
    sickrage.srCore.srLogger.debug(u'Boxcar2    notification    successful.')
    return True
