[Gambas-user] smtp mail with gambas 2.20 sent mail body message and/or attached file not sowhon/opened by client

Benoît Minisini gambas at ...1...
Sun May 30 13:22:40 CEST 2010


> Il giorno gio, 27/05/2010 alle 14.46 +0200, marco bra ha scritto:
> > Ok i have posted all tests to you.
> > 
> > As you can see also Evolution ( and also Outlook) loose attached file
> > (the file is in the message source ) but it isn't able to open
> > attachment.
> > When smtp class generated message have body message and attachment.
> > Only kmail can open and read all the message parts.
> > 
> > Best Regards
> > 
> > Marco
> > 
> > -------------------------------------------------------------------------
> > -----
> > 
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> I had in the past similar problems using SMTP module.
> I agreed that it is a problem of the module that doesn't keep care of
> the MIME types of the attachments, so if you include only the message
> body or 1 file, it works correctly. But if you include a file, the
> module mixes the MIMEs so that mail clients cannot undestand where the
> body finishes and the attachment begins.
> 
> The only solution I found to send a mail from Gambas is using an
> external mail prog like mutt and a server mail like procmail or
> similars.

I think that the problem comes form a missing newline: can anyone try with 
revision #2982 to confirm or not?

Thanks in advance.

-- 
Benoît Minisini




More information about the User mailing list