[Gambas-user] KDEAplplication

Benoit Minisini gambas at ...1...
Mon Jul 19 14:04:05 CEST 2004


On Monday 19 July 2004 13:25, Nicolas Marzoni wrote:
> Message: 7
> From: Benoit Minisini <gambas at ...1...>
> To: gambas-user at lists.sourceforge.net
> Subject: Re: [Gambas-user] Send an Email??
> Date: Fri, 16 Jul 2004 22:03:54 +0200
> Reply-To: gambas-user at lists.sourceforge.net
>
> On Friday 16 July 2004 17:05, Nicolas Marzoni wrote:
> >Could sombody tell me how do I  send an email whit gambas without opening
> > a mail program. What I want is; send an email, and let the user working
> > normaly.
> >
> >I hope could you Help me.
> >Thanks.
> >Nicolas Marzoni. Argentina.
>
> With the KDE component, you can pilot KMail via DCOP to send the mail for
> you:
>
>   DIM hApp AS KDEApplication
>
>   hApp = Application["KMail"]
>
>   hApp.MailTransportServiceIFace.sendMessage("to", "cc", "bcc", "subject",
> "body", attachments)
>
> Alas, this does not work yet because the type of the 'attachments'
> parameter is KURL::List, which is not yet managed by the KDE component.
>
> Do you want me to try to manage this datatype for the next version ?
>
> --
> Benoit Minisini
>
>
>
> Yes please; I want you to try to manage This datatype for the next
> version... Thanx a lot.
>
> --
> Nicolas Marzoni.
> Mar del Plata. Argentina.
>

Bad luck ! I implemented it, and then I ask KMail to send the mail, it begins, 
and crashes... I think this is a bug in KMail... I use KMail 1.6.2/KDE 3.2.3

If I have time, I will post a bug report on http://bugs.kde.org.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list