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

PICCORO McKAY Lenz mckaygerhard at ...626...
Fri Jan 15 07:33:29 CET 2016


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