Let y(x) be a solution of the differential equation (1+ex)y′+yex=1. If y(0)=2, then which of the following statements is (are) true?