Geneva: Thousands of Somalis are prepared to risk their lives for the chance to be smuggled into Yemen, a gateway to the Middle East that is under increasing strain from the influx, the UN refugee agency said on Tuesday.

Ron Redmond, spokesman for the UN High Commissioner for Refugees (UNHCR), said the harrowing Gulf of Aden crossing was the last recourse for many of the 232,000 people who have fled fighting between Islamic militias and government forces in Mogadishu.

About 12,000 have crammed into temporary shelters in Bossaso, in northern Somalia, and plan to pay smugglers for a rickety boat ride to Yemen when sea conditions are calmer in September, Redmond said, while warning that many them do not make it alive.

Nearly 300 would-be migrants have died or gone missing so far this year after being forced overboard far from shore, and more than 1,000 drowned attempting the voyage in 2008, according to UNHCR figures.

"These people are obviously reaching the end of their rope. They see no future in Somalia and many of them are so desperate that they are willing to risk their lives and the lives of their families to escape," Redmond told a news briefing in Geneva.

The UNHCR and its aid partners are working "to convince people not to get on those very dangerous smugglers' boats", and also to provide food and medical aid to those arriving in Yemen to alleviate pressure on their poor host government, which is struggling to fight Al Qaida attacks and tribal unrest.

Yemen recognises all Somalis as refugees on a "prima facie basis", meaning they are automatically granted the right to stay. But many of those who cross the Gulf of Aden move on to Saudi and Oman in pursuit of jobs.

Redmond said there was no sign that Yemen was buckling under the strain of the new arrivals, but stressed that continued assistance was necessary to avoid tipping the scale.