[Gambas-user] smtp does codified the attachment but does not show in mail reader

PICCORO McKAY Lenz mckaygerhard at ...626...
Fri Jan 15 14:35:10 CET 2016


i tested and see that the documentation said someting about
SmtpClient.alternative option..

what does mean with: "are actually different alternatives of the same
data"??

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2016-01-15 2:03 GMT-04:30 PICCORO McKAY Lenz <mckaygerhard at ...626...>:

> i made a program that send a pdf attachment..  but in gmail at received
> the mail marks as has attachment but when opened thers no attachment file
>
> here the code used based on the wiki:
>
>   Dim enviador As New SmtpClient
>   Dim t$ As String
> ...
> ' more code...
> ...
>   enviador.Add(cTexto, "text/plain")
>   t$ = File.Load("/home/general/archve.pdf")
>   enviador.Add(t$, "application/pdf", "archve.pdf")
> ....
>  Try enviador.send
>
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>



More information about the User mailing list