[Gambas-user] Retrieve charset of mimepart
Jorge Carrión
shordi at ...626...
Thu Nov 6 12:24:48 CET 2014
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 <rhoct at ...325...>:
> 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
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list