Novel peptidomimetics exhibiting affinity for opioid receptors, possessing a general formula shown in FIG. 1, for gastrointestinal or peripheral administration in the form of a pill, infusion, injection or implant in the treatment of peripheral opioids side effects, particularly constipation or/and respiratory depression.