I use this code in the EMail function to set the mime. I'm not very sure if
this is what you are asking for:
For Each fich In aAttached
Exec ["file", "-bi", fich] To mime
mime = Left(mime, InStr(mime, ";") - 1)
fname = Right(fich, - RInStr(fich, "/"))
SmtpC.Add(File.Load(fich), mime, fname)
Next
Hope this helps.
Regards
2014-11-06 10:49 GMT+01:00 Roberto <[email protected]>:
> Dear All,
> there is a method to get the charset of a mimepart ( eg.
> part.ContentType = "plain/text" )?
> Best Regards
> Gambas 3.6
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user