Does this property of comaximal ideals always hold? I am reading a paper in which the following result is used, but I can’t see the proof of this.

Let $R$ be a commutative ring with only two maximal ideals, say $M_1$ and $M_2$. Suppose $m_1 \in M_1$ is  such that $m_1 \notin M_2$. Then can we always find $m_2 \in M_2$ such that $m_1+m_2=1$?

Any ideas?
 A: Take $R=\mathbb{Q}\times\mathbb{Q}$, $M_1=\mathbb{Q}\times\{0\}$, $M_2=\{0\}\times\mathbb{Q}$, and $m_1=(2,0)\in M_1\setminus M_2$. Then $(1,1)\in\mathbb{Q}\times\mathbb{Q}$ satisfies that $$(1,1)-(2,0)=(-1,1)\notin M_2$$
Therefore, that property is not satisfied in general.
Maybe the property that they are really using is that there exist $a\in M_1$ and $b\in M_2$ such that $a+b=1$. Not arbitrary $a,b$. This other property is immediate by using the maximality of $M_1$ and $M_2$, which implies that $M_1+M_2=R$.
A: First notice that $1-m_1$ cannot be a unit, because this would imply $m_1$ is in the Jacobson radical of $R$, and in particular we would have $m_1\in M_2$.
Now it follows that the ideal of $R$ generated by $1-m_1$ must be contained in a maximal ideal, but it cannot be contained in $M_1$ because then it would follow that $1\in M_1$. Thus this ideal is contained in $M_2$ (the only other maximal ideal), i.e. you get $1-m_1\in M_2$.

Edit: I think my reasoning for $1-m_1$ not being a unit is wrong (it seems we would need that $1-m_1x$ is a unit for every $x\in R$ to conclude $m_1$ is in the Jacobson radical). The rest of the argument goes through, so I'm going to leave my answer up for a while in hopes that somebody can help figure that part out. 
