I honestly don't know what to add to what these other fine people have responded with. Small steps are key, becoming more aware of your own needs, being conscious of when you're really hungry and finding other ways to cheer yourself up besides eating.
Your post reminded me of some of my own worst moments... eating an entire chocolate silk pie at a sitting because I felt lonely and uncared for.
One thing perhaps... do you love yourself? Do you feel loved by yourself? Do you feel worthy of love? If you answered no to any of these questions, you may need to explore your feelings further, as painful as it will be, and discover what the sources of your self-esteem are. Then you can begin the process of improving your self-esteem.