The texting pair were planning to "commit sin', the court said
Steamy text messages have resulted in a three-month jail sentence for an Indian man and an Indian woman in Dubai.
Judges ruled that they had planned to "commit sin", a reference to an extramarital affair - which is illegal in the United Arab Emirates.
The unnamed pair, aged 47 and 42, were working as cabin crew for Dubai's Emirates airline.
Their "sexy texts" first surfaced last year, in a divorce lawsuit by the woman's estranged husband.
Crimes of passion
The Indian pair were originally sentenced to six months in jail, followed by deportation.
But an appeals court reduced the term and gave them the option to remain in the country.
The court said there was not enough evidence to determine whether the man and the woman had actually had an affair, which could have brought a harsher sentence.
This is the latest in a series of cases where foreigners have been found to have broken Dubai's conservative laws.
Earlier this week, a British couple said they would appeal a one-month jail sentence for exchanging a passionate kiss in a restaurant.
In 2008, two Britons were sentenced to three months in jail for what authorities described as sex on the beach. The sentences were later suspended.