[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gambas-user] Desktop.SendMail
[Thread Prev] | [Thread Next]
- Subject: Re: [Gambas-user] Desktop.SendMail
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Tue, 5 Mar 2024 12:33:08 +0000
- Cc: user@xxxxxxxxxxxxxxxxxxxxxx
On Tue, 5 Mar 2024 at 11:07, Gianluigi <gradobag@xxxxxxxxxxx> wrote: > Il 05/03/24 11:50, Benoît Minisini ha scritto: > > Le 05/03/2024 à 11:34, Gianluigi a écrit : > >> Il 03/03/24 20:58, Benoît Minisini ha scritto: > >>> Anyway, Desktop.SendMail() is just an interface to the Desktop portal > >>> or the XDG scripts: the message body must be plain text, and the > >>> attachment argument does not work with the Desktop portal at the > >>> moment. > >>> > >>> Regards, > >>> > >>> -- > >>> Benoît Minisini. > >> > >> > >> Hi Benoit, > >> > >> our friend replied that 'By downgrading to version 3.16.3 everything > >> works perfectly: the file is attached and the text with the html tags is > >> represented correctly.' > >> Does it appear to you too? > >> > >> Thanks and regards > >> Gianluigi > >> > > Of course, as in 3.16.3 there is no use of desktop portal. > > > Thank you, I'll go and report the answers. > > Regards > Gianluigi > > P.S. BruceS's response came privately and says: 'Does it use the old way > if they use.. > Desktop.UsePortal = False' > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > Oops sorry i was doing so well at changing the addresses to be the list, i forgot with that mail. Looking at Desktop.SendMail code it looks like it will NOT use portal if Desktop.UsePortal is false. If DesktopPortal.Enabled Then DesktopPortal.SendMail({To}, {Cc}, {Bcc}, Subject, Body, aAttach) Return Endif ' original xdg semdmail code follows. So it should work as before. (PS. there are a number of functions that are now using the desktop portal by default that can use the old way by setting UsePortal to false) Respects BruceS
Re: [Gambas-user] Desktop.SendMail | Gianluigi <gradobag@xxxxxxxxxxx> |
[Gambas-user] Desktop.SendMail | Gianluigi <gradobag@xxxxxxxxxxx> |
Re: [Gambas-user] Desktop.SendMail | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: [Gambas-user] Desktop.SendMail | Gianluigi <gradobag@xxxxxxxxxxx> |