Tanks Benoît, as you suggested i made a process with SHELL to send the mail using xdg-email. Seems the Gambas form does not freeze anymore. After that i turned back using desktop.sendmail and the form freeze again. I'll investigate further, will update. Regards, Emanuele