Deutsche Post AG’s quarterly profit jumped at the fastest pace in 4 1/2 years after prices increased and deliveries on behalf of internet-based retailers rose. The stock gained to an eight-month high. Second-quarter operating profit surged 40 percent to 752 million euros ($843 million),  beating the 737 million-euro average of analyst estimates compiled by Bloomberg. The growth was the steepest since the fourth quarter of 2011. Gains were propelled by rising parcel deliveries for online retailers and an increase in German postage rates for standard letters, Bonn-based Deutsche Post said in a statement. The mail operator reiterated its full-year profit forecast. Deutsche Post, which also owns the DHL express and logistics brand, is betting that growth generated by electronic commerce will more than offset weakening letter volume, which it expects to fall by as much as 3 percent per year. “We expect momentum in the third quarter to remain strong,” helped by the express division, and the company may meet 2017 earnings estimates a year early, analysts at J&E Davy, including Stephen Furlong, wrote in a report. Deutsche Post rose as much as 4 percent and was trading up 3 percent at 27.25 euros as of 9:28 a.m. in Frankfurt, heading for the highest close since late November. The stock has gained 5.1 percent this year, valuing the company at 33.1 billion euros. Forecast Range Full-year Ebit will be in a range of 3.4 billion euros to 3.7 billion euros, Deutsche Post said. Revenue in the second quarter fell 3.5 percent to 14.2 billion euros, held back by currency shifts and lower fuel surcharges, the company said. The volume of time-definite international express shipments rose 8.2 percent. Air-freight volume dropped 4.7 percent in the quarter, while ocean-freight shipments increased 3.1 percent, Deutsche Post said. Parcel shipments in Germany jumped 12 percent, while revenue from that business rose 18 percent in Europe outside Germany, and 8.5 percent further abroad. “The boom in online retail continues unabated,” Chief Financial Officer Larry Rosen said in an interview posted on the company’s website. “This particularly applies in Germany. We are becoming increasingly successful in converting volume growth into an above-average rise in earnings.” He added a conference call that three extra working days in the quarter versus the 2015 period contributed to the parcel boost. Deutsche Post raised the price for delivering a standard letter in Germany to 70 cents from 62 cents at the beginning of the year. Second-quarter earnings were boosted by a recovery from a pay strike in the year-earlier period. The company also said it’s selling its three-year-old Postbus passenger operations to FlixMobility GmbH after the unit didn’t meet profit targets.