[Gambas-user] smtp does codified the attachment but does not show in mail reader
Buster Seven
buster6seven at ...626...
Sat Jan 16 03:40:28 CET 2016
this works for me
myMail.Add(File.Load(Application.Path & "/" & "filename.pdf"),
"application/pdf")
On Fri, Jan 15, 2016 at 5:33 PM, PICCORO McKAY Lenz <mckaygerhard at ...626...>
wrote:
> 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
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> 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